google_apigee_endpoint_attachments resource
Use the google_apigee_endpoint_attachments
InSpec audit resource to test the properties of a Google Cloud EndpointAttachment resource.
Examples
describe google_apigee_endpoint_attachments() do
it { should exist }
its('hosts') { should include 'value_host' }
its('connection_states') { should include 'value_connectionstate' }
its('service_attachments') { should include 'value_serviceattachment' }
its('locations') { should include 'value_location' }
its('names') { should include 'value_name' }
its('states') { should include 'value_state' }
end
Parameters
Parameters that can be accessed from the google_apigee_endpoint_attachments
resource:
See google_apigee_endpoint_attachment for more detailed information.
hosts
: an array ofgoogle_apigee_endpoint_attachment
hostconnection_states
: an array ofgoogle_apigee_endpoint_attachment
connection_stateservice_attachments
: an array ofgoogle_apigee_endpoint_attachment
service_attachmentlocations
: an array ofgoogle_apigee_endpoint_attachment
locationnames
: an array ofgoogle_apigee_endpoint_attachment
namestates
: an array ofgoogle_apigee_endpoint_attachment
state
Properties
Properties that can be accessed from the google_apigee_endpoint_attachments
resource:
See google_apigee_endpoint_attachment for more detailed information.
hosts
: an array ofgoogle_apigee_endpoint_attachment
hostconnection_states
: an array ofgoogle_apigee_endpoint_attachment
connection_stateservice_attachments
: an array ofgoogle_apigee_endpoint_attachment
service_attachmentlocations
: an array ofgoogle_apigee_endpoint_attachment
locationnames
: an array ofgoogle_apigee_endpoint_attachment
namestates
: an array ofgoogle_apigee_endpoint_attachment
state
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 Apigee API is enabled for the current project.