Skip to content

Commit e6e35dd

Browse files
Merge pull request #15 from getindata/new_configuration
feat: Add --terragrunt-non-interactive to configuration
2 parents 0bc6922 + cc57489 commit e6e35dd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

workflow_templates.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ locals {
2020
terragrunt-basic = merge(local.null_workflow, {
2121
plan = {
2222
steps = [
23-
{ run = "terragrunt fmt -no-color -check=true -diff=true -write=false" },
24-
{ run = "terragrunt hclfmt --terragrunt-check" },
25-
{ run = "terragrunt plan -no-color -out $PLANFILE" }
23+
{ run = "terragrunt fmt --terragrunt-non-interactive -no-color -check=true -diff=true -write=false" },
24+
{ run = "terragrunt hclfmt --terragrunt-non-interactive --terragrunt-check" },
25+
{ run = "terragrunt plan --terragrunt-non-interactive -no-color -out $PLANFILE" }
2626
]
2727
}
2828
apply = {
2929
steps = [
30-
{ run = "terragrunt apply -no-color -input=false -compact-warnings -auto-approve $PLANFILE" }
30+
{ run = "terragrunt apply --terragrunt-non-interactive -no-color -input=false -compact-warnings -auto-approve $PLANFILE " }
3131
]
3232
}
3333
})
3434

3535
terragrunt-basic-check = merge(local.null_workflow, {
3636
plan = {
3737
steps = [
38-
{ run = "terragrunt fmt -no-color -check=true -diff=true -write=false" },
39-
{ run = "terragrunt hclfmt --terragrunt-check" },
38+
{ run = "terragrunt fmt --terragrunt-non-interactive -no-color -check=true -diff=true -write=false" },
39+
{ run = "terragrunt hclfmt --terragrunt-non-interactive --terragrunt-check" },
4040
# Create fake terraform-plan...
41-
{ run = "terragrunt show -json > $PLANFILE" }
41+
{ run = "terragrunt show --terragrunt-non-interactive -json > $PLANFILE" }
4242
]
4343
}
4444
apply = {

0 commit comments

Comments
 (0)