2023-01-28 03:08:56 +00:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
digitalocean = {
|
2023-01-29 18:32:33 +00:00
|
|
|
source = "digitalocean/digitalocean"
|
2023-01-28 03:08:56 +00:00
|
|
|
version = "2.25.2"
|
|
|
|
}
|
|
|
|
acme = {
|
|
|
|
source = "vancluever/acme"
|
|
|
|
version = "~> 2.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-29 18:31:47 +00:00
|
|
|
provider "digitalocean" {
|
2023-01-29 18:32:33 +00:00
|
|
|
token = var.do_token
|
2023-01-29 18:31:47 +00:00
|
|
|
spaces_access_id = var.spaces_access_id
|
|
|
|
spaces_secret_key = var.spaces_secret
|
|
|
|
}
|
|
|
|
|
2023-01-28 03:08:56 +00:00
|
|
|
provider "acme" {
|
|
|
|
server_url = "https://acme-v02.api.letsencrypt.org/directory"
|
2023-01-29 18:31:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "do_token" {}
|
|
|
|
variable "spaces_access_id" {}
|
2023-01-30 19:12:17 +00:00
|
|
|
variable "spaces_secret" {}
|