Prevent unintentional recreation when Image changes
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
@@ -2,6 +2,11 @@ resource "digitalocean_droplet" "this" {
|
||||
backups = "true"
|
||||
image = var.image_name
|
||||
ipv6 = "true"
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
image,
|
||||
]
|
||||
}
|
||||
monitoring = "true"
|
||||
name = "${var.host_name}.${var.domain_name}"
|
||||
region = var.region
|
||||
|
Reference in New Issue
Block a user