Expose a few more configurable items and add input validators
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user