From 8be5f982c84f685cf7231e2b93d03ef7bfe1169a Mon Sep 17 00:00:00 2001 From: Ahosking Date: Mon, 11 Jan 2021 22:46:38 -0500 Subject: [PATCH] Update providers for Terraform 13 --- ahoskingit/terraform/prodviders.tf | 6 +----- ahoskingit/terraform/versions.tf | 4 +++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ahoskingit/terraform/prodviders.tf b/ahoskingit/terraform/prodviders.tf index fee4f94..6002e95 100644 --- a/ahoskingit/terraform/prodviders.tf +++ b/ahoskingit/terraform/prodviders.tf @@ -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 -} \ No newline at end of file +} diff --git a/ahoskingit/terraform/versions.tf b/ahoskingit/terraform/versions.tf index 29a9c00..732a388 100644 --- a/ahoskingit/terraform/versions.tf +++ b/ahoskingit/terraform/versions.tf @@ -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"