Im stuck on problem 9.
I tainted the imported instance because it said jade-mw resource was tampered, not sure if it was the right thing to do.
Error message:
Error: Error locking state: Error acquiring the state lock: resource temporarily unavailable
Lock Info:
ID: 8e4990e3-d2b3-fb41-cbc8-ea625ed6a1c0
Path: terraform.tfstate
Operation: OperationTypeRefresh
Who: root@iac-server
Version: 0.13.3
Created: 2021-06-26 00:16:37.593656014 +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.
log:
The configuration file not updated correctly. Refer terraform plan and identify the discrepancy
The ami-id of the ec2 instance called jade-mw has been tampered with! Fix it!
The instance type of the ec2 instance called jade-mw has been tampered with! Fix it!
The instance type of the ec2 instance called jade-mw has been tampered with! Fix it!
The tag called Name for the instance called jade-mw has been tampered with! Fix it!