A google_organization is used to test a Google Organization resource
describe google_organization(name: "organizations/123456") do
its('name') { should eq "organizations/123456" }
its('lifecycle_state') { should cmp 'ACTIVE' }
end
describe google_organization(name: 'organizations/1234') do
its('name') { should eq 'organizations/1234' }
end
describe google_organization(display_name: 'google.com') do
its('lifecycle_state') { should eq "ACTIVE" }
end
Properties that can be accessed from the google_organization resource:
namedisplay_namelifecycle_statePossible values:
creation_timeownerdirectory_customer_idEnsure the Cloud Resource Manager API is enabled for the current project.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_organization/