Skip to content

Commit 339d226

Browse files
JohannesRudolphmeshkodiak[bot]
authored andcommitted
feat: add move statements from v0.1.0 to submodules
1 parent dfd573c commit 339d226

File tree

4 files changed

+30
-0
lines changed
  • modules

4 files changed

+30
-0
lines changed

modules/meshcloud-idp-lookup-service-principal/module.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,10 @@ resource "azuread_service_principal_password" "service_principal_pw" {
6464
service_principal_id = azuread_service_principal.meshcloud_idp_lookup.id
6565
end_date = "2999-01-01T01:02:03Z" # no expiry
6666
}
67+
68+
69+
# facilitate migration from v0.1.0 of the module
70+
moved {
71+
from = azuread_service_principal_password.spp_pw
72+
to = azuread_service_principal_password.service_principal_pw
73+
}

modules/meshcloud-kraken-service-principal/module.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,9 @@ resource "azuread_service_principal_password" "service_principal_pw" {
9393
service_principal_id = azuread_service_principal.meshcloud_kraken.id
9494
end_date = "2999-01-01T01:02:03Z" # no expiry
9595
}
96+
97+
# facilitate migration from v0.1.0 of the module
98+
moved {
99+
from = azuread_service_principal_password.spp_pw
100+
to = azuread_service_principal_password.service_principal_pw
101+
}

modules/meshcloud-replicator-service-principal/module.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,9 @@ resource "azuread_service_principal_password" "service_principal_pw" {
157157
# data "azuread_application" "blueprint_service_principal" {
158158
# application_id = "f71766dc-90d9-4b7d-bd9d-4499c4331c3f"
159159
# }
160+
161+
# facilitate migration from v0.1.0 of the module
162+
moved {
163+
from = azuread_service_principal_password.spp_pw
164+
to = azuread_service_principal_password.service_principal_pw
165+
}

modules/uami-blueprint-user-principal/module.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,14 @@ resource "azurerm_role_assignment" "service_principal_pw" {
3131
scope = "/subscriptions/${var.subscriptions[count.index]}"
3232
role_definition_name = "Contributor"
3333
}
34+
35+
# facilitate migration from v0.1.0 of the module
36+
moved {
37+
from = azuread_service_principal_password.spp_pw
38+
to = azuread_service_principal_password.service_principal_pw
39+
}
40+
41+
moved {
42+
from = azurerm_role_assignment.spp_pw
43+
to = azurerm_role_assignment.service_principal_pw
44+
}

0 commit comments

Comments
 (0)