There was an error after running terraform plan. I tried to redo the assignment many times, and this part always giving me error.
│ Error: Error acquiring the state lock
│
│ Error message: resource temporarily unavailable
│ Lock Info:
│ ID:
│ Path: /home/coder/.local/share/code-server/User/de-c1w4-XXXXXXXXXXX-us-east-1-terraform-state.state
│ Operation: OperationTypePlan
│ Who:
│ Version: 1.9.8
│ Created: 2025-06-11 16:40:15.019620742 +0000 UTC
│ Info:
│
│
│ Terraform acquires a state lock to protect the state from being written
│ by multiple users at the same time. Please resolve the issue above and try
│ again. For most commands, you can disable locking with the “-lock=false”
│ flag, but this is not recommended.
I clicked the link, and I could not create a new topic in Q&A. The button was disabled with a message “You are not allowed to create topic in this category.”
For issues with courses or questions about content, please add your post to the Q&A category. You find the course, then add the post to the course. Here are some guidelines on how to do it: