Skip to content

Commit 16e839f

Browse files
Merge feature branch major release 7.0.0 (#14962) (#1102)
[upstream:13886db603f7165967bc2b7ad28f656af32a5871] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent a7ae5ef commit 16e839f

20 files changed

Lines changed: 34 additions & 4 deletions

File tree

  • alloydb_backup_basic_test
  • alloydb_backup_full_test
  • alloydb_cluster_after_upgrade
  • alloydb_cluster_basic
  • alloydb_cluster_before_upgrade
  • alloydb_cluster_full
  • alloydb_instance_basic_test
  • alloydb_instance_psc_test
  • alloydb_secondary_cluster_basic_test
  • alloydb_secondary_instance_basic_test
  • alloydb_user_builtin_test
  • alloydb_user_iam_test
  • cloudbuild_bitbucket_server_config_peered_network
  • compute_packet_mirroring_full
  • database_migration_service_connection_profile_existing_alloydb
  • database_migration_service_migration_job_postgres_to_alloydb
  • memorystore_instance_full
  • redis_cluster_aof
  • secure_source_manager_instance_private_trusted_cert
  • vertex_ai_endpoint_private_service_connect

alloydb_backup_basic_test/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ resource "google_alloydb_cluster" "default" {
1212
network_config {
1313
network = data.google_compute_network.default.id
1414
}
15+
16+
deletion_protection = false
1517
}
1618

1719
resource "google_alloydb_instance" "default" {

alloydb_backup_full_test/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ resource "google_alloydb_cluster" "default" {
1717
network_config {
1818
network = data.google_compute_network.default.id
1919
}
20+
21+
deletion_protection = false
2022
}
2123

2224
resource "google_alloydb_instance" "default" {

alloydb_cluster_after_upgrade/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ resource "google_alloydb_cluster" "default" {
2020
initial_user {
2121
password = "alloydb-cluster-${local.name_suffix}"
2222
}
23+
24+
deletion_protection = false
2325
}
2426

2527
data "google_compute_network" "default" {

alloydb_cluster_basic/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ resource "google_alloydb_cluster" "default" {
44
network_config {
55
network = google_compute_network.default.id
66
}
7+
8+
deletion_protection = false
79
}
810

911
data "google_project" "project" {}

alloydb_cluster_before_upgrade/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ resource "google_alloydb_cluster" "default" {
2020
initial_user {
2121
password = "alloydb-cluster-${local.name_suffix}"
2222
}
23+
24+
deletion_protection = false
2325
}
2426

2527
data "google_compute_network" "default" {

alloydb_cluster_full/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ resource "google_alloydb_cluster" "full" {
4444
labels = {
4545
test = "alloydb-cluster-full-${local.name_suffix}"
4646
}
47+
48+
deletion_protection = false
4749
}
4850

4951
data "google_project" "project" {}

alloydb_instance_basic_test/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ resource "google_alloydb_cluster" "default" {
1717
initial_user {
1818
password = "alloydb-cluster-${local.name_suffix}"
1919
}
20+
21+
deletion_protection = false
2022
}
2123

2224
data "google_project" "project" {}

alloydb_instance_psc_test/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ resource "google_alloydb_cluster" "default" {
1818
psc_config {
1919
psc_enabled = true
2020
}
21+
22+
deletion_protection = false
2123
}

alloydb_secondary_cluster_basic_test/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ resource "google_alloydb_cluster" "primary" {
44
network_config {
55
network = data.google_compute_network.default.id
66
}
7+
8+
deletion_protection = false
79
}
810

911
resource "google_alloydb_instance" "primary" {
@@ -32,6 +34,7 @@ resource "google_alloydb_cluster" "secondary" {
3234
primary_cluster_name = google_alloydb_cluster.primary.name
3335
}
3436

37+
deletion_protection = false
3538
depends_on = [google_alloydb_instance.primary]
3639
}
3740

alloydb_secondary_instance_basic_test/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ resource "google_alloydb_cluster" "primary" {
44
network_config {
55
network = data.google_compute_network.default.id
66
}
7+
8+
deletion_protection = false
79
}
810

911
resource "google_alloydb_instance" "primary" {
@@ -34,6 +36,7 @@ resource "google_alloydb_cluster" "secondary" {
3436

3537
deletion_policy = "FORCE"
3638

39+
deletion_protection = false
3740
depends_on = [google_alloydb_instance.primary]
3841
}
3942

0 commit comments

Comments
 (0)