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

CDN cache rule doesn't support follow_origin, url_parameter_type and url_parameter_value argument #3984

Open
kittipongo opened this issue Jan 9, 2024 · 1 comment

Comments

@kittipongo
Copy link

Current Terraform Version

$ terraform version
Terraform v1.1.9
on darwin_amd64
+ provider registry.terraform.io/huaweicloud/huaweicloud v1.60.1

Use-cases

CDN cache rule doesn't support follow_origin, url_parameter_type and url_parameter_value argument but the API document support

│ Error: Unsupported argument
│ 
│   on cdn.tf line 140, in resource "huaweicloud_cdn_domain" "domain_1":
│  140:       follow_origin = "on"
│ 
│ An argument named "follow_origin" is not expected here.

│ Error: Unsupported argument
│ 
│   on cdn.tf line 140, in resource "huaweicloud_cdn_domain" "domain_1":
│  141:       url_parameter_type = "reserve_params"
│ 
│ An argument named "url_parameter_type" is not expected here.
╵
╷
│ Error: Unsupported argument
│ 
│   on cdn.tf line 141, in resource "huaweicloud_cdn_domain" "domain_1":
│  142:       url_parameter_value = "page"
│ 
│ An argument named "url_parameter_value" is not expected here.

Attempted Solutions

Proposal

References

@ShiChangkuo
Copy link
Collaborator

@kittipongo please use parameters described in huaweicloud_cdn_domain instead of API docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants