Skip to content

Commit 39920fc

Browse files
Bump google provider to v6.0.0
1 parent 1f43bc6 commit 39920fc

8 files changed

Lines changed: 39 additions & 46 deletions

File tree

terraform/gcp/.terraform.lock.hcl

Lines changed: 28 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

terraform/gcp/modules/drbd_node/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ resource "google_compute_instance" "drbd" {
7070
# Set public IP address. Only if the bastion is not used
7171
dynamic "access_config" {
7272
for_each = [1]
73-
content {
74-
nat_ip = ""
75-
}
73+
content {}
7674
}
7775
}
7876

terraform/gcp/modules/hana_node/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,7 @@ resource "google_compute_instance" "clusternodes" {
123123
# Set public IP address.
124124
dynamic "access_config" {
125125
for_each = [1]
126-
content {
127-
nat_ip = ""
128-
}
126+
content {}
129127
}
130128
}
131129

terraform/gcp/modules/iscsi_server/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ resource "google_compute_instance" "iscsisrv" {
2727
# Set public IP address.
2828
dynamic "access_config" {
2929
for_each = [1]
30-
content {
31-
nat_ip = ""
32-
}
30+
content {}
3331
}
3432
}
3533

terraform/gcp/modules/load_balancer/main.tf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ resource "google_compute_region_backend_service" "backend-service" {
3636
health_checks = [google_compute_health_check.health-check.*.id[0]]
3737

3838
backend {
39-
group = var.primary_node_group
39+
group = var.primary_node_group
40+
balancing_mode = "CONNECTION"
4041
}
4142

4243
backend {
43-
group = var.secondary_node_group
44-
failover = true
44+
group = var.secondary_node_group
45+
failover = true
46+
balancing_mode = "CONNECTION"
4547
}
4648

4749
failover_policy {

terraform/gcp/modules/monitoring/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ resource "google_compute_instance" "monitoring" {
3030
# Set public IP address. Only if the bastion is not used
3131
dynamic "access_config" {
3232
for_each = [1]
33-
content {
34-
nat_ip = ""
35-
}
33+
content {}
3634
}
3735
}
3836

terraform/gcp/modules/netweaver_node/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ resource "google_compute_instance" "netweaver" {
119119
# Set public IP address. Only if the bastion is not used
120120
dynamic "access_config" {
121121
for_each = [1]
122-
content {
123-
nat_ip = ""
124-
}
122+
content {}
125123
}
126124
}
127125

terraform/gcp/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
google = {
55
source = "hashicorp/google"
6-
version = "~> 4.10.0"
6+
version = "~> 6.0"
77
}
88
null = {
99
source = "hashicorp/null"

0 commit comments

Comments
 (0)