forked from terraform-ibm-modules/terraform-ibm-landing-zone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservices.tf
20 lines (17 loc) · 803 Bytes
/
services.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##############################################################################
# Key Protect
##############################################################################
module "key_management" {
source = "./kms"
region = var.region
key_management = {
name = var.key_management.name
resource_group_id = var.key_management.resource_group == null ? null : local.resource_groups[var.key_management.resource_group]
use_data = var.key_management.use_data
use_hs_crypto = var.key_management.use_hs_crypto
tags = var.tags
service_endpoints = var.key_management.service_endpoints
}
keys = var.key_management.keys == null ? [] : var.key_management.keys
}
##############################################################################