Skip to content

Commit 0d18c7e

Browse files
committed
AKS: Remove in-cluster-module provider configuration
In module provider configurations are discouraged. The AKS cluster module still had a left-over provider configuration to set `features {}` for the azurerm provider. This commit moves this out of the cluster module into the root module for both the generated starters and tests/.
1 parent 695f189 commit 0d18c7e

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

azurerm/cluster/providers.tf

-3
This file was deleted.

quickstart/src/configurations/aks/aks_zero_providers.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
provider "azurerm" {
2+
features {}
3+
}
4+
15
provider "kustomization" {
26
alias = "aks_zero"
37
kubeconfig_raw = module.aks_zero.kubeconfig

quickstart/src/configurations/multi-cloud/aks_zero_providers.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
provider "azurerm" {
2+
features {}
3+
}
4+
15
provider "kustomization" {
26
alias = "aks_zero"
37
kubeconfig_raw = module.aks_zero.kubeconfig

tests/aks_zero_providers.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
provider "azurerm" {
2+
features {}
3+
}
4+
15
provider "kustomization" {
26
alias = "aks_zero"
37
kubeconfig_raw = module.aks_zero.kubeconfig

0 commit comments

Comments
 (0)