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 googlecomputenetworkendpointgroup.md for more detailed information
* ids
: an array of google_compute_network_endpoint_group
id
* names
: an array of google_compute_network_endpoint_group
name
* descriptions
: an array of google_compute_network_endpoint_group
description
* network_endpoint_types
: an array of google_compute_network_endpoint_group
networkendpointtype
* sizes
: an array of google_compute_network_endpoint_group
size
* networks
: an array of google_compute_network_endpoint_group
network
* subnetworks
: an array of google_compute_network_endpoint_group
subnetwork
* default_ports
: an array of google_compute_network_endpoint_group
defaultport
* zones
: an array of `googlecomputenetworkendpoint_group` zone
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.