@@ -3,10 +3,10 @@ terraform {
33
44 backend "azurerm" {
55 storage_account_name = " {{ .Context.StorageAccount }}"
6- subscription_id = " {{ .Context.SubscriptionId }}"
7- resource_group_name = " {{ .Project }}"
8- container_name = " {{ .Bucket }}"
9- key = " {{ .Cluster }}/bootstrap/terraform.tfstate"
6+ subscription_id = " {{ .Context.SubscriptionId }}"
7+ resource_group_name = " {{ .Project }}"
8+ container_name = " {{ .Bucket }}"
9+ key = " {{ .Cluster }}/bootstrap/terraform.tfstate"
1010 }
1111
1212 required_providers {
@@ -27,15 +27,15 @@ terraform {
2727 version = " 3.6.0"
2828 }
2929 helm = {
30- source = " hashicorp/helm"
31- version = " 2.14 .0"
30+ source = " hashicorp/helm"
31+ version = " >= 3.0.0, < 4.0 .0"
3232 }
3333 local = {
34- source = " hashicorp/local"
34+ source = " hashicorp/local"
3535 version = " 2.5.2"
3636 }
3737 plural = {
38- source = " pluralsh/plural"
38+ source = " pluralsh/plural"
3939 version = " >= 0.2.16"
4040 }
4141 }
@@ -53,7 +53,7 @@ provider "azurerm" {
5353 }
5454
5555 subscription_id = " {{ .Context.SubscriptionId }}"
56- tenant_id = " {{ .Context.TenantId }}"
56+ tenant_id = " {{ .Context.TenantId }}"
5757}
5858
5959provider "kubernetes" {
@@ -64,7 +64,7 @@ provider "kubernetes" {
6464}
6565
6666provider "helm" {
67- kubernetes {
67+ kubernetes = {
6868 host = module.mgmt.cluster.cluster_fqdn
6969 cluster_ca_certificate = base64decode (module. mgmt . cluster . cluster_ca_certificate )
7070 client_certificate = base64decode (module. mgmt . cluster . client_certificate )
@@ -77,6 +77,6 @@ provider "plural" {
7777}
7878
7979variable "use_cli" {
80- type = bool
80+ type = bool
8181 default = true
8282}
0 commit comments