Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Custom Hostnames Resource #580

wants to merge 1 commit into from

Conversation

pcaminog
Copy link

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.

@ghost ghost added the size/XL label Jan 15, 2020
return resourceCloudflareCustomHostnamesRead(d, meta)
}

func resourceCloudflareCustomHostnamesRead(d *schema.ResourceData, meta interface{}) error {
Copy link
Member

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"),
Copy link
Member

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.

@pcaminog
Copy link
Author

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

@jacobbednarz jacobbednarz added the workflow/pending-contributor-response Indicates an issue or PR requires a response from a contributor. label Mar 10, 2020
@cdloh
Copy link
Contributor

cdloh commented Mar 31, 2020

@pcaminog did those changes end up happening? Is there anything stopping this from going in now?

@oliverlucas85
Copy link

Has this been progressed at all?

@stefanstrydom
Copy link

stefanstrydom commented Jun 26, 2020

@pcaminog @jacobbednarz Has there been any progress on this by chance?

@jacobbednarz
Copy link
Member

@pcaminog I've taken a pass at adding support for the current state of affairs in #746. It seems to include a little more than this PR does so would it make sense to close this one off? We can always rejig if the offering changes but this adds a baseline support for anyone waiting on it.

@jacobbednarz
Copy link
Member

#746 landed so we can close this one and revisit if there are improvements to be made in a separate PR. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XL workflow/pending-contributor-response Indicates an issue or PR requires a response from a contributor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants