Skip to content

Commit

Permalink
fix: replace $(pwd) with $PWD (#2142)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Dec 22, 2024
1 parent 61f3dbe commit ac76ed5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup/test/terragrunt/foo/module/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resource "null_resource" "foo" {}
3 changes: 3 additions & 0 deletions setup/test/terragrunt/foo/terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
terraform {
source = "module"
}
2 changes: 1 addition & 1 deletion terraform-plan/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ "${DESTROY:-}" = true ]; then
fi
set +e
tfcmt -var "target:$TFACTION_TARGET" -var "destroy:${DESTROY:-}" plan -- \
"$TF_COMMAND" plan -no-color -detailed-exitcode -out "$(pwd)/tfplan.binary" -input=false $opts
"$TF_COMMAND" plan -no-color -detailed-exitcode -out "${PWD}/tfplan.binary" -input=false $opts
code=$?
set -e

Expand Down

0 comments on commit ac76ed5

Please sign in to comment.