Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.77 KB

google_compute_network_endpoint_groups.md

File metadata and controls

42 lines (32 loc) · 1.77 KB
title platform
About the google_compute_network_endpoint_groups resource
gcp

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 google_compute_network_endpoint_group.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 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.