Skip to content

Commit

Permalink
Add lifecycle for create certificate before destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohnrl committed Apr 19, 2023
1 parent 5807c03 commit e24b993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/net-ilb-l7/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e24b993

Please sign in to comment.