Add lifecycle for create certificate before destroy

This commit is contained in:
bjohnrl 2023-04-19 09:24:35 +01:00
parent 5807c03d88
commit e24b993550
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ resource "google_compute_region_ssl_certificate" "default" {
name = "${var.name}-${each.key}"
certificate = each.value.certificate
private_key = each.value.private_key
lifecycle {
create_before_destroy = true
}