Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update atmos terraform commands that require processing of Go templates and Atmos YAML functions #1062

Merged
merged 2 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading