Answer:
A. Save a generated execution plan to apply later
You can use terraform plan -out=planfile to save the execution plan.
Later, you can run terraform apply planfile to apply that exact plan.
C. View the execution plan and check if the changes match your expectations
The primary purpose of terraform plan is to preview changes Terraform will make.
This helps you review and validate before applying.
Wrong answer:
B. Execute a plan in a different workspace
terraform plan runs in the currently selected workspace.
You'd need to switch workspaces manually using terraform workspace select.
D. Schedule Terraform to run at a planned time in the future
Terraform doesn’t support scheduling out of the box.
Scheduling would need to be handled by external tools like cron, CI/CD pipelines, or task schedulers.
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.
depal_dhir
Highly Voted 1 year, 1 month agochessmaster5000
Most Recent 1 month agocamps
6 months, 3 weeks agoG4Exams
11 months, 4 weeks ago