Expose a few more configurable items and add input validators

This commit is contained in:
2026-08-12 20:27:42 -05:00
parent 66d4f2b775
commit 4ee9d1efdc
10 changed files with 49 additions and 15 deletions
+3 -3
View File
@@ -1,18 +1,18 @@
resource "digitalocean_droplet" "this" {
backups = true
backups = var.backups
backup_policy {
plan = var.backup_policy_plan
weekday = var.backup_policy_weekday
hour = var.backup_policy_hour
}
image = var.image_name
ipv6 = true
ipv6 = var.ipv6
lifecycle {
ignore_changes = [
image,
]
}
monitoring = true
monitoring = var.monitoring
name = "${var.host_name}.${var.domain_name}"
region = var.region
ssh_keys = var.ssh_keys