-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeyvault.tf
20 lines (18 loc) · 935 Bytes
/
keyvault.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//KEY VAULT RESOURCE
module "vault" {
source = "git@github.com:hmcts/cnp-module-key-vault?ref=master"
name = "${var.product}-${local.platform}-kv-${var.env}"
product = var.product
env = var.env
tenant_id = var.tenant_id
object_id = var.jenkins_AAD_objectId
resource_group_name = azurerm_resource_group.shared_resource_group.name
product_group_object_id = "e7ea2042-4ced-45dd-8ae3-e051c6551789"
common_tags = local.tags
managed_identity_object_id = var.managed_identity_object_id
create_managed_identity = true
additional_managed_identities_access = var.additional_managed_identities_access
}
output "vaultName" {
value = module.vault.key_vault_name
}