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
I would like to add that previous issue lead to an invalid terraform state file.
Probably in state, it now know record belong to domain B where it actually reside in domain A, therefor i cannot do anything with it now.
Terraform apply is failing with: Error: invalid character '<' looking for beginning of value
resorting to state file surgery now.
Update:
due to invalid domain id assigned to the record, it look like terraform could not fetch dme_dns_record resource details to put into state file. so all values of dme_dns_record in state file were null except domain_id.
To recover from this corrupted state file, I had to revert back to previous state file (where domain_id, id, name, value, ... were still visible in state file). Luckily I was using terraform cloud so it archive a copy of state file for each run.
Terraform Version
terraform v0.14.2
Affected Resource(s)
dme_dns_record
Terraform Configuration Files
Debug Output
from terraform plan:
Expected Behavior
What should have happened?
It should delete record from previous domain and create it in new domain
Actual Behavior
What actually happened?
It update value, but kept record in old domain.
Steps to Reproduce
My Temporarily work-around
Comment dme_dns_record blocks so that it delete them in DNS Made Easy panel.
Uncomment so that it recreate them again in correct domain ID.
The text was updated successfully, but these errors were encountered: