File tree Expand file tree Collapse file tree 4 files changed +30
-0
lines changed
meshcloud-idp-lookup-service-principal
meshcloud-kraken-service-principal
meshcloud-replicator-service-principal
uami-blueprint-user-principal Expand file tree Collapse file tree 4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -64,3 +64,10 @@ resource "azuread_service_principal_password" "service_principal_pw" {
64
64
service_principal_id = azuread_service_principal. meshcloud_idp_lookup . id
65
65
end_date = " 2999-01-01T01:02:03Z" # no expiry
66
66
}
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
+ }
Original file line number Diff line number Diff line change @@ -93,3 +93,9 @@ resource "azuread_service_principal_password" "service_principal_pw" {
93
93
service_principal_id = azuread_service_principal. meshcloud_kraken . id
94
94
end_date = " 2999-01-01T01:02:03Z" # no expiry
95
95
}
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
+ }
Original file line number Diff line number Diff line change @@ -157,3 +157,9 @@ resource "azuread_service_principal_password" "service_principal_pw" {
157
157
# data "azuread_application" "blueprint_service_principal" {
158
158
# application_id = "f71766dc-90d9-4b7d-bd9d-4499c4331c3f"
159
159
# }
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
+ }
Original file line number Diff line number Diff line change @@ -31,3 +31,14 @@ resource "azurerm_role_assignment" "service_principal_pw" {
31
31
scope = " /subscriptions/${ var . subscriptions [count . index ]} "
32
32
role_definition_name = " Contributor"
33
33
}
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
+ }
You can’t perform that action at this time.
0 commit comments