orchestration.clouds/ahoskingit/terraform/prodviders.tf

43 lines
756 B
Terraform
Raw Normal View History

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 2.0"
}
cloudflare = {
source = "cloudflare/cloudflare"
2021-10-13 15:18:33 +00:00
version = "~> 2.0"
}
}
required_version = ">= 0.13"
}
2021-06-30 19:30:46 +00:00
terraform {
backend "remote" {
organization = "AHosking"
workspaces {
name = "terraform"
}
2021-06-30 19:30:46 +00:00
}
}
provider "cloudflare" {
email = var.CLOUDFLARE_EMAIL
api_key = var.CLOUDFLARE_API_KEY
2021-06-30 19:39:22 +00:00
api_token = var.CLOUDFLARE_API_TOKEN
2017-11-28 06:04:25 +00:00
}
2017-01-31 07:51:16 +00:00
provider "aws" {
region = "us-east-1"
access_key = var.aws_access_key
secret_key = var.aws_secret_key
skip_credentials_validation = true
skip_region_validation = true
skip_requesting_account_id = true
skip_metadata_api_check = true
2021-01-12 03:46:38 +00:00
}