-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix merge behaviour, add example
- Loading branch information
1 parent
503534f
commit 7f8834f
Showing
2 changed files
with
39 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
module "keyvault" { | ||
source = "../terraform-keyvault" | ||
location = "westeurope" | ||
resource_name = [ | ||
"service-mgmt-kv", | ||
] | ||
keyvault = { | ||
resource_group_name = "service-mgmt-rg" | ||
tenant_id = data.azurerm_subscription.current.tenant_id | ||
} | ||
keyvault_config = { | ||
mgmt = { | ||
access_policies = { | ||
frontdoor = { | ||
object_id = data.azuread_service_principal.frontdoor.object_id | ||
key_permissions = [] | ||
certificate_permissions = ["get", ] | ||
secret_permissions = ["get", ] | ||
} | ||
} | ||
} | ||
env = { | ||
access_policies = { | ||
admin = { | ||
object_id = data.azuread_group.grp-admin.object_id | ||
} | ||
} | ||
} | ||
} | ||
tags = { | ||
service = "service_name" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters