Add a project_skip_delete variable to optionally let the project stick around after the resources are destroyed.

This commit is contained in:
Christopher Avila
2021-11-01 10:31:13 -05:00
parent 305746ac97
commit 88c6af3dbb
3 changed files with 8 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ resource "google_project" "project" {
billing_account = var.billing_account
auto_create_network = var.auto_create_network
labels = var.labels
skip_delete = var.project_skip_delete
}
resource "google_project_iam_custom_role" "roles" {