google_kms_locations resource
Use the google_kms_locations
InSpec audit resource to to test a Google Cloud Location resource.
Examples
describe google_kms_locations(project: 'chef-gcp-inspec') do
it { should exist }
end
Properties
Properties that can be accessed from the google_kms_locations
resource:
See google_kms_location for more detailed information.
names
: an array ofgoogle_kms_location
namelocation_ids
: an array ofgoogle_kms_location
location_iddisplay_names
: an array ofgoogle_kms_location
display_namelocations
: an array ofgoogle_kms_location
location
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 Cloud Key Management Service (KMS) API is enabled for the current project.