
Again they'd need to avoid causing massive environmental damage in the process.Īnd as a loosely related third, why don't they just bring enough troops to make it a moot point to start with? It's possible they don't have enough troops for that, or that whatever method of FTL travel they use is too energy costly to make it practical, forcing them to rely on machinery built post-arrival. That does require some fairly advanced tech, even in terms of being capable of interstellar travel, and/or a very long investment time-frame, which may be to long. The second is closely related to the first, and that is that they need the expanded biological resources of the planet, again because their terraforming tech isn't adequate to turn a lifeless world into a life-bearing world. As such they'd need to avoid massive environmental damage or they'd render the planet useless. The first is that they need a habitable planet to expand their population to and for whatever reason have little more in the way of terraforming tech than we have. You simply call cf-terraforming with your credentials, zone, and the spectrum_application command, like so: go run cmd/cf-terraforming/main.There are two other possibilities you skipped over (although one was mentioned earlier). Let’s say you’re migrating your Cloudflare configuration to Terraform and you want to describe your Spectrum applications. You can store your key and account ID in environment variables to make it easier to work with the tool: export CLOUDFLARE_TOKEN=””Ĭf-terraforming can create configuration files for any of the resources currently available in the official Cloudflare Terraform provider, but sometimes it’s also handy to export individual resources as needed. It also has a quick link to get your API key as well. You can find your account id at the bottom right of the overview page for any zone in your account. To use cf-terraforming, first get your API key and Account ID from the Cloudflare dashboard. The output is a valid Terraform configuration file describing your resources.
Ftl terraforming install#
Let’s first install cf-terraforming, while also pulling down all dependencies and updating them as necessary: $ go get -u /cloudflare/cf-terraforming/.Ĭf-terraforming is a command line tool that you invoke with your Cloudflare credentials, some zone information and the resource type that you want to export. You need a working Golang installation and a Cloudflare account with some resources defined. Getting up and running quicklyĬf-terraforming is open-source and available on Github now. It’s called cf-terraforming and it downloads your Cloudflare setup, meaning everything you’ve defined via the Cloudflare dashboard and API, into Terraform-compliant configuration files in a few commands. Today, we’re excited to share a new open-source utility to make the migration of even complex Cloudflare configurations into Terraform simple and fast.

Terraform is a tremendous time-saver once you have your configuration files in place, but what do you do if you’re already a Cloudflare user and you need to convert your particular setup, records, resources and rules into Terraform config files in the first place?
Ftl terraforming software#
Unlike other solutions, Terraform does not require you to run software on your hosts, and instead of spending time manually configuring machines, creating DNS records, and specifying Page Rules, you can simply run: $ terraform applyĪnd the state described in your configuration files will be built for you. Once you’ve done this, you can run the Terraform command-line tool and it will figure out the difference between your desired state and your current state, and make the API calls in the background necessary to reconcile the two. Terraform is an open-source tool that allows you to describe your infrastructure and cloud services (think virtual machines, servers, databases, network configurations, Cloudflare API resources, and more) as human-readable configurations.

We are Terraform users ourselves, and we believe in the stability and reproducibility that can be achieved by defining your infrastructure as code. If you're unfamiliar with how Terraform works with Cloudflare, check out our developer docs. Ever since we implemented support for configuring Cloudflare via Terraform, we’ve been steadily expanding the set of features and services you can manage via this popular open-source tool.
