Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 2.7 KB

google_compute_global_network_endpoint_groups.md

File metadata and controls

50 lines (42 loc) · 2.7 KB
title platform
About the google_compute_global_network_endpoint_groups resource
gcp

Syntax

A google_compute_global_network_endpoint_groups is used to test a Google GlobalNetworkEndpointGroup resource

Examples


describe google_compute_global_network_endpoint_groups(project: 'chef-gcp-inspec') do
  it { should exist }
  its('default_ports') { should include '90' }
  its('names') { should include 'inspec-gcp-global-endpoint-group' }
  its('network_endpoint_types'){ should include 'INTERNET_IP_PORT' }
end

Properties

Properties that can be accessed from the google_compute_global_network_endpoint_groups resource:

See google_compute_global_network_endpoint_group.md for more detailed information

  • kinds: an array of google_compute_global_network_endpoint_group kind
  • ids: an array of google_compute_global_network_endpoint_group id
  • creation_timestamps: an array of google_compute_global_network_endpoint_group creation_timestamp
  • self_links: an array of google_compute_global_network_endpoint_group self_link
  • names: an array of google_compute_global_network_endpoint_group name
  • descriptions: an array of google_compute_global_network_endpoint_group description
  • network_endpoint_types: an array of google_compute_global_network_endpoint_group network_endpoint_type
  • sizes: an array of google_compute_global_network_endpoint_group size
  • regions: an array of google_compute_global_network_endpoint_group region
  • zones: an array of google_compute_global_network_endpoint_group zone
  • networks: an array of google_compute_global_network_endpoint_group network
  • subnetworks: an array of google_compute_global_network_endpoint_group subnetwork
  • default_ports: an array of google_compute_global_network_endpoint_group default_port
  • annotations: an array of google_compute_global_network_endpoint_group annotations
  • cloud_runs: an array of google_compute_global_network_endpoint_group cloud_run
  • app_engines: an array of google_compute_global_network_endpoint_group app_engine
  • cloud_functions: an array of google_compute_global_network_endpoint_group cloud_function
  • psc_target_services: an array of google_compute_global_network_endpoint_group psc_target_service
  • psc_data: an array of google_compute_global_network_endpoint_group psc_data

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.