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"