terraform-provider-devcycle
terraform-provider-devcycle copied to clipboard
TerraForm: Doing the name/key change in the UI breaks Terraform state
Related: #173
Problem:
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Client Error
│
│ with [REDACTED].devcycle_environment.environment,
│ on [REDACTED] line REDACTED, in resource "devcycle_environment" "environment":
│ 14: resource "devcycle_environment" "environment" {
│
│ DevCycle Terraform Error: 404 Not Found.
Remediation: State surgery - manually editing the key in the file
Probable root cause: Provider using the key to query the resource instead of id
Thanks for writing in, and apologies for the delayed response. We have logged this issue and will notify you if we have any updates on the request.