github cloudposse/atmos 1.0.0

latest releases: v1.106.0, v1, v1.105.0...
3 years ago

what

  • Rewrite atmos in Go
  • Add more generic CLI config in YAML
  • Allow running CLI commands from any folder
  • Allow using stack folders (add examples of this)
  • Allow using component folders (add examples of this)
  • Improve examples
  • Build atmos binary for all operating systems and architectures

why

  • Go is a general purpose language and it's better suited for long-time maintenance of the CLI
  • Component and stack folders will allow to better organize the project and config structures
  • Add examples that can be run and tested without any additional steps

GoReleaser

image

commands to test the example

go run atmos version
go run atmos terraform plan test/test-component-override -s tenant1/ue2/dev
go run atmos terraform plan test/test-component-override -s=tenant1-ue2-dev
go run atmos terraform plan test/test-component-override -s tenant1/ue2/dev --stacks-dir=./examples/complete/stacks
go run atmos terraform validate test/test-component-override -s tenant1/ue2/dev
go run atmos terraform output test/test-component-override -s tenant1/ue2/dev
go run atmos terraform graph test/test-component-override -s tenant1/ue2/dev
go run atmos terraform show test/test-component-override -s tenant1/ue2/dev
go run atmos helmfile diff infra/infra-server -s tenant1/ue2/dev
go run atmos --config-dir ./examples/complete/stacks --terraform-dir ./examples/complete/components/terraform terraform workspace test/test-component-override --stack=tenant1/ue2/dev
go run atmos --config-dir=./examples/complete/stacks --terraform-dir=./examples/complete/components/terraform terraform workspace test/test-component-override --stack tenant1/ue2/dev
go run atmos terraform workspace test/test-component-override --stack=tenant1/ue2/dev --config-dir ./examples/complete/stacks --terraform-dir ./examples/complete/components/terraform
go run atmos terraform varfile test/test-component-override -s tenant1/ue2/dev
go run atmos terraform varfile test/test-component-override -s tenant1/ue2/dev -f ./varfile.json
go run atmos --config-dir ./examples/complete/stacks --terraform-dir ./examples/complete/components/terraform terraform write varfile test/test-component-override --stack=tenant1/ue2/dev
go run atmos terraform write varfile test/test-component-override --stack=tenant1/ue2/dev --config-dir ./examples/complete/stacks --terraform-dir ./examples/complete/components/terraform 
go run atmos --config-dir ./examples/complete/stacks terraform write varfile test/test-component-override --stack=tenant1/ue2/dev --terraform-dir ./examples/complete/components/terraform 
go run atmos describe component test/test-component-override -s tenant1/ue2/dev
go run atmos describe component test/test-component-override -s tenant1-ue2-dev
go run atmos describe component infra/infra-server -s tenant1/ue2/dev
go run atmos describe component infra/infra-server -s tenant1-ue2-dev

Don't miss a new atmos release

NewReleases is sending notifications on new releases.