Andres
11/08/2021, 8:49 AMAndres
11/08/2021, 8:51 AMfailed to get .variant files: stat: stat .variant2/cache/https_git@github_com_cloudposse_atmos.ref=master/atmos/modules/utils: no such file or directoryAndriy Knysh (Cloud Posse)
11/08/2021, 1:42 PMAndriy Knysh (Cloud Posse)
11/08/2021, 1:43 PMAndriy Knysh (Cloud Posse)
11/08/2021, 1:43 PM# CLI config
atmos version
atmos describe config
# Describe components and stacks
atmos describe component <component> -s <stack>
atmos describe component <component> --stack <stack>
# Generate
atmos terraform generate backend <component> -s <stack>
atmos terraform write varfile <component> -s <stack> # this command will be changed to `terraform generate varfile`
atmos terraform write varfile <component> -s <stack> -f ./varfile.json # supports output file
# Terraform
# (almost) all native Terraform commands supported
# <https://www.terraform.io/docs/cli/commands/index.html>
atmos terraform plan <component> -s <stack>
atmos terraform apply <component> -s <stack> -auto-approve
atmos terraform apply <component> -s <stack> --from-plan
atmos terraform deploy <component> -s <stack>
atmos terraform deploy <component> -s <stack> --from-plan
atmos terraform deploy <component> -s <stack> -deploy-run-init=true
atmos terraform workspace <component> -s <stack>
atmos terraform validate <component> -s <stack>
atmos terraform output <component> -s <stack>
atmos terraform graph <component> -s <stack>
atmos terraform show <component> -s <stack>
atmos terraform clean <component> -s <stack>
# Helmfile
# All native helmfile commands supported including [global options]
# <https://github.com/roboll/helmfile#cli-reference>
atmos helmfile diff <component> -s <stack>
atmos helmfile apply <component> -s <stack>
# Helmfile with [global options]
atmos helmfile diff <component> -s <stack> --global-options "--no-color --namespace=test"
atmos helmfile diff <component> -s <stack> --global-options="--no-color --namespace test"Patrice Lachance
05/09/2022, 6:06 AM