Course 1 Week 4 Programming Assignment 6-2025

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.

Hello @Aloha1

Please add your questions on the Q&A category adding the correct Title and information for the post.

Let me know if you have any questions on how to add a post to the course Q&A.

Hi,

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.”

Thank you.

Hello @Aloha1 ,

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:

Click on one of the buttons to select your course.