diff --git a/infrastructure/modules/postgresql-flexible/output.tf b/infrastructure/modules/postgresql-flexible/output.tf index e3b236ad..d4837fb7 100644 --- a/infrastructure/modules/postgresql-flexible/output.tf +++ b/infrastructure/modules/postgresql-flexible/output.tf @@ -1,3 +1,3 @@ output "db_admin_pwd_keyvault_secret" { - value = resource.azurerm_key_vault_secret.db_admin_pwd.versionless_id + value = resource.azurerm_key_vault_secret.db_admin_pwd[0].versionless_id }