google_orgpolicy_project_policies resource
Use the google_orgpolicy_project_policies InSpec audit resource to to test a Google Cloud ProjectPolicy resource.
Examples
describe google_orgpolicy_project_policies(parent: 'value_parent') do
it { should exist }
its('names'){ should include value_name}
end
Properties
Properties that can be accessed from the google_orgpolicy_project_policies resource:
See google_orgpolicy_project_policy for more detailed information.
dry_run_specs: an array ofgoogle_orgpolicy_project_policydry_run_specspecs: an array ofgoogle_orgpolicy_project_policyspecnames: an array ofgoogle_orgpolicy_project_policynamealternates: an array ofgoogle_orgpolicy_project_policyalternate
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 None is enabled for the current project.