diff --git a/README.md b/README.md index 22a04a4..638a1c2 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ audit logging and single sign-on. This module is intended to run in an Azure account with minimal preparation, however it does have the following pre-requisites: -### Terraform version >= 1 +### Terraform version >= 1.9 ### Credentials / Permissions @@ -48,7 +48,7 @@ resources that lack official modules. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | ~> 1.0 | +| [terraform](#requirement\_terraform) | ~> 1.9 | | [azapi](#requirement\_azapi) | ~> 1.0 | | [azurerm](#requirement\_azurerm) | ~> 3.17 | | [helm](#requirement\_helm) | ~> 2.6 | @@ -77,7 +77,7 @@ resources that lack official modules. | [redis](#module\_redis) | ./modules/redis | n/a | | [storage](#module\_storage) | ./modules/storage | n/a | | [vault](#module\_vault) | ./modules/vault | n/a | -| [wandb](#module\_wandb) | wandb/wandb/helm | 1.2.0 | +| [wandb](#module\_wandb) | wandb/wandb/helm | 2.0.0 | ## Resources @@ -109,6 +109,7 @@ resources that lack official modules. | [disable\_storage\_vault\_key\_id](#input\_disable\_storage\_vault\_key\_id) | Flag to disable the `customer_managed_key` block, the properties 'encryption.identity, encryption.keyvaultproperties' cannot be updated in a single operation. | `bool` | `false` | no | | [domain\_name](#input\_domain\_name) | Domain for accessing the Weights & Biases UI. | `string` | `null` | no | | [enable\_database\_vault\_key](#input\_enable\_database\_vault\_key) | Flag to enable managed key encryption for the database. Once enabled, cannot be disabled. | `bool` | `false` | no | +| [enable\_helm\_release](#input\_enable\_helm\_release) | Enable or disable applying and releasing Helm chart | `bool` | `true` | no | | [enable\_storage\_vault\_key](#input\_enable\_storage\_vault\_key) | Flag to enable managed key encryption for the storage account. | `bool` | `false` | no | | [external\_bucket](#input\_external\_bucket) | config an external bucket | `any` | `null` | no | | [kubernetes\_cluster\_oidc\_issuer\_url](#input\_kubernetes\_cluster\_oidc\_issuer\_url) | OIDC issuer URL for the Kubernetes cluster. Can be determined using `kubectl get --raw /.well-known/openid-configuration` | `string` | `""` | no | diff --git a/examples/custom-tf-with-existing-resources/main.tf b/examples/custom-tf-with-existing-resources/main.tf index 8af480c..8bb7ba1 100644 --- a/examples/custom-tf-with-existing-resources/main.tf +++ b/examples/custom-tf-with-existing-resources/main.tf @@ -88,7 +88,7 @@ module "cert_manager" { module "wandb" { source = "wandb/wandb/helm" - version = "1.2.0" + version = "2.0.0" depends_on = [ data.azurerm_kubernetes_cluster.cluster, diff --git a/examples/custom-tf-with-vpc-sql/main.tf b/examples/custom-tf-with-vpc-sql/main.tf index 984f2f2..f040cfe 100644 --- a/examples/custom-tf-with-vpc-sql/main.tf +++ b/examples/custom-tf-with-vpc-sql/main.tf @@ -145,7 +145,7 @@ module "cert_manager" { module "wandb" { source = "wandb/wandb/helm" - version = "1.2.0" + version = "2.0.0" depends_on = [ module.app_aks, diff --git a/main.tf b/main.tf index 19ceb9d..bdb4733 100644 --- a/main.tf +++ b/main.tf @@ -273,7 +273,7 @@ locals { module "wandb" { source = "wandb/wandb/helm" - version = "1.2.0" + version = "2.0.0" depends_on = [ module.app_aks, @@ -283,7 +283,7 @@ module "wandb" { ] operator_chart_version = var.operator_chart_version controller_image_tag = var.controller_image_tag - + enable_helm_release = var.enable_helm_release spec = { values = { diff --git a/variables.tf b/variables.tf index 6db34dd..78651c9 100644 --- a/variables.tf +++ b/variables.tf @@ -102,7 +102,11 @@ variable "controller_image_tag" { default = "1.14.0" } - +variable "enable_helm_release" { + type = bool + default = true + description = "Enable or disable applying and releasing Helm chart" +} ########################################## # DNS # diff --git a/versions.tf b/versions.tf index 59c2d3e..c468724 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.0" + required_version = "~> 1.9" required_providers { azurerm = { source = "hashicorp/azurerm"