Skip to content

Terraform error #7441

@DragonVelvety

Description

@DragonVelvety

When trying to run the terraform plan command i got tis error.

Error: Error acquiring the state lock

│ Error message: resource temporarily unavailable
│ Lock Info:
│ ID: 5b4b4aea-e8ab-a588-0475-fc96549d7f53
│ Path: /home/coder/.local/share/code-server/User/de-c3w2a1-775844694013-us-east-1-terraform-state.state
│ Operation: OperationTypePlan
│ Who: 65da5a44e082
│ Version: 1.10.3
│ Created: 2025-07-26 08:27:44.563974386 +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.

So I renamed the state.state file to remove the lock 65da5a44e082:~/.local/share/code-server/User$ mv /home/coder/.local/share/code-server/User/de-c3w2a1-775844694013-us-east-1-terraform-state.state /home/coder/.local/share/code-server/User/de-c3w2a1-775844694013-us-east-1-terraform-state.state.bak

But now i get the error:
Error: Reference to undeclared module

│ on outputs.tf line 16, in output "glue_ratings_to_iceberg_job":
│ 16: value = module.transform_etl.glue_ratings_to_iceberg_job

│ No module call named "transform_etl" is declared in the root module.


│ Error: Reference to undeclared module

│ on outputs.tf line 20, in output "glue_csv_transform_job":
│ 20: value = module.transform_etl.glue_csv_transform_job

│ No module call named "transform_etl" is declared in the root module.


│ Error: Reference to undeclared module

│ on outputs.tf line 24, in output "glue_ratings_transform_job":
│ 24: value = module.transform_etl.glue_ratings_transform_job

│ No module call named "transform_etl" is declared in the root module.

please help me to remove the lock so I can go on with the lab.

Version: 1.73.1
Commit: 6261075646f055b99068d3688932416f2346dd3b
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Embedder: server-distro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy