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

Add fields to support configuring new Media CDN features via Terraform. #9201

Conversation

modular-magician
Copy link
Collaborator

Add fields to support new Media CDN features via Terraform.

Feature: Dynamic Compression.
Documentation: http://cloud/media-cdn/docs/dynamic-compression

  • Added compression_mode Enum [DISABLED, AUTOMATIC]

Setting the mode to automatic enables dynamic compression for every eligible response. Further, it instructs Media CDN to automatically choose the best compression algorithm.

Feature: HTTP Method Filtering.
Documentation: https://cloud.google.com/media-cdn/docs/routing#method-filtering

  • Added allowed_methods Array[String]

By default, Media CDN proxies only GET, HEAD, and OPTIONS methods to your origin and filters out the methods that can modify your origin. You can override this default behavior for a specific route rule by specifying the methods that you would like proxied to your origin. Besides GET, HEAD, and OPTIONS, Media CDN supports PUT, POST, DELETE, and PATCH.

Fixes hashicorp/terraform-provider-google#21064

networkservices: added `compression_mode` and `allowed_methods` fields to `edge_cache_service` resource

Derived from GoogleCloudPlatform/magic-modules#12902

…m. (#12902)

[upstream:e108fe965dd81ce114643aa917834594eb5c2828]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner January 31, 2025 21:00
@modular-magician modular-magician merged commit b3ab3db into hashicorp:main Jan 31, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add fields to configure new Media CDN features in networkservices/EdgeCacheService
1 participant