Skip to content

Commit

Permalink
Update atmos terraform commands that require processing of Go tem…
Browse files Browse the repository at this point in the history
…plates and Atmos YAML functions (#1062)

* updates

* updates
  • Loading branch information
aknysh authored Feb 13, 2025
1 parent 161c074 commit 5a55781
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/quick-start-advanced/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG GEODESIC_OS=debian
# https://atmos.tools/
# https://github.com/cloudposse/atmos
# https://github.com/cloudposse/atmos/releases
ARG ATMOS_VERSION=1.162.0
ARG ATMOS_VERSION=1.162.1

# Terraform: https://github.com/hashicorp/terraform/releases
ARG TF_VERSION=1.5.7
Expand Down
16 changes: 16 additions & 0 deletions internal/exec/terraform_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,22 @@ func needProcessTemplatesAndYamlFunctions(command string) bool {
"destroy",
"generate",
"output",
"shell",
"write",
"force-unlock",
"import",
"refresh",
"show",
"taint",
"untaint",
"validate",
"state list",
"state mv",
"state pull",
"state push",
"state replace-provider",
"state rm",
"state show",
}
return u.SliceContainsString(commandsThatNeedFuncProcessing, command)
}
2 changes: 1 addition & 1 deletion website/docs/integrations/atlantis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ on:
branches: [ main ]
env:
ATMOS_VERSION: 1.162.0
ATMOS_VERSION: 1.162.1
ATMOS_CLI_CONFIG_PATH: ./
jobs:
Expand Down

0 comments on commit 5a55781

Please sign in to comment.