-
Notifications
You must be signed in to change notification settings - Fork 632
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
Support Application Type HTTP/HTTPS for Spectrum App #332
Comments
Looking at the public documentation (and testing with our Enterprise account) I'm not seeing HTTP/HTTPS anywhere so it must be another level which we don't have access to. Are you able to open a support ticket with Cloudflare Support to get the public documentation updated to match? We generally don't add functionality unless it's explicitly called out publicly somewhere to avoid building on top of unstable APIs. |
@jacobbednarz thanks for getting back. For clarification, I am talking about the dropdown as shown in the screenshot I am going to get in touch with CF support and update the issue. |
That's great, thank you. Once we have that in place, I'm 👍 for adding to the provider to support this. |
I got the Info from Cloudflare, that HTTP/HTTPS Spectrum applications are not yet GA, so changes to the API will probably take some time. Let me know if we should keep the issue open or if I should open a new one as soon as the feature is available. Cheers, |
I’m happy to leave this open as to do item but just be aware we generally don’t add functionality until it’s publicly documented. This ensures we are only building against intended APIs and they are supported for public use and won’t change unknowingly beneath us. |
fixed in #481 |
This does not seem to be fixed using Version 2.0; I am getting an error on key
Presents the error:
Additionally, the Entirely possible I'm holding something wrong. The provider definition is as such:
|
Are you building the provider locally? The functionality referenced here hasn't been cut in a release yet. |
No, I am not. That would explain it, ha, thanks! Bit of a derpy reply on my part, apologies! |
2.0.1 was cut yesterday so updating your provider will work out of the box now. |
Hey there,
Using the Web UI we can create Spectrum Applications with Application Types HTTP or HTTPS. I don't manage to create a spectrum app with that setting using cloudflare_spectrum_application.
I can only create resources with protocol set to either udp or tcp. We need to programatically create spectrum apps using the HTTPS application type to go through the full CDN pipeline (including Page Rules, WAF, ...)
When creating a HTTPS Spectrum app using the Web UI, then using cf-terraforming to receive the resource configuration it shows:
Trying to create a resource with the same settings using Terraform results in
Error: module.spectrum-443.cloudflare_spectrum_application.spectrum-application: "origin_port": required field is not set
Setting origin_port to 443 results in a Spectrum Application with Application Type "TCP"
The text was updated successfully, but these errors were encountered: