FILL BLANK - Which flag would you add to terraform plan to save the execution plan to a file? Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.
Answer is correct: terraform plan -out=FILE
"You can use the optional -out=FILE option to save the generated plan to a file on disk, which you can later execute by passing the file to terraform apply as an extra argument. This two-step workflow is primarily intended for when running Terraform in automation.
If you run terraform plan without the -out=FILE option then it will create a speculative plan, which is a description of the effect of the plan but without any intent to actually apply it."
https://www.terraform.io/cli/commands/plan
Question asks for the flag and the flag is -out
=FILE is the parameter for the flag
No idea if they'll just parse this for -out or if =FILE will be useful
terraform plan -out
│ Error: Failed to parse command-line flags
│ flag needs an argument: -out
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Eltooth
Highly Voted 2 years, 4 months agosecdaddy
Highly Voted 1 year, 11 months agoCanarys_Automations
Most Recent 10 months, 2 weeks agomodarov
1 year, 3 months agoPower123
1 year, 7 months agothor7
1 year, 8 months agosamkobadev
1 year, 9 months agoDsmo
1 year, 11 months agokopper2019
2 years, 3 months agoHoneywealth
2 years, 4 months ago