Skip to content

Commit

Permalink
Appending -auto-approve to apply-all command to silence terraform pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hume committed Jan 25, 2018
1 parent e12679c commit b14f66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configstack/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (stack *Stack) summarizePlanAllErrors(terragruntOptions *options.Terragrunt
// Apply all the modules in the given stack, making sure to apply the dependencies of each module in the stack in the
// proper order.
func (stack *Stack) Apply(terragruntOptions *options.TerragruntOptions) error {
stack.setTerraformCommand([]string{"apply", "-input=false"})
stack.setTerraformCommand([]string{"apply", "-input=false", "-auto-approve"})
return RunModules(stack.Modules)
}

Expand Down

0 comments on commit b14f66d

Please sign in to comment.