File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
modules/meshcloud-replicator-service-principal Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ module "replicator_service_principal" {
25
25
26
26
additional_required_resource_accesses = var. additional_required_resource_accesses
27
27
additional_permissions = var. additional_permissions
28
+
29
+ enterprise_agreement = var. enterprise_agreement
28
30
}
29
31
30
32
module "kraken_service_principal" {
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ resource "azuread_service_principal" "meshcloud_replicator" {
124
124
# The following tags are needed to create an Enterprise Application
125
125
# See https://github.com/hashicorp/terraform-provider-azuread/issues/7#issuecomment-529597534
126
126
tags = [
127
- " WindowsAzureActiveDirectoryIntegratedApp" ,
127
+ var . enterprise_agreement ? " WindowsAzureActiveDirectoryIntegratedApp" : null , # only apply tag if using Enterprise Agreement. MCA does't require this tag
128
128
]
129
129
}
130
130
You can’t perform that action at this time.
0 commit comments