File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
beyondcorp_security_gateway_application_basic
beyondcorp_security_gateway_application_vpc Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
resource "google_beyondcorp_security_gateway" "default" {
2
- security_gateway_id = " default-${ local . name_suffix } "
2
+ security_gateway_id = " default-sg- ${ local . name_suffix } "
3
3
display_name = " My Security Gateway resource"
4
4
hubs { region = " us-central1" }
5
5
}
6
6
7
- resource "google_beyondcorp_application " "example" {
8
- security_gateways_id = google_beyondcorp_security_gateway. default . security_gateway_id
9
- application_id = " google-${ local . name_suffix } "
7
+ resource "google_beyondcorp_security_gateway_application " "example" {
8
+ security_gateway_id = google_beyondcorp_security_gateway. default . security_gateway_id
9
+ application_id = " google-sga- ${ local . name_suffix } "
10
10
endpoint_matchers {
11
11
hostname = " google.com"
12
12
}
Original file line number Diff line number Diff line change 1
1
data "google_project" "project" {}
2
2
3
3
resource "google_beyondcorp_security_gateway" "default" {
4
- security_gateway_id = " default-${ local . name_suffix } "
4
+ security_gateway_id = " default-sg- ${ local . name_suffix } "
5
5
display_name = " My Security Gateway resource"
6
6
hubs { region = " us-central1" }
7
7
}
8
8
9
- resource "google_beyondcorp_application " "example" {
10
- security_gateways_id = google_beyondcorp_security_gateway. default . security_gateway_id
11
- application_id = " my-vm-service -${ local . name_suffix } "
9
+ resource "google_beyondcorp_security_gateway_application " "example" {
10
+ security_gateway_id = google_beyondcorp_security_gateway. default . security_gateway_id
11
+ application_id = " my-vm-service2 -${ local . name_suffix } "
12
12
endpoint_matchers {
13
13
hostname = " my-vm-service.com"
14
14
}
You can’t perform that action at this time.
0 commit comments