github cloudposse/atmos v1.10.2

latest releases: v1.100.0, v1, v1.99.0...
2 years ago

what

  • Update atmos describe stacks command

why

  • Output atmos stack names (logical stacks derived from the context variables) instead of stack file names
  • In the -s (--stack) filter, support both 1) atmos stack names (logical stacks derived from the context variables); 2) stack file names

test

atmos describe stacks  --sections none --components vpc
tenant1-ue2-dev:
  components:
    terraform:
      vpc: {}
tenant1-ue2-prod:
  components:
    terraform:
      vpc: {}
tenant1-ue2-staging:
  components:
    terraform:
      vpc: {}
tenant1-ue2-test-1:
  components:
    terraform:
      vpc: {}
tenant2-ue2-dev:
  components:
    terraform:
      vpc: {}
tenant2-ue2-prod:
  components:
    terraform:
      vpc: {}
tenant2-ue2-staging:
  components:
    terraform:
      vpc: {}
atmos describe stacks  --sections vars --components vpc -s tenant1-ue2-dev
tenant1-ue2-dev:
  components:
    terraform:
      vpc:
        vars:
          availability_zones:
          - us-east-2a
          - us-east-2b
          - us-east-2c
          environment: ue2
          namespace: cp
          region: us-east-2
          stage: dev
          tenant: tenant1
atmos describe stacks  --sections vars --components vpc -s orgs/cp/tenant1/dev/us-east-2
tenant1-ue2-dev:
  components:
    terraform:
      vpc:
        vars:
          availability_zones:
          - us-east-2a
          - us-east-2b
          - us-east-2c
          environment: ue2
          namespace: cp
          region: us-east-2
          stage: dev
          tenant: tenant1

Don't miss a new atmos release

NewReleases is sending notifications on new releases.