Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 1.7 KB

using-non-released-versions.md

File metadata and controls

19 lines (11 loc) · 1.7 KB

Running a non-released version of the Cloudflare Terraform provider

From time to time, you may need to run a non-released version of the provider against your infrastructure. You have may have custom patches, trialing a beta version or just want that bugfix or feature the moment it lands. Below are a few ways to achieve that in various CI/CD providers.

Using the custom provider in Terraform Cloud

Hashicorp maintain a help centre article and an in-depth walk through on this process.

Using the custom provider in env0

Refer to this example env.yml. The basic procedure is to build the custom provider, host it somewhere accessible to env0 and install it into the environment as a part of your deploy and destroy steps.

Everything else

Make sure your git repository is at the point in time you want to generate the provider and run make build. It will generate the binary which you can then use with implied local mirror directories or explicit installation method configuration in your CI/CD environment.

If you'd like to use local overrides, see "using the provider" section from the development environment setup guide.