Skip to content

Commit

Permalink
feat: extra outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Telemaco019 committed Dec 16, 2024
1 parent 31877b7 commit 441d29f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@ You can find examples of code that uses this Terraform module in the [examples](
| Name | Description |
|------|-------------|
| <a name="output_aks_get_credentials"></a> [aks\_get\_credentials](#output\_aks\_get\_credentials) | Command for getting the credentials for connecting to the provisioned AKS cluster. |
| <a name="output_azurerm_flexible_postgres"></a> [azurerm\_flexible\_postgres](#output\_azurerm\_flexible\_postgres) | The Flexible Server for PostgreSQL resource. |
| <a name="output_azurerm_key_vault"></a> [azurerm\_key\_vault](#output\_azurerm\_key\_vault) | The Key Vault resource. |
| <a name="output_azurerm_kubernetes_cluster"></a> [azurerm\_kubernetes\_cluster](#output\_azurerm\_kubernetes\_cluster) | The AKS cluster resource. |
| <a name="output_helm_values"></a> [helm\_values](#output\_helm\_values) | The `values.yaml` file for installing Nebuly with Helm.<br/><br/> The default standard configuration is used, which uses Nginx as ingress controller and exposes the application to the Internet. This configuration can be customized according to specific needs. |
| <a name="output_helm_values_bootstrap"></a> [helm\_values\_bootstrap](#output\_helm\_values\_bootstrap) | The `bootrap.values.yaml` file for installing the Nebuly Azure Boostrap chart with Helm. |
| <a name="output_postgres_server_admin"></a> [postgres\_server\_admin](#output\_postgres\_server\_admin) | The administrator login for the PostgreSQL server. |
| <a name="output_secret_provider_class"></a> [secret\_provider\_class](#output\_secret\_provider\_class) | The `secret-provider-class.yaml` file to make Kubernetes reference the secrets stored in the Key Vault. |


Expand Down
13 changes: 13 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,16 @@ output "azurerm_key_vault" {
value = azurerm_key_vault.main
sensitive = true
}
output "azurerm_flexible_postgres" {
description = "The Flexible Server for PostgreSQL resource."
value = azurerm_postgresql_flexible_server.main
sensitive = true
}
output "postgres_server_admin" {
description = "The administrator login for the PostgreSQL server."
value = {
login = var.postgres_server_admin_username
password = random_password.postgres_server_admin_password.result
}
sensitive = true
}

0 comments on commit 441d29f

Please sign in to comment.