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

cloudflare_pages_project: Add support for setting Build system version

Open jamielinux opened this issue 2 years ago • 4 comments
trafficstars

Current Terraform and Cloudflare provider version

$ terraform -v
Terraform v1.4.6
on linux_amd64
+ provider registry.terraform.io/cloudflare/cloudflare v4.6.0

Description

There are currently two possible options for Build system version:

  • Version 1
  • Version 2 (Beta)

It's not currently possible to specify which to use in the cloudflare_pages_project resource.

Use cases

Be able to specify Build system version from Terraform code, rather than having to manually change it in the Cloudflare Dashboard.

Potential Terraform configuration

  build_config {
    build_command        = "mkdocs build"
    destination_dir      = "site"
    root_dir             = ""
    build_system_version = 2
  }

References

No response

jamielinux avatar May 17 '23 09:05 jamielinux

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 May 17 '23 09:05 github-actions[bot]

Will get the API docs up for this next week and will handle adding to cloudflare-go. Myself or Jake will add to the Terraform provider :)

WalshyDev avatar May 27 '23 00:05 WalshyDev

@WalshyDev Could you share any news? Was this idea scrapped? Can't find build_image_major_version in the docs anywhere

karolba avatar Aug 16 '23 19:08 karolba

any update regarding this

kdpuvvadi avatar Dec 09 '23 09:12 kdpuvvadi

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