Skip to content

Commit d51c8f5

Browse files
askubisglasnt
andauthored
fix inconsistent quotes in mig hc examples (#619)
Co-authored-by: Katie McLaughlin <[email protected]>
1 parent 2f25cde commit d51c8f5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

compute/firewall_rule_for_health_check/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ resource "google_compute_firewall" "default" {
2929
source_ranges = ["130.211.0.0/22", "35.191.0.0/16"]
3030
allow {
3131
protocol = "tcp"
32-
ports = ["80"]
32+
ports = [80]
3333
}
3434
}
3535
# [END compute_firewall_rule_for_health_check_tag]

compute/health_check/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ resource "google_compute_http_health_check" "default" {
3030
check_interval_sec = 30
3131
healthy_threshold = 1
3232
unhealthy_threshold = 3
33-
port = "80"
33+
port = 80
3434
}
3535
# [END compute_health_check_tag]

compute/zonal_mig_health_check/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ resource "google_compute_http_health_check" "default" {
4141
check_interval_sec = 30
4242
healthy_threshold = 1
4343
unhealthy_threshold = 3
44-
port = "80"
44+
port = 80
4545
}
4646

4747
resource "google_compute_firewall" "default" {
@@ -50,7 +50,7 @@ resource "google_compute_firewall" "default" {
5050
source_ranges = ["130.211.0.0/22", "35.191.0.0/16"]
5151
allow {
5252
protocol = "tcp"
53-
ports = ["80"]
53+
ports = [80]
5454
}
5555
}
5656

0 commit comments

Comments
 (0)