-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 1840 Add custom_hostname wait_for_active_status #1953
Issue 1840 Add custom_hostname wait_for_active_status #1953
Conversation
changelog detected ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a good start, thank you. i've left some nitpick wording changes in the PR. once they are handled, you will need to run make docs
locally and commit the documentation updates too (the schema automatically generates these)
i've gone back and had a look at the initial issue however i don't think this actually addresses the problem raised. in the initial ticket, @nickysemenza are you able to confirm which config block should be checked for the manual validation records? perhaps the original issue is just using the wrong fields. |
interesting. it seemed from my testing that the |
the SSL sub-object will get its validation_records set once it transitions from So as for the issue described in #1840, waiting until see https://developers.cloudflare.com/ssl/reference/certificate-statuses/ and https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/hostname-verification/#verification-statuses for references on statuses |
f5a7089
to
9334c95
Compare
thanks for the info - i've adjusted the pr to reflect that input |
9334c95
to
f66ce0c
Compare
Co-authored-by: Jacob Bednarz <[email protected]>
Co-authored-by: Jacob Bednarz <[email protected]>
Co-authored-by: Jacob Bednarz <[email protected]>
Co-authored-by: Jacob Bednarz <[email protected]>
bfd14e1
to
b9a8e8d
Compare
acceptance tests are passing
|
thanks for this one @will-bluem-olo! we appreciate the effort you've put into this one -- your first contribution at that! 🎉 |
This functionality has been released in v3.26.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
As shown in #1840, it can be problematic to create required validation records in the same terraform apply run because the custom_hostname resource completes creation before the required validation records are present on the resource.
This pull adds a
wait_for_active_status
flag similar to the flag introduced in #1567.I was NOT able to run the acceptance tests because I do not have a suitable Cloudflare account to do so. However I did test this with my currently blocked configuration and it resolved the issues I was seeing.
Closes #1840