github cloudposse/atmos v1.3.16

latest releases: v1.106.1, v1, v1.106.0...
2 years ago

🚀 Enhancements

Add `base_path` setting to `atmos` config @aknysh (#100)

what

  • Add base_path setting to atmos config
  • Add atmos logos
  • Update README

why

  • Provide/configure a base path for all components and stacks
  • Allow controlling stacks and components paths using only one setting or ENV var
  • Can also be set using ATMOS_BASE_PATH ENV var, or --base-path command-line argument
  • Supports both absolute and relative paths
  • If not provided or is an empty string, components.terraform.base_path, components.helmfile.base_path and stacks.base_pathare independent settings (supporting both absolute and relative paths)
  • If base_path is provided (via ENV var or command-line arg), components.terraform.base_path, components.helmfile.base_path and stacks.base_path are considered paths relative to base_path

test

ATMOS_BASE_PATH=./examples/complete atmos terraform apply test/test-component -s=tenant1-ue2-dev
Found ENV var ATMOS_BASE_PATH=./examples/complete

Variables for the component 'test/test-component' in the stack 'tenant1/ue2/dev':

enabled: true
environment: ue2
namespace: eg
region: us-east-2
service_1_name: service-1
service_2_name: service-2
stage: dev
tenant: tenant1

Writing variables to file:
examples/complete/components/terraform/test/test-component/tenant1-ue2-dev-test-component.terraform.tfvars.json

Don't miss a new atmos release

NewReleases is sending notifications on new releases.