Terraform v0.15.4
on darwin_amd64
- provider registry.terraform.io/hashicorp/aws v3.47.0
- provider registry.terraform.io/hashicorp/template v2.2.0
I am trying to transfer the state from one git repo to another one. So in the old one I did
terraform st rm ADDRESS
which was successful
When trying to refresh the state in the target repository I have the following issue:
terraform plan -refresh-only
╷
│ Error: Invalid refresh-only plan
│
│ Terraform generated planned resource changes in a refresh-only plan. This is a bug in Terraform.
here is a link with logs