-
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
Custom Hostnames Resource #580
Custom Hostnames Resource #580
Conversation
return resourceCloudflareCustomHostnamesRead(d, meta) | ||
} | ||
|
||
func resourceCloudflareCustomHostnamesRead(d *schema.ResourceData, meta interface{}) error { |
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.
Why aren't the ssl
option changes reflected in the Read
? If the remote changes them for any reason, it's not reflected here.
resource.TestCheckResourceAttr( | ||
resourceName, "hostname", "[email protected]"), | ||
resource.TestCheckResourceAttr( | ||
resourceName, "ssl.custom_hostname_settings.tls13", "on"), |
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.
Have you run these integration tests? A TypeList
is sequentially indice based which means these nested values should have an index in front of them.
Developing of this PR on hold at the moment due changes on the custom hostname planned for the end of February, to restart next month with the changes needed and adapted to the new model |
@pcaminog did those changes end up happening? Is there anything stopping this from going in now? |
Has this been progressed at all? |
@pcaminog @jacobbednarz Has there been any progress on this by chance? |
#746 landed so we can close this one and revisit if there are improvements to be made in a separate PR. Thanks! |
New Resource created for support Custom Hostnames in Terraform
This is pending of this PR cloudflare/cloudflare-go#407 to make the update function works.