-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproviders.tf
56 lines (44 loc) · 837 Bytes
/
providers.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
variable "aws_access_key" {
type = string
}
variable "aws_secret_key" {
type = string
}
variable "cloudflare_email" {
type = string
}
variable "cloudflare_api_token" {
type = string
}
terraform {
required_providers {
archive = {
source = "hashicorp/archive"
version = "2.2.0"
}
aws = {
source = "hashicorp/aws"
version = "3.70.0"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "3.6.0"
}
}
}
provider "archive" {}
provider "aws" {
region = "eu-west-2"
access_key = var.aws_access_key
secret_key = var.aws_secret_key
}
provider "aws" {
alias = "us"
region = "us-east-1"
access_key = var.aws_access_key
secret_key = var.aws_secret_key
}
provider "cloudflare" {
email = var.cloudflare_email
api_token = var.cloudflare_api_token
}