Skip to content

Commit 2b75599

Browse files
committed
fix: move keyvault secret instead of importing locally
1 parent 415f6f5 commit 2b75599

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

terraform/key_vault.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,13 @@ resource "azurerm_key_vault_access_policy" "pgadmin_container_app" {
128128
depends_on = [azurerm_key_vault.main]
129129
}
130130

131+
# these declarations can be removed as soon as the application service has been torn down in the production env
131132
moved {
132133
from = random_password.django_db_password
133134
to = module.application.random_password.django_db_password
134135
}
136+
137+
moved {
138+
from = azurerm_key_vault_secret.django_db_password
139+
to = module.application.azurerm_key_vault_secret.django_db_password
140+
}

0 commit comments

Comments
 (0)