Open baznikin opened 1 year ago
We have the same problem, any plans to fix this?
Have the same problem. Fixed by terraform state rm
, but it's really bad.
It is impossible to create an origin with nonexistent domain, but in such case provider should not add resource to state. Bug confirmed
When domain name can't be resolved (no DNS record for host or nonexistent domain), origin was not created wth error
and all subsequent operations with this object fails. Resource was created in TF state but in the cloud:
Only way to deal with it is to remove resource from state:
terraform state rm yandex_cdn_origin_group.assets_inn