parent
751cce19c5
commit
af37dc534d
|
@ -1,7 +1,7 @@
|
||||||
terraform {
|
terraform {
|
||||||
required_providers {
|
required_providers {
|
||||||
digitalocean = {
|
digitalocean = {
|
||||||
source = "digitalocean/digitalocean"
|
source = "digitalocean/digitalocean"
|
||||||
version = "2.25.2"
|
version = "2.25.2"
|
||||||
}
|
}
|
||||||
acme = {
|
acme = {
|
||||||
|
@ -12,7 +12,7 @@ terraform {
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "digitalocean" {
|
provider "digitalocean" {
|
||||||
token = var.do_token
|
token = var.do_token
|
||||||
spaces_access_id = var.spaces_access_id
|
spaces_access_id = var.spaces_access_id
|
||||||
spaces_secret_key = var.spaces_secret
|
spaces_secret_key = var.spaces_secret
|
||||||
}
|
}
|
||||||
|
|
12
website.tf
12
website.tf
|
@ -8,22 +8,22 @@
|
||||||
# Create local directories as scratch space
|
# Create local directories as scratch space
|
||||||
resource "local_file" "openpgpkey" {
|
resource "local_file" "openpgpkey" {
|
||||||
filename = ".well-known/openpgpkey/policy"
|
filename = ".well-known/openpgpkey/policy"
|
||||||
content = ""
|
content = ""
|
||||||
}
|
}
|
||||||
resource "local_file" "hu" {
|
resource "local_file" "hu" {
|
||||||
filename = ".well-known/openpgpkey/hu/.keep"
|
filename = ".well-known/openpgpkey/hu/.keep"
|
||||||
content = ""
|
content = ""
|
||||||
depends_on = [local_file.openpgpkey]
|
depends_on = [local_file.openpgpkey]
|
||||||
}
|
}
|
||||||
resource "local_file" "static_dir" {
|
resource "local_file" "static_dir" {
|
||||||
filename = "static/.keep"
|
filename = "static/.keep"
|
||||||
content = ""
|
content = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create local files as scratch space
|
# Create local files as scratch space
|
||||||
resource "local_file" "policy" {
|
resource "local_file" "policy" {
|
||||||
filename = ".well-known/openpgpkey/policy"
|
filename = ".well-known/openpgpkey/policy"
|
||||||
content = ""
|
content = ""
|
||||||
depends_on = [local_file.openpgpkey]
|
depends_on = [local_file.openpgpkey]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue