ExamGecko
Question list
Search
Search

Question 158 - Terraform Associate 003 discussion

Report
Export

terraform plan updates your state file.

A.
True
Answers
A.
True
B.
False
Answers
B.
False
Suggested answer: B

Explanation:

The terraform plan command does not update the state file. Instead, it reads the current state and the configuration files to determine what changes would be made to bring the real-world infrastructure into the desired state defined in the configuration. The plan operation is a read-only operation and does not modify the state or the infrastructure. It is the terraform apply command that actually applies changes and updates the state file. Reference = Terraform's official guidelines and documentation clarify the purpose of the terraform plan command, highlighting its role in preparing and showing an execution plan without making any changes to the actual state or infrastructure .

asked 18/09/2024
Miquel Triebel
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first