-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproviders.tf
35 lines (28 loc) · 902 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
variable "do_token" {}
variable "do_key_id" {}
variable "pub_key" {}
variable "pvt_key" {}
variable "ssh_fingerprint" {}
variable "aws_access_key" {}
variable "aws_secret_key" {}
variable "ns1_apikey" {}
# -- Production
# variable "acme_server_url" { default = "https://acme.api.letsencrypt.org/directory"}
# variable "acme_registration_email" { default = "[email protected]" }
# -- Staging
variable "acme_server_url" { default = "https://acme-staging-v02.api.letsencrypt.org/directory"}
variable "acme_registration_email" { default = "[email protected]" }
provider "digitalocean" {
token = "${var.do_token}"
}
provider "aws" {
region = "us-east-1"
access_key = "${var.aws_access_key}"
secret_key = "${var.aws_secret_key}"
}
provider "ns1" {
apikey = "${var.ns1_apikey}"
}
provider "acme" {
server_url = "https://acme-staging-v02.api.letsencrypt.org/directory"
}