Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sending empty app_engine and serverless google_compute_region_network_endpoint_group #10031

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions mmv1/products/compute/RegionNetworkEndpointGroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ examples:
primary_resource_id: 'appengine_neg'
vars:
neg_name: 'appengine-neg'
- !ruby/object:Provider::Terraform::Examples
name: 'region_network_endpoint_group_appengine_empty'
primary_resource_id: 'appengine_neg'
vars:
neg_name: 'appengine-neg'
- !ruby/object:Provider::Terraform::Examples
name: 'region_network_endpoint_group_psc'
primary_resource_id: 'psc_neg'
Expand Down Expand Up @@ -209,6 +214,7 @@ properties:
- cloud_function
- serverless_deployment
allow_empty_object: true
send_empty_value: true
description: |
This field is only used for SERVERLESS NEGs.

Expand Down Expand Up @@ -278,6 +284,7 @@ properties:
- cloud_function
- app_engine
allow_empty_object: true
send_empty_value: true
description: |
This field is only used for SERVERLESS NEGs.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// App Engine Example
resource "google_compute_region_network_endpoint_group" "<%= ctx[:primary_resource_id] %>" {
name = "<%= ctx[:vars]['neg_name'] %>"
network_endpoint_type = "SERVERLESS"
region = "us-central1"
app_engine {
}
}
Loading