Description
Question
Dear Hachicorp support team,
Appreciate to assist me in this, as I am using terraform import to create state of resources that has been created manually, in this case we have a drift, https://cloud.google.com/docs/terraform/resource-management/import
Yet, when using "terraform apply" I am getting the "Error 409: The resource "projects/..." already exists"
what are the possible solutions in this case, do we need to recreate with new naming then destroying the new one.
Note, I have tried multiple workarounds as we don't need to risk deleting and creating new ressource
I have tried adding the below
lifecycle {
ignore_changes = all
}
Didn't work, then tried
https://developer.hashicorp.com/terraform/cli/state/taint
terraform apply -replace 'projects/gcp../zones/europe-west1-b/disks/gitlab-sv'
│ Expected an attribute access or an index operator.