title | platform |
---|---|
About the google_kms_location resource |
gcp |
A google_kms_location
is used to test a Google Location resource
describe google_kms_location(project: 'chef-gcp-inspec', location: 'europe-west2') do
it { should exist }
end
describe google_kms_location(project: 'chef-gcp-inspec', location: 'nonexistent') do
it { should_not exist }
end
Properties that can be accessed from the google_kms_location
resource:
-
name
: Resource name for the location, which may vary between implementations. For example: projects/example-project/locations/us-east1 -
location_id
: The canonical id for this location. For example: "us-east1". -
display_name
: The friendly name for this location, typically a nearby city name. For example, "Tokyo". -
location
: Resource name for the location.
Ensure the Cloud Key Management Service (KMS) API is enabled for the current project.