github cloudposse/atmos 0.16.0
v0.16.0

latest releases: v1.72.0, v1.71.0, v1.70.0...
3 years ago
Fix `terraform backend generate component` command. Add `version` command @aknysh (#23)

what

  • Fix terraform backend generate component command while keeping JSON pretty printing
  • Add version command

why

  • jq in terraform backend generate component command was just outputting to stdout, not to the backend file
  • Simplify terraform backend generate component command
  • atmos version command is useful to show the CLI version

references

test

 > atmos terraform backend generate component vpc -s uw2-demo
{
  "terraform": {
    "backend": {
      "s3": {
        "acl": "bucket-owner-full-control",
        "bucket": "xxxxx-uw2-root-tfstate",
        "dynamodb_table": "xxxxxx-uw2-root-tfstate-lock",
        "encrypt": true,
        "key": "terraform.tfstate",
        "region": "us-west-2",
        "role_arn": "arn:aws:iam::xxxxxxx:role/xxxxxx-gbl-root-terraform",
        "workspace_key_prefix": "vpc"
      }
    }
  }
}
> atmos version
0.16.0

Don't miss a new atmos release

NewReleases is sending notifications on new releases.