cloudcommons / terraform-azure-kubernetes Goto Github PK
View Code? Open in Web Editor NEWEnterprise-ready Azure Kubernetes Service Terraform module
License: MIT License
Enterprise-ready Azure Kubernetes Service Terraform module
License: MIT License
Dependabot couldn't parse the aad-cluster-role-admin.tf found at /aad-cluster-role-admin.tf
.
The error Dependabot encountered was:
unable to parse HCL: At 2:11: Unknown token: 2:11 IDENT var.rbac_aad_admin
Both auto_scaling_min_count and auto_scaling_max_count only allow a valid input range from 1-100
They should allow 0 when auto_scaling_enable is set to false, since Terraform requires that max_count and min_count must be set to 0 if autoscaling is set to false
There is a known issue by which the current module doesn't work with Kubernetes Provider 1.11.
The recommendation until this is solved is to fix your Kubernetes provider version to v1.10.
This bug is been discussed in terraform-provider-kubernetes#759
Terraform version: v0.12.19
Kubernetes provider version: ~> 1.11
Error:
terraform plan -var-file="vars/basic.tfvars"
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
------------------------------------------------------------------------
Error: Failed to initialize config: invalid configuration: no configuration has been provided
on providers.tf line 6, in provider "kubernetes":
6: provider "kubernetes" {
How to replicate the error:
provider "azurerm" {
version = "~> 2.0"
features {}
}
provider "kubernetes" {
version = "~> 1.11"
load_config_file = false
host = azurerm_kubernetes_cluster.cloudcommons.kube_config.0.host
client_certificate = base64decode(azurerm_kubernetes_cluster.cloudcommons.kube_config.0.client_certificate)
client_key = base64decode(azurerm_kubernetes_cluster.cloudcommons.kube_config.0.client_key)
cluster_ca_certificate = base64decode(azurerm_kubernetes_cluster.cloudcommons.kube_config.0.cluster_ca_certificate)
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.