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" {
version = "~> 2.0"
email = var.CLOUDFLARE_EMAIL
api_key = var.CLOUDFLARE_API_KEY
account_id = var.CLOUDFLARE_ACCOUNT_ID
}
provider "aws" {
version = "~> 2.0"
region = "us-east-1"
access_key = var.aws_access_key
@ -19,4 +15,4 @@ provider "aws" {
skip_region_validation = true
skip_requesting_account_id = true
skip_metadata_api_check = true
}
}

View File

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