"Parma": Debugging Terraform Issues
Scenario: "Parma": Debugging Terraform Issues
Level: Medium
Type: Fix
Tags: terraform
Access: Email
Description: This host publishes a machine-readable status marker using Terraform with a local backend. The project lives in /home/admin/infra/ and should write /var/local/platform-status.txt.
After a refactor, terraform plan and terraform apply no longer succeed, and the status file is missing or stale.
Fix the Terraform project and apply it so the marker is published again.
(Note: Internet access is not needed).
Root (sudo) Access: True
Test: The first line of /var/local/platform-status.txt is SadServers - Parma OK.
Running terraform plan in /home/admin/infra/ reports no changes pending (clean state).
The "Check My Solution" button runs the script /home/admin/agent/check.sh, which you can see and execute.
Time to Solve: 20 minutes.