Skip to content

Commit

Permalink
fix: add azurerm_kubernetes_cluster output
Browse files Browse the repository at this point in the history
  • Loading branch information
Telemaco019 committed Dec 3, 2024
1 parent 15cfc6b commit 2530d2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ 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_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_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
8 changes: 8 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ output "aks_get_credentials" {
description = "Command for getting the credentials for connecting to the provisioned AKS cluster."
value = "az aks get-credentials --resource-group ${var.resource_group_name} --name ${module.aks.aks_name}"
}

output "azurerm_kubernetes_cluster" {
description = "The AKS cluster resource."
value = {
name = module.aks.aks_name
id = module.aks.aks_id
}
}

0 comments on commit 2530d2b

Please sign in to comment.