Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.02 KB

google_kms_location.md

File metadata and controls

35 lines (23 loc) · 1.02 KB
title platform
About the google_kms_location resource
gcp

Syntax

A google_kms_location is used to test a Google Location resource

Examples

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

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.

GCP Permissions

Ensure the Cloud Key Management Service (KMS) API is enabled for the current project.