Skip to content

v0.16.0

Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 18 Feb 03:32
· 292 commits to main since this release
b3f8edc
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