-2

I imported aws resources with terraformer into the A folder. And after performing terraform init normally in the A folder, the following error occurred when terraform plan was executed.

error message

After moving the state of a specific resource to the tfstate file in another folder with the terraform state mv command, terraform init and terraform plan worked normally.

I would be grateful if you could let me know the cause of this behavior.

0 Answers0