You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When some resources are read by Terraform, in case of error the id is set to "" (empty string) which is okay in case of Resource not found - it means that Terraform should remove it from its state.
But in case of another kind of error, e.g. Invalid credentials or Host not found, it should not be the case.
This issue was revealed while debugging #63
When some resources are read by Terraform, in case of error the
id
is set to""
(empty string) which is okay in case ofResource not found
- it means that Terraform should remove it from its state.But in case of another kind of error, e.g.
Invalid credentials
orHost not found
, it should not be the case.The DnsRecord handles it properly:
but, for example, Script and Pool don't:
So, in case of wrong credentials, Terraform is trying to delete resources.
It, probably, will be mitigated with #64 , but it is far from even
Ready for review
state.The text was updated successfully, but these errors were encountered: