A google_resourcemanager_folders is used to test a Google Folder resource
describe.one do
google_resourcemanager_folders(parent: 'organizations/12345').display_names.each do |display_name|
describe display_name do
it { should eq 'inspec-gcp-folder' }
end
end
end
Properties that can be accessed from the google_resourcemanager_folders resource:
See the google_resourcemanager_folder resource for more information.
namesgoogle_resourcemanager_folder namelifecycle_statesgoogle_resourcemanager_folder lifecycle_statecreate_timesgoogle_resourcemanager_folder create_timeparentsgoogle_resourcemanager_folder parentdisplay_namesgoogle_resourcemanager_folder display_nameThis resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.
Ensure 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_resourcemanager_folders/