Skip to main content

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_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 network_endpoint_type
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 default_port
zones
an array of google_compute_network_endpoint_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.

Edit this page on GitHub

Thank you for your feedback!

×









Search Results