github cloudposse/atmos v1.12.2

latest releases: v1.88.1, v1, v1.88.0...
23 months ago

what

  • Add --format=backend-config to atmos terraform generate backends command

why

  • Terraform supports -backend-config argument, which required the backend config files to have just the backend attributes without terraform.backend header

references

test

atmos terraform generate backends --file-template backends/{tenant}-{environment}-{stage}-{component}.tfbackend --format backend-config --components infra/vpc

Writing backend config for the component 'infra/vpc' to file 'backends/tenant1-ue2-staging-infra-vpc.tfbackend'
Writing backend config for the component 'infra/vpc' to file 'backends/tenant1-ue2-test-1-infra-vpc.tfbackend'
Writing backend config for the component 'infra/vpc' to file 'backends/tenant1-ue2-dev-infra-vpc.tfbackend'
Writing backend config for the component 'infra/vpc' to file 'backends/tenant1-ue2-prod-infra-vpc.tfbackend'
Writing backend config for the component 'infra/vpc' to file 'backends/tenant2-ue2-staging-infra-vpc.tfbackend'
Writing backend config for the component 'infra/vpc' to file 'backends/tenant2-ue2-dev-infra-vpc.tfbackend'
Writing backend config for the component 'infra/vpc' to file 'backends/tenant2-ue2-prod-infra-vpc.tfbackend'

image


Don't miss a new atmos release

NewReleases is sending notifications on new releases.