2017-12-28 16:22:11 +00:00
|
|
|
provider "docker" {
|
2019-03-26 07:18:43 +00:00
|
|
|
host = "tcp://docker.vpn.bb8.fun:2376"
|
2019-01-17 19:21:36 +00:00
|
|
|
cert_path = "./secrets/tatooine"
|
2019-09-20 23:29:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
provider "docker" {
|
|
|
|
host = "tcp://docker.dovpn.bb8.fun:2376"
|
|
|
|
cert_path = "./secrets/sydney"
|
|
|
|
alias = "sydney"
|
2019-01-17 19:21:36 +00:00
|
|
|
}
|
|
|
|
|
2017-12-28 16:22:11 +00:00
|
|
|
provider "cloudflare" {
|
2021-10-15 12:54:13 +00:00
|
|
|
email = "bb8@captnemo.in"
|
|
|
|
api_key = data.pass_password.cloudflare_key.password
|
2017-12-28 16:22:11 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 04:42:28 +00:00
|
|
|
provider "postgresql" {
|
2018-07-04 14:35:43 +00:00
|
|
|
host = "postgres.vpn.bb8.fun"
|
2018-06-27 04:42:28 +00:00
|
|
|
port = 5432
|
|
|
|
username = "postgres"
|
2021-10-15 12:54:13 +00:00
|
|
|
password = data.pass_password.postgres-root-password.password
|
2018-06-27 04:42:28 +00:00
|
|
|
sslmode = "disable"
|
|
|
|
}
|
|
|
|
|
2018-05-29 12:36:21 +00:00
|
|
|
provider "digitalocean" {
|
2021-10-15 12:54:13 +00:00
|
|
|
token = data.pass_password.digitalocean-token.password
|
2019-03-25 15:34:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
provider "pass" {
|
2021-10-15 12:54:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
terraform {
|
2022-12-26 07:19:52 +00:00
|
|
|
required_version = ">= 1.3.0"
|
2021-10-15 12:54:13 +00:00
|
|
|
required_providers {
|
|
|
|
pass = {
|
|
|
|
source = "camptocamp/pass"
|
|
|
|
}
|
|
|
|
digitalocean = {
|
|
|
|
source = "digitalocean/digitalocean"
|
|
|
|
}
|
|
|
|
postgresql = {
|
|
|
|
source = "cyrilgdn/postgresql"
|
|
|
|
}
|
|
|
|
cloudflare = {
|
|
|
|
source = "cloudflare/cloudflare"
|
|
|
|
}
|
|
|
|
docker = {
|
|
|
|
source = "kreuzwerker/docker"
|
2022-12-26 07:19:52 +00:00
|
|
|
version = "~> 2.23"
|
2021-10-15 12:54:13 +00:00
|
|
|
}
|
|
|
|
}
|
2018-02-03 07:36:19 +00:00
|
|
|
}
|