Hi teams!
I’ve been simple testing that import vpc information with Terraformers.
but the (Missing required provider) error occurded.
so I used command terraform state replace-provider -- -/aws hashicorp/aws
and It was fixed.
but another error occueded below.
The terraform is only being used in vscode, and the dependency problem is occurring even though all other terminals are turned off
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Failed to read state file
│
│ The state file could not be read: read terraform.tfstate: The process cannot access the file because another process has locked a portion of the file.
how to fix this error?
Thank you!