Skip to content

Commit 53d464f

Browse files
committed
fix lint
1 parent b46a99f commit 53d464f

File tree

3 files changed

+39
-39
lines changed

3 files changed

+39
-39
lines changed

cloud_sql/mysql_instance_psc/main.tf

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ data "google_sql_database_instance" "default" {
5151
}
5252

5353
resource "google_compute_forwarding_rule" "default" {
54-
name = "psc-forwarding-rule-${google_sql_database_instance.default.name}"
55-
region = "us-central1"
56-
network = "default"
57-
ip_address = google_compute_address.default.self_link
58-
load_balancing_scheme = ""
59-
target = data.google_sql_database_instance.default.psc_service_attachment_link
54+
name = "psc-forwarding-rule-${google_sql_database_instance.default.name}"
55+
region = "us-central1"
56+
network = "default"
57+
ip_address = google_compute_address.default.self_link
58+
load_balancing_scheme = ""
59+
target = data.google_sql_database_instance.default.psc_service_attachment_link
6060
allow_psc_global_access = true
6161
}
6262
# [END cloud_sql_mysql_instance_psc_endpoint]
@@ -66,12 +66,12 @@ resource "google_compute_forwarding_rule" "ipv6_ilb_example" {
6666
name = "ipv6-psc-forwarding-rule-${google_sql_database_instance.default.name}"
6767
region = "us-central1"
6868

69-
load_balancing_scheme = ""
70-
target = data.google_sql_database_instance.default.psc_service_attachment_link
71-
all_ports = true
72-
network = "default" # Replace value with the name of the network here.
73-
subnetwork = "default" # Replace value with the name of the subnet here.
74-
ip_version = "IPV6"
69+
load_balancing_scheme = ""
70+
target = data.google_sql_database_instance.default.psc_service_attachment_link
71+
all_ports = true
72+
network = "default" # Replace value with the name of the network here.
73+
subnetwork = "default" # Replace value with the name of the subnet here.
74+
ip_version = "IPV6"
7575
allow_psc_global_access = true
7676
}
77-
# [END cloud_sql_mysql_instance_ipv6_psc_endpoint]
77+
# [END cloud_sql_mysql_instance_ipv6_psc_endpoint]

cloud_sql/postgres_instance_psc/main.tf

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ data "google_sql_database_instance" "default" {
5050
}
5151

5252
resource "google_compute_forwarding_rule" "default" {
53-
name = "psc-forwarding-rule-${google_sql_database_instance.default.name}"
54-
region = "us-central1"
55-
network = "default"
56-
ip_address = google_compute_address.default.self_link
57-
load_balancing_scheme = ""
58-
target = data.google_sql_database_instance.default.psc_service_attachment_link
53+
name = "psc-forwarding-rule-${google_sql_database_instance.default.name}"
54+
region = "us-central1"
55+
network = "default"
56+
ip_address = google_compute_address.default.self_link
57+
load_balancing_scheme = ""
58+
target = data.google_sql_database_instance.default.psc_service_attachment_link
5959
allow_psc_global_access = true
6060
}
6161
# [END cloud_sql_postgres_instance_psc_endpoint]
@@ -65,12 +65,12 @@ resource "google_compute_forwarding_rule" "ipv6_ilb_example" {
6565
name = "ipv6-psc-forwarding-rule-${google_sql_database_instance.default.name}"
6666
region = "us-central1"
6767

68-
load_balancing_scheme = ""
69-
target = data.google_sql_database_instance.default.psc_service_attachment_link
70-
all_ports = true
71-
network = "default" # Replace value with the name of the network here.
72-
subnetwork = "default" # Replace value with the name of the subnet here.
73-
ip_version = "IPV6"
68+
load_balancing_scheme = ""
69+
target = data.google_sql_database_instance.default.psc_service_attachment_link
70+
all_ports = true
71+
network = "default" # Replace value with the name of the network here.
72+
subnetwork = "default" # Replace value with the name of the subnet here.
73+
ip_version = "IPV6"
7474
allow_psc_global_access = true
7575
}
76-
# [END cloud_sql_postgres_instance_ipv6_psc_endpoint]
76+
# [END cloud_sql_postgres_instance_ipv6_psc_endpoint]

cloud_sql/sqlserver_instance_psc/main.tf

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ data "google_sql_database_instance" "default" {
5252
}
5353

5454
resource "google_compute_forwarding_rule" "default" {
55-
name = "psc-forwarding-rule-${google_sql_database_instance.default.name}"
56-
region = "us-central1"
57-
network = "default"
58-
ip_address = google_compute_address.default.self_link
59-
load_balancing_scheme = ""
60-
target = data.google_sql_database_instance.default.psc_service_attachment_link
55+
name = "psc-forwarding-rule-${google_sql_database_instance.default.name}"
56+
region = "us-central1"
57+
network = "default"
58+
ip_address = google_compute_address.default.self_link
59+
load_balancing_scheme = ""
60+
target = data.google_sql_database_instance.default.psc_service_attachment_link
6161
allow_psc_global_access = true
6262
}
6363
# [END cloud_sql_sqlserver_instance_psc_endpoint]
@@ -67,12 +67,12 @@ resource "google_compute_forwarding_rule" "ipv6_ilb_example" {
6767
name = "ipv6-psc-forwarding-rule-${google_sql_database_instance.default.name}"
6868
region = "us-central1"
6969

70-
load_balancing_scheme = ""
71-
target = data.google_sql_database_instance.default.psc_service_attachment_link
72-
all_ports = true
73-
network = "default" # Replace value with the name of the network here.
74-
subnetwork = "default" # Replace value with the name of the subnet here.
75-
ip_version = "IPV6"
70+
load_balancing_scheme = ""
71+
target = data.google_sql_database_instance.default.psc_service_attachment_link
72+
all_ports = true
73+
network = "default" # Replace value with the name of the network here.
74+
subnetwork = "default" # Replace value with the name of the subnet here.
75+
ip_version = "IPV6"
7676
allow_psc_global_access = true
7777
}
78-
# [END cloud_sql_sqlserver_instance_ipv6_psc_endpoint]
78+
# [END cloud_sql_sqlserver_instance_ipv6_psc_endpoint]

0 commit comments

Comments
 (0)