Skip to content

Commit 906a339

Browse files
authored
fix: resource provider registration (#38)
1 parent b37865b commit 906a339

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mail.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,21 @@ resource "azurerm_communication_service" "comms" {
88
name = "acs-${local.namespace}"
99
resource_group_name = azurerm_resource_group.resource_group.name
1010
data_location = var.acs_data_location
11+
12+
depends_on = [
13+
azurerm_resource_provider_registration.comms
14+
]
1115
}
1216

1317
resource "azurerm_email_communication_service" "email" {
1418
count = var.enable_acs ? 1 : 0
1519
name = "acs-email-${local.namespace}"
1620
resource_group_name = azurerm_resource_group.resource_group.name
1721
data_location = var.acs_data_location
22+
23+
depends_on = [
24+
azurerm_resource_provider_registration.comms
25+
]
1826
}
1927

2028
resource "azurerm_email_communication_service_domain" "email" {

0 commit comments

Comments
 (0)