orchestration.clouds/ahoskingit/terraform/prodviders.tf

47 lines
896 B
Terraform
Raw Normal View History

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
2022-03-26 17:56:42 +00:00
version = "~> 3.0"
}
cloudflare = {
source = "cloudflare/cloudflare"
2022-03-26 17:56:42 +00:00
version = "~> 3.0"
}
}
2022-03-26 17:56:42 +00:00
required_version = ">= 1.1.7"
}
2021-06-30 19:30:46 +00:00
terraform {
backend "remote" {
organization = "AHosking"
workspaces {
name = "terraform"
}
2021-06-30 19:30:46 +00:00
}
}
variable "CLOUDFLARE_ACCOUNT_ID" {}
variable "CLOUDFLARE_EMAIL" {}
variable "CLOUDFLARE_API_KEY" {}
variable "CLOUDFLARE_API_TOKEN" {}
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
}