terraform-provider-tencentcloud icon indicating copy to clipboard operation
terraform-provider-tencentcloud copied to clipboard

tencentcloud_cdn_domain add support for (Cross-border) Origin Pull Optimization

Open jossy opened this issue 4 years ago • 3 comments

When using a backend outside of China it seems to be essential for performance to make use of the (Cross-border) Origin Pull Optimization (for mainland area distribution). If switched on, the configuration (according to the API Explorer) features these settings:

"OriginPullOptimization": {
  "Switch": "on",
  "OptimizationType": "CNToOV"
},

Apparently, the default value of this setting differs between accounts. To ensure the state of this setting, would it be possible to support it in the Terraform provider?

jossy avatar Nov 03 '20 20:11 jossy

Hi, @jossy this feature is a grayscale function of CDN product, we consider supporting it after CDN releases this feature in full. I will reply under this question as soon as there is an update of CDN product

gailwang avatar Nov 20 '20 12:11 gailwang

@gailwang Thanks for your response, I was not aware of the grayscale status. Do you (roughly) know when this functionality will be generally available?

jossy avatar Nov 20 '20 13:11 jossy

Hi @jossy The CDN product has no plan for full support in the short term.

gailwang avatar Dec 10 '20 07:12 gailwang

This is now supported via the origin_pull_optimization argument.

jossy avatar Mar 10 '23 09:03 jossy