Skip to content

Commit

Permalink
Update terragrunt workflow documentation
Browse files Browse the repository at this point in the history
With runatlantis#2261, we now open a stdin pipe like the built-in terraform client
does. Doing so apparently caused some user's `plan`s to hang when they
had variables requiring inputs, since `terraform` saw that stdin was
open and prompted for a value.
  • Loading branch information
ascandella committed Jun 29, 2022
1 parent 569031a commit 8875ac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runatlantis.io/docs/custom-workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ workflows:
- env:
name: TERRAGRUNT_TFPATH
command: 'echo "terraform${ATLANTIS_TERRAFORM_VERSION}"'
- run: terragrunt plan -out=$PLANFILE
- run: terragrunt plan -input=false -out=$PLANFILE
- run: terragrunt show -json $PLANFILE > $SHOWFILE
apply:
steps:
- env:
name: TERRAGRUNT_TFPATH
command: 'echo "terraform${ATLANTIS_TERRAFORM_VERSION}"'
- run: terragrunt apply $PLANFILE
- run: terragrunt apply -input=false $PLANFILE
```

If using the repo's `atlantis.yaml` file you would use the following config:
Expand Down

0 comments on commit 8875ac1

Please sign in to comment.