Complete the code to initialize Terraform state.
terraform [1]The terraform init command initializes the working directory and downloads necessary plugins. It also sets up the state file management.
Complete the sentence: Terraform state files store {{BLANK_1}} about your infrastructure.
Terraform state files store [1] about your infrastructure.Terraform state files contain metadata about your infrastructure resources, such as IDs and attributes, to track real-world resources.
Fix the error in this statement: Manually editing the Terraform state file can cause {{BLANK_1}} in resource tracking.
Manually editing the Terraform state file can cause [1] in resource tracking.
Manual edits can cause conflicts or inconsistencies, leading Terraform to lose track of resources or apply incorrect changes.
Fill both blanks to complete the best practice: Use {{BLANK_1}} commands to modify state and avoid {{BLANK_2}}.
Use [1] commands to modify state and avoid [2].
Using Terraform state commands helps safely modify state and prevents manual errors that can cause inconsistencies.
Fill all three blanks to complete the sentence: Manual state edits can cause {{BLANK_1}}, lead to {{BLANK_2}}, and make {{BLANK_3}} difficult.
Manual state edits can cause [1], lead to [2], and make [3] difficult.
Manual edits cause inconsistencies, lead to resource conflicts, and make troubleshooting harder.