google_access_context_manager_access_policy resource
Syntax
A google_access_context_manager_access_policy
is used to test a Google AccessPolicy resource
Examples
describe.one do
google_access_context_manager_access_policies(org_id: '190694428152').names.each do |policy_name|
describe google_access_context_manager_access_policy(name: policy_name) do
it { should exist }
its('title') { should cmp 'policytitle' }
its('parent') { should match '190694428152' }
end
end
end
Properties
Properties that can be accessed from the google_access_context_manager_access_policy
resource:
name
- Resource name of the AccessPolicy. Format: accessPolicies/{policy_id}
create_time
- Time the AccessPolicy was created in UTC.
update_time
- Time the AccessPolicy was updated in UTC.
parent
- The parent of this AccessPolicy in the Cloud Resource Hierarchy. Format: organizations/{organization_id}
title
- Human readable title. Does not affect behavior.
GCP Permissions
© 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_access_context_manager_access_policy/