what
- Support dashes
-
in the tenant, environment and stage names - In the examples, add a new stage
test-1
and add tests for components, stacks, and spacelift to test having a dash in the stage name (the file name itself being without dashes)
why
- The old
atmos
supported it (because it was filename-based, not logical stack name based) - Some clients want to name tenants/environment/stages with dashes in the names (and some already have it, so we need to support that when converting from the old to the new
atmos
)
test
atmos terraform plan test/test-component-override-3 -s tenant1-ue2-test-1
Found config for the component 'test/test-component-override-3' for the stack 'tenant1-ue2-test-1'
in the file 'tenant1/ue2/test1'
Variables for the component 'test/test-component-override-3' in the stack 'tenant1-ue2-test-1':
enabled: true
environment: ue2
namespace: eg
region: us-east-2
service_1_list:
- 5
- 6
- 7