Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
v.0.11.2
Affected Resource(s)
Please list the resources as a list, for example:
dyn_record
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.
Expected Behavior
What should have happened?
Create the dyn record as normal
Actual Behavior
What actually happened?
Error applying plan:
1 error(s) occurred:
* dyn_record.doesitwork_cofcedutest_net: 1 error(s) occurred:
* dyn_record.doesitwork_cofcedutest_net: Failed to find Dyn record id!
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
This has been sporadically happening since we started using terraform but now it happens every time we try to create a dyn record. From looking at the related issues and code in the upstream dyn go library, a simple retry loop is all that is needed.
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
Please keep in mind that when publishing a zone, you will be returned with a JobID. It's best practice to query this JobID until you see that the publish job has fully completed before you attempt to query the API with any additional requests for the new records. It's possible that the 406 errors are happening as the publish job had not completed.
This is most certainly an issue with the zone publish as I can manually query the dyn api a few seconds after terraform fails to get the id of the new record and all is normal.
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed. v.0.11.2Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
What should have happened?
Create the dyn record as normal
Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
This has been sporadically happening since we started using terraform but now it happens every time we try to create a dyn record. From looking at the related issues and code in the upstream dyn go library, a simple retry loop is all that is needed.
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example: