what
- Update
atmos atlantis generate repo-config
command - Support native HCL output format in
atmos terraform generate varfiles
command
why
- Do not iterate over
Go
maps inatmos atlantis generate repo-config
command.Go
iterates over maps in a non-deterministic order resulting in constant drift in the finalatlantis.yaml
file. Instead, get the map keys, sort them, and iterate over the sorted keys - Support native HCL output format in
atmos terraform generate varfiles
command - when ejecting fromatmos
, the varfiles should be in the more native terraform format of HCL rather than JSON (although JSON is definitely a supported format and useful in some situations). The--format
command-line argument now support--format=hcl
test
atmos terraform generate varfiles --format=hcl --file-template=./varfiles/{tenant}-{environment}-{stage}-{component}.tfvars