Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The terraform docs and examples are based on an old version of the cloudflare provider #4

Closed
cpick opened this issue Oct 1, 2020 · 3 comments
Labels
product:terraform Related to Terraform product

Comments

@cpick
Copy link

cpick commented Oct 1, 2020

The tutorial shows examples from and is based on an old version of the cloudflare terraform provider.

For example, the Hello World example uses the token parameter while that's been renamed to api_key.

A much more minor nitpick: there are several typos throughout the guide (eg: "As you configuration" on the Hello World guide).

Thanks for creating the Terraform provider and the cf-terraforming importer, they're very useful! It was just a bit harder to get started than it should have been since the docs were out of date.

@rita3ko rita3ko added the product:workers Related to Workers product label Oct 1, 2020
@adamschwartz adamschwartz added product:terraform Related to Terraform product and removed product:workers Related to Workers product labels Oct 1, 2020
@vivaladan
Copy link

Terraform 0.13 requires a different style configuration block. It now needs to read

terraform {
  required_providers {
    cloudflare = {
      source = "terraform-providers/cloudflare"
    }
  }
}

Otherwise it will error with

Error: Failed to install providers

Could not find required providers, but found possible alternatives:

hashicorp/cloudflare -> cloudflare/cloudflare

@jacobbednarz
Copy link
Member

These issues should be addressed by #397. Please drop a note in that issue if you see something that isn't covered here.

@KimJ15
Copy link
Collaborator

KimJ15 commented Apr 8, 2021

Closing this as resolved based on #397.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:terraform Related to Terraform product
Projects
None yet
Development

No branches or pull requests

6 participants