Update providers for Terraform 13

This commit is contained in:
Ahosking 2021-01-11 22:46:38 -05:00
parent 6a37dcda89
commit 8be5f982c8
2 changed files with 4 additions and 6 deletions

View File

@ -1,14 +1,10 @@
provider "cloudflare" { provider "cloudflare" {
version = "~> 2.0"
email = var.CLOUDFLARE_EMAIL email = var.CLOUDFLARE_EMAIL
api_key = var.CLOUDFLARE_API_KEY api_key = var.CLOUDFLARE_API_KEY
account_id = var.CLOUDFLARE_ACCOUNT_ID account_id = var.CLOUDFLARE_ACCOUNT_ID
} }
provider "aws" { provider "aws" {
version = "~> 2.0"
region = "us-east-1" region = "us-east-1"
access_key = var.aws_access_key access_key = var.aws_access_key

View File

@ -2,9 +2,11 @@ terraform {
required_providers { required_providers {
aws = { aws = {
source = "hashicorp/aws" source = "hashicorp/aws"
version = "~> 2.0"
} }
cloudflare = { cloudflare = {
source = "terraform-providers/cloudflare" source = "cloudflare/cloudflare"
version = "2.17.0"
} }
} }
required_version = ">= 0.13" required_version = ">= 0.13"