Merge pull request 'chore(terraform): set defaults for domain, zone id and ssh key path' (#2) from feat/setup_terraforms into main

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
Noel committed 2026-10-27 16:00:44 +00:00
commit d83da83836
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -13,6 +13,7 @@ variable "ssh_user" {
variable "ssh_private_key_path" { variable "ssh_private_key_path" {
description = "Path to the private key on this machine." description = "Path to the private key on this machine."
type = string type = string
default = "~/.ssh/cv_infra"
} }
variable "ssh_public_key_path" { variable "ssh_public_key_path" {
@@ -42,9 +43,11 @@ variable "server_location" {
variable "domain" { variable "domain" {
description = "Apex domain served by the site, e.g. noelsabia.dev." description = "Apex domain served by the site, e.g. noelsabia.dev."
type = string type = string
default = "noelsabia.dev"
} }
variable "cloudflare_zone_id" { variable "cloudflare_zone_id" {
description = "Zone ID of the domain in Cloudflare." description = "Zone ID of the domain in Cloudflare."
type = string type = string
default = "e8dcd36819c27ef0b77fe4babbe57e21"
} }
+1 -1
View File
@@ -1,5 +1,5 @@
terraform { terraform {
required_version = ">= 1.9" required_version = "1.15.9"
required_providers { required_providers {
cloudflare = { cloudflare = {