Skip to content

Commit

Permalink
Bump azapi provider to >=2.0, < 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zioproto authored and lonegunmanb committed Feb 5, 2025
1 parent edb3f20 commit 63999cc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ The following sections are generated by [terraform-docs](https://github.com/terr
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
| <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) | >= 1.4.0, < 2.0 |
| <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) | >=2.0, < 3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.106.1, < 4.0 |
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 3.0 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | >= 3.1 |
Expand All @@ -223,7 +223,7 @@ The following sections are generated by [terraform-docs](https://github.com/terr

| Name | Version |
|------|---------|
| <a name="provider_azapi"></a> [azapi](#provider\_azapi) | >= 1.4.0, < 2.0 |
| <a name="provider_azapi"></a> [azapi](#provider\_azapi) | >=2.0, < 3.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | >= 3.106.1, < 4.0 |
| <a name="provider_null"></a> [null](#provider\_null) | >= 3.0 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | >= 3.1 |
Expand Down
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -657,11 +657,11 @@ resource "null_resource" "kubernetes_version_keeper" {

resource "azapi_update_resource" "aks_cluster_post_create" {
type = "Microsoft.ContainerService/managedClusters@2024-02-01"
body = jsonencode({
body = {
properties = {
kubernetesVersion = var.kubernetes_version
}
})
}
resource_id = azurerm_kubernetes_cluster.main.id

lifecycle {
Expand All @@ -682,13 +682,13 @@ resource "azapi_update_resource" "aks_cluster_http_proxy_config_no_proxy" {
count = can(var.http_proxy_config.no_proxy[0]) ? 1 : 0

type = "Microsoft.ContainerService/managedClusters@2024-02-01"
body = jsonencode({
body = {
properties = {
httpProxyConfig = {
noProxy = var.http_proxy_config.no_proxy
}
}
})
}
resource_id = azurerm_kubernetes_cluster.main.id

depends_on = [azapi_update_resource.aks_cluster_post_create]
Expand Down
2 changes: 1 addition & 1 deletion v4/versions_override.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azapi = {
source = "Azure/azapi"
version = ">= 1.4.0, < 2.0"
version = ">=2.0, < 3.0"
}
azurerm = {
source = "hashicorp/azurerm"
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
azapi = {
source = "Azure/azapi"
version = ">= 1.4.0, < 2.0"
version = ">=2.0, < 3.0"
}
azurerm = {
source = "hashicorp/azurerm"
Expand Down

0 comments on commit 63999cc

Please sign in to comment.