-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Add Fastly SSL validation fields #12578
Add Fastly SSL validation fields #12578
Conversation
The ssl_hostname field has been deprecated by Fastly. Instead the new standard is to use the ssl_cert_hostname and ssl_sni_hostname fields: - ssl_cert_hostname: Used only for certificate verification. - ssl_sni_hostname: Used only for SNI in the handshake. Add these fields to the backend block to better support SSL services.
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.
@@ -188,7 +188,19 @@ func resourceServiceV1() *schema.Resource { | |||
Type: schema.TypeString, | |||
Optional: true, | |||
Default: "", | |||
Description: "SSL certificate hostname", | |||
Description: "SSL certificate hostname (deprecated by Fastly)", |
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.
If this is deprecated in fastly, then do you think we should also deprecate this in Terraform?
If so, helper schema has the following:
Deprecated: ""
Please be aware that this will have to be a backwards compatible change that we accept both values for a while and make the code work
@stack72 Yup, I think that makes sense. I'll get this change added! |
@stack72 Should be fixed now. Let me know if you'd like me to fixup this commit. |
LGTM! thanks for the addition of the deprecation
|
* Add Fastly SSL validation fields The ssl_hostname field has been deprecated by Fastly. Instead the new standard is to use the ssl_cert_hostname and ssl_sni_hostname fields: - ssl_cert_hostname: Used only for certificate verification. - ssl_sni_hostname: Used only for SNI in the handshake. Add these fields to the backend block to better support SSL services. * Add deprecation notice for ssl_hostname
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
The ssl_hostname field has been deprecated by Fastly. Instead the new
standard is to use the ssl_cert_hostname and ssl_sni_hostname fields:
Add these fields to the backend block to better support SSL services.
Addresses conversation found in #9629.