Skip to content

Commit

Permalink
example: Update to include required_providers
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething committed Nov 4, 2021
1 parent 6898077 commit 3ff0c58
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion example/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.0"
}

cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 3.0"
}
}
}

provider "cloudflare" {
version = "~> 2.0"
email = var.cloudflare_email
api_key = var.cloudflare_token
}
Expand Down

0 comments on commit 3ff0c58

Please sign in to comment.