chore(terraform): scaffold server provisioning layout
Empty main.tf, dns.tf, variables.tf, outputs.tf and versions.tf matching OKF_CV_Website/architecture/terraform.md. Variables and outputs are written out; resources stay unwritten until the server facts are settled.
This commit is contained in:
commit
f2493767bd
8 files changed
+114
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# Inputs: the server, its SSH access, and the domain.
|
||||
# Nothing secret belongs here; secrets come from the environment or tfvars.
|
||||
|
||||
variable "server_host" {
|
||||
description = "Public IP or hostname of server0."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ssh_user" {
|
||||
description = "SSH user Terraform logs in as."
|
||||
type = string
|
||||
default = "root"
|
||||
}
|
||||
|
||||
variable "ssh_private_key_path" {
|
||||
description = "Path to the private key on this machine."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "domain" {
|
||||
description = "Apex domain served by the site, e.g. noelsabia.dev."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "cloudflare_zone_id" {
|
||||
description = "Zone ID of the domain in Cloudflare."
|
||||
type = string
|
||||
}
|
||||
Reference in new issue
Block a user