+++
title = "google_apigee_endpoint_attachments Resource" platform = "gcp" draft = false gh_repo = "inspec-gcp"
[menu.inspec]
title = "google_apigee_endpoint_attachments" identifier = "inspec/resources/gcp/google_apigee_endpoint_attachments Resource" parent = "inspec/resources/gcp" +++
Use the google_apigee_endpoint_attachments
InSpec audit resource to test the properties of a test a Google EndpointAttachment.
{{% inspec_gcp_install %}}
A google_apigee_endpoint_attachments
is used to test a Google EndpointAttachment resource
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
Properties that can be accessed from the google_apigee_endpoint_attachments
resource:
See google_apigee_endpoint_attachment.md 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 that can be accessed from the google_apigee_endpoint_attachments
resource:
See google_apigee_endpoint_attachment.md 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
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Apigee API is enabled for the current project.