Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 2.23 KB

google_apigee_organization_instance_attachments.md

File metadata and controls

55 lines (41 loc) · 2.23 KB

+++

title = "google_apigee_organization_instance_attachments Resource" platform = "gcp" draft = false gh_repo = "inspec-gcp"

[menu.inspec]

title = "google_apigee_organization_instance_attachments" identifier = "inspec/resources/gcp/google_apigee_organization_instance_attachments Resource" parent = "inspec/resources/gcp" +++

Use the google_apigee_organization_instance_attachments InSpec audit resource to test the properties of a test a Google OrganizationInstanceAttachment.

Installation

{{% inspec_gcp_install %}}

Syntax

A google_apigee_organization_instance_attachments is used to test a Google OrganizationInstanceAttachment resource

Examples

  describe google_apigee_organization_instance_attachments(parent: 'value_parent') do
    it { should exist }
    its('names') { should include 'value_name' }
	  its('environments') { should include 'value_environment' }
	  its('created_ats') { should include 'value_createdat' }
  end

Parameters

Properties that can be accessed from the google_apigee_organization_instance_attachments resource:

See google_apigee_organization_instance_attachment.md for more detailed information

  • names: an array of google_apigee_organization_instance_attachment name
  • environments: an array of google_apigee_organization_instance_attachment environment
  • created_ats: an array of google_apigee_organization_instance_attachment created_at

Properties

Properties that can be accessed from the google_apigee_organization_instance_attachments resource:

See google_apigee_organization_instance_attachment.md for more detailed information

  • names: an array of google_apigee_organization_instance_attachment name
  • environments: an array of google_apigee_organization_instance_attachment environment
  • created_ats: an array of google_apigee_organization_instance_attachment created_at

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.