Open ryansch opened 2 years ago
@ryansch yeah that is a terraform thing more than an us thing. Modifying state outside of terraform is always bound to cause conflicts. I'll see if I can't make it spit out a better error message for this.
Shouldn't the resource get recreated in that case though, instead of just throwing an error?
(Related: https://github.com/fly-apps/terraform-provider-fly/issues/164)
Repro:
resource "fly_cert"
.terraform plan
Error: Could not find AppCertificate app.certificate
I was able to work around this by using
terraform state rm
.