-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathproviders.tf
More file actions
45 lines (39 loc) · 966 Bytes
/
providers.tf
File metadata and controls
45 lines (39 loc) · 966 Bytes
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
terraform {
# synchronize cluster state
backend "remote" {
organization = "o11ystack"
workspaces {
name = "workshop-devopscon-berlin-2023"
}
# credentials for terraform.io are read from .terraformrc
}
required_providers {
acme = {
source = "vancluever/acme"
version = "~> 2.13.1"
}
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.28.0"
}
hcloud = {
source = "hetznercloud/hcloud"
version = "~> 1.39.0"
}
}
required_version = ">= 1.2.7"
}
# Configure the Hetzner Cloud Provider using
# a token from our enviornment
provider "hcloud" {
token = var.hcloud_token
}
# We use Digital Ocean for DNS
provider "digitalocean" {
token = var.do_token
}
# Obtain TLS certs from Let's Encrypt
provider "acme" {
server_url = "https://acme-v02.api.letsencrypt.org/directory"
# server_url = "https://acme-staging-v02.api.letsencrypt.org/directory"
}