Add support for KMS key creation to project factory (#3518)
* initial implementation * context * tfdoc * add support for autokey to projects * fix typo
This commit is contained in:
committed by
GitHub
parent
15a5486a1e
commit
fc7aa71ada
59
tests/modules/project/examples/autokey.yaml
Normal file
59
tests/modules/project/examples/autokey.yaml
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
values:
|
||||
module.project.google_kms_key_handle.default["compute-disk-ew8"]:
|
||||
location: europe-west8
|
||||
name: compute-disk-ew8
|
||||
project: test-project
|
||||
resource_type_selector: compute.googleapis.com/Disk
|
||||
timeouts: null
|
||||
module.project.google_project.project[0]:
|
||||
auto_create_network: false
|
||||
billing_account: 123456-123456-123456
|
||||
deletion_policy: DELETE
|
||||
effective_labels:
|
||||
goog-terraform-provisioned: 'true'
|
||||
folder_id: '1122334455'
|
||||
labels: null
|
||||
name: test-project
|
||||
org_id: null
|
||||
project_id: test-project
|
||||
tags: null
|
||||
terraform_labels:
|
||||
goog-terraform-provisioned: 'true'
|
||||
timeouts: null
|
||||
module.project.google_project_iam_member.service_agents["cloudkms"]:
|
||||
condition: []
|
||||
project: test-project
|
||||
role: roles/cloudkms.serviceAgent
|
||||
module.project.google_project_service.project_services["cloudkms.googleapis.com"]:
|
||||
disable_dependent_services: false
|
||||
disable_on_destroy: false
|
||||
project: test-project
|
||||
service: cloudkms.googleapis.com
|
||||
timeouts: null
|
||||
module.project.google_project_service_identity.default["cloudkms.googleapis.com"]:
|
||||
project: test-project
|
||||
service: cloudkms.googleapis.com
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_kms_key_handle: 1
|
||||
google_project: 1
|
||||
google_project_iam_member: 1
|
||||
google_project_service: 1
|
||||
google_project_service_identity: 1
|
||||
modules: 1
|
||||
resources: 5
|
||||
Reference in New Issue
Block a user