Skip to content

Commit 271ef45

Browse files
Add newly required field to beyondcorp tests (#15373) (#10879)
[upstream:fefade90f54d910c02364ec6d0d47499312b8d16] Signed-off-by: Modular Magician <[email protected]>
1 parent 3a52b2a commit 271ef45

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.changelog/15373.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
unknown: Add newly required field to beyondcorp tests

google-beta/services/beyondcorp/iam_beyondcorp_security_gateway_application_generated_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
343343
application_id = "tf-test-google-sga%{random_suffix}"
344344
endpoint_matchers {
345345
hostname = "google.com"
346+
ports = [80, 443]
346347
}
347348
}
348349
@@ -369,6 +370,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
369370
application_id = "tf-test-google-sga%{random_suffix}"
370371
endpoint_matchers {
371372
hostname = "google.com"
373+
ports = [80, 443]
372374
}
373375
}
374376
@@ -410,6 +412,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
410412
application_id = "tf-test-google-sga%{random_suffix}"
411413
endpoint_matchers {
412414
hostname = "google.com"
415+
ports = [80, 443]
413416
}
414417
}
415418
@@ -438,6 +441,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
438441
application_id = "tf-test-google-sga%{random_suffix}"
439442
endpoint_matchers {
440443
hostname = "google.com"
444+
ports = [80, 443]
441445
}
442446
}
443447
@@ -464,6 +468,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
464468
application_id = "tf-test-google-sga%{random_suffix}"
465469
endpoint_matchers {
466470
hostname = "google.com"
471+
ports = [80, 443]
467472
}
468473
}
469474
@@ -490,6 +495,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
490495
application_id = "tf-test-google-sga%{random_suffix}"
491496
endpoint_matchers {
492497
hostname = "google.com"
498+
ports = [80, 443]
493499
}
494500
}
495501
@@ -521,6 +527,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
521527
application_id = "tf-test-google-sga%{random_suffix}"
522528
endpoint_matchers {
523529
hostname = "google.com"
530+
ports = [80, 443]
524531
}
525532
}
526533
@@ -574,6 +581,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
574581
application_id = "tf-test-google-sga%{random_suffix}"
575582
endpoint_matchers {
576583
hostname = "google.com"
584+
ports = [80, 443]
577585
}
578586
}
579587
@@ -605,6 +613,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
605613
application_id = "tf-test-google-sga%{random_suffix}"
606614
endpoint_matchers {
607615
hostname = "google.com"
616+
ports = [80, 443]
608617
}
609618
}
610619
@@ -658,6 +667,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
658667
application_id = "tf-test-google-sga%{random_suffix}"
659668
endpoint_matchers {
660669
hostname = "google.com"
670+
ports = [80, 443]
661671
}
662672
}
663673

google-beta/services/beyondcorp/resource_beyondcorp_security_gateway_application_generated_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
6868
application_id = "tf-test-google-sga%{random_suffix}"
6969
endpoint_matchers {
7070
hostname = "google.com"
71+
ports = [80, 443]
7172
}
7273
}
7374
`, context)
@@ -113,6 +114,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
113114
application_id = "tf-test-my-vm-service2%{random_suffix}"
114115
endpoint_matchers {
115116
hostname = "my-vm-service.com"
117+
ports = [80, 443]
116118
}
117119
upstreams {
118120
egress_policy {

google-beta/services/beyondcorp/resource_beyondcorp_security_gateway_application_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
7878
application_id = "google-sga%{random_suffix}"
7979
endpoint_matchers {
8080
hostname = "google.com"
81+
ports = [80, 443]
8182
}
8283
}
8384
`, context)
@@ -99,6 +100,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
99100
application_id = "google-sga%{random_suffix}"
100101
endpoint_matchers {
101102
hostname = "*.google.com"
103+
ports = [80]
102104
}
103105
endpoint_matchers {
104106
hostname = "google.com"

website/docs/r/beyondcorp_security_gateway_application.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
4545
application_id = "google-sga"
4646
endpoint_matchers {
4747
hostname = "google.com"
48+
ports = [80, 443]
4849
}
4950
}
5051
```
@@ -70,6 +71,7 @@ resource "google_beyondcorp_security_gateway_application" "example" {
7071
application_id = "my-vm-service2"
7172
endpoint_matchers {
7273
hostname = "my-vm-service.com"
74+
ports = [80, 443]
7375
}
7476
upstreams {
7577
egress_policy {

0 commit comments

Comments
 (0)