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_attachmenthostconnection_states: an array ofgoogle_apigee_endpoint_attachmentconnection_stateservice_attachments: an array ofgoogle_apigee_endpoint_attachmentservice_attachmentlocations: an array ofgoogle_apigee_endpoint_attachmentlocationnames: an array ofgoogle_apigee_endpoint_attachmentnamestates: an array ofgoogle_apigee_endpoint_attachmentstate
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_attachmenthostconnection_states: an array ofgoogle_apigee_endpoint_attachmentconnection_stateservice_attachments: an array ofgoogle_apigee_endpoint_attachmentservice_attachmentlocations: an array ofgoogle_apigee_endpoint_attachmentlocationnames: an array ofgoogle_apigee_endpoint_attachmentnamestates: an array ofgoogle_apigee_endpoint_attachmentstate
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.