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

Missing support for Automatic Signed Exchanges (SXGs)

Open azuretek opened this issue 1 year ago • 2 comments

Current Terraform and Cloudflare provider version

Terraform v1.2.4 on darwin_arm64

  • provider registry.terraform.io/cloudflare/cloudflare v4.3.0

Description

Support for the Automatic Signed Exchanges setting, we should be able to enable or disable this setting using the cloudflare_zone_settings_override resource.

Use cases

  • Enable SXG
  • Disable SXG

Potential Terraform configuration

resource "cloudflare_zone_settings_override" "setting" {
  zone_id = data.cloudflare_zone.zone.id

  settings {
    sxg = "on"
  }
}

References

I was unable to find another issue or PR mentioning this setting.

azuretek avatar Apr 18 '23 22:04 azuretek

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

github-actions[bot] avatar Apr 18 '23 22:04 github-actions[bot]

It looks like the endpoint for this setting is as follows but I'm not finding it in the API docs

/api/v4/zones/<zone id>/amp/sxg

azuretek avatar Apr 20 '23 17:04 azuretek

This issue has been closed as we are now tracking this internally with service teams directly. If you would like an update or to be notified when/if the product ships with this change, please reach out to Cloudflare Support or your account team who can watch the internal feature request for you.

jacobbednarz avatar Mar 25 '24 00:03 jacobbednarz