On this page
google_compute_network_endpoint_groups resource
Syntax
A google_compute_network_endpoint_groups is used to test a Google NetworkEndpointGroup resource
Beta Resource
This resource has beta fields available. To retrieve these fields, include beta: true in the constructor for the resource
Examples
describe google_compute_network_endpoint_groups(project: 'chef-gcp-inspec', zone: 'zone') do
its('default_ports') { should include '90' }
its('names') { should include 'inspec-gcp-endpoint-group' }
end
Properties
Properties that can be accessed from the google_compute_network_endpoint_groups resource:
See the google_compute_network_endpoint_group resource for more information.
-
ids -
an array of
google_compute_network_endpoint_groupid -
names -
an array of
google_compute_network_endpoint_groupname -
descriptions -
an array of
google_compute_network_endpoint_groupdescription -
network_endpoint_types -
an array of
google_compute_network_endpoint_groupnetwork_endpoint_type -
sizes -
an array of
google_compute_network_endpoint_groupsize -
networks -
an array of
google_compute_network_endpoint_groupnetwork -
subnetworks -
an array of
google_compute_network_endpoint_groupsubnetwork -
default_ports -
an array of
google_compute_network_endpoint_groupdefault_port -
zones -
an array of
google_compute_network_endpoint_groupzone
Filter Criteria
This resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.
GCP Permissions
Ensure the Compute Engine API is enabled for the current project.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_compute_network_endpoint_groups/