google_service_networking_service_connections resource
Use the google_service_networking_service_connections
InSpec audit resource to to test a Google Cloud service_connection resource.
Examples
describe google_servicenetworking_service_connections(parent: ' value_parent',network: 'value_network') do
it { should exist }
end
Properties
Properties that can be accessed from the google_service_networking_service_connections
resource:
See google_service_networking_service_connection for more detailed information.
networks
: an array ofgoogle_service_networking_service_connection
networkreserved_peering_ranges
: an array ofgoogle_service_networking_service_connection
reserved_peering_rangespeerings
: an array ofgoogle_service_networking_service_connection
peeringservices
: an array ofgoogle_service_networking_service_connection
service
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 https://servicenetworking.googleapis.com/ is enabled for the current project.