Skip to content

Commit 859173c

Browse files
committed
revert example for endpoint with network
1 parent 4876bec commit 859173c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

mmv1/templates/terraform/examples/service_directory_endpoint_with_network.tf.tmpl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,10 @@ resource "google_service_directory_endpoint" "{{$.PrimaryResourceId}}" {
1919
endpoint_id = "{{index $.Vars "endpoint_id"}}"
2020
service = google_service_directory_service.{{$.PrimaryResourceId}}.id
2121

22-
{{- if ne $.TargetVersionName "ga" }}
2322
metadata = {
2423
stage = "prod"
2524
region = "us-central1"
2625
}
27-
{{- else }}
28-
annotations = {
29-
stage = "prod"
30-
region = "us-central1"
31-
}
32-
{{- end }}
3326

3427
network = "projects/${data.google_project.project.number}/locations/global/networks/${google_compute_network.{{$.PrimaryResourceId}}.name}"
3528
address = "1.2.3.4"

0 commit comments

Comments
 (0)