-
Notifications
You must be signed in to change notification settings - Fork 0
/
providers.tf
51 lines (44 loc) · 1.14 KB
/
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
################################################################################
# TERRAFORM CONFIG
################################################################################
terraform {
required_version = ">= 0.13"
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
version = "0.6.2"
}
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
}
civo = {
source = "civo/civo"
version = "0.9.23"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 2.0"
}
}
# backend "s3" {
# bucket = "my-bucket-name"
# key = "global/s3/terraform.tfstate"
# region = ${var.AWS_REGION}
# dynamodb_table = "my-db-name"
# encrypt = true
# }
}
# Configure the AWS Provider using credentials
provider "aws" {
region = var.AWS_REGION
shared_credentials_file = "/path_to/.aws/credentials"
}
# Configure the Civo provider using a token
#provider "civo" {
# token = SECRET_CIVO_TOKEN
#}
# Configure the Cloudflare provider - can set these as secrets
provider "cloudflare" {
api_token = "api_token_here"
}