Skip to content

Not able to refresh state for existing aw resource #29070

@novtor

Description

@novtor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugnewnew issue not yet triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions