From d239885d327f1819aaf419ab285b61742c850526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Fri, 23 Aug 2024 09:41:05 +0200 Subject: [PATCH] docs: update README --- .config/tflint.hcl | 5 +++-- README.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/tflint.hcl b/.config/tflint.hcl index 759cf74..d60ea6d 100644 --- a/.config/tflint.hcl +++ b/.config/tflint.hcl @@ -1,13 +1,14 @@ plugin "azurerm" { enabled = true source = "github.com/terraform-linters/tflint-ruleset-azurerm" - version = "0.22.0" + version = "0.27.0" } config { - module = true + call_module_type = "local" force = false disabled_by_default = false + plugin_dir = "~/.tflint.d/plugins" varfile = ["terraform.tfvars.ci"] } diff --git a/README.md b/README.md index 08e03ea..ce7f8e5 100644 --- a/README.md +++ b/README.md @@ -315,7 +315,7 @@ module "aks" { | custom\_name | Custom AKS name, generated if not set. | `string` | `""` | no | | data\_collection\_rule | AKS Data Collection Rule configuration. |
object({
enabled = optional(bool, true)
custom_log_analytics_workspace_id = optional(string)
data_streams = optional(list(string), [
"Microsoft-ContainerLog",
"Microsoft-ContainerLogV2",
"Microsoft-KubeEvents",
"Microsoft-KubePodInventory",
"Microsoft-InsightsMetrics",
"Microsoft-ContainerInventory",
"Microsoft-ContainerNodeInventory",
"Microsoft-KubeNodeInventory",
"Microsoft-KubeServices",
"Microsoft-KubePVInventory"
])
namespaces_filter = optional(list(string), [
"kube-system",
"gatekeeper-system",
"kube-node-lease",
"calico-system",
])
namespace_filtering_mode = optional(string, "Exclude")
data_collection_interval = optional(string, "5m")
container_log_v2_enabled = optional(bool, true)
})
| `{}` | no | | data\_collection\_rule\_custom\_name | Custom name for the AKS Data Collection Rule. | `string` | `null` | no | -| default\_node\_pool | Default Node Pool configuration. |
object({
name = optional(string, "default")
type = optional(string, "VirtualMachineScaleSets")
vm_size = optional(string, "Standard_D2_v3")
os_sku = optional(string, "Ubuntu")
os_disk_type = optional(string, "Managed")
os_disk_size_gb = optional(number)
enable_auto_scaling = optional(bool, false)
node_count = optional(number, 1)
min_count = optional(number, 1)
max_count = optional(number, 10)
max_pods = optional(number)
node_labels = optional(map(any))
node_taints = optional(list(any))
enable_host_encryption = optional(bool)
enable_node_public_ip = optional(bool, false)
orchestrator_version = optional(string)
zones = optional(list(number), [1, 2, 3])
tags = optional(map(string), {})
temporary_name_for_rotation = optional(string)
upgrade_settings = optional(object({
max_surge = optional(string, "10%")
}), {})
})
| `{}` | no | +| default\_node\_pool | Default Node Pool configuration. |
object({
name = optional(string, "default")
type = optional(string, "VirtualMachineScaleSets")
vm_size = optional(string, "Standard_D2_v3")
os_sku = optional(string, "Ubuntu")
os_disk_type = optional(string, "Managed")
os_disk_size_gb = optional(number)
enable_auto_scaling = optional(bool, false)
node_count = optional(number, 1)
min_count = optional(number, 1)
max_count = optional(number, 10)
max_pods = optional(number)
node_labels = optional(map(any))
enable_host_encryption = optional(bool)
enable_node_public_ip = optional(bool, false)
orchestrator_version = optional(string)
zones = optional(list(number), [1, 2, 3])
tags = optional(map(string), {})
temporary_name_for_rotation = optional(string)
upgrade_settings = optional(object({
max_surge = optional(string, "10%")
}), {})
})
| `{}` | no | | default\_tags\_enabled | Option to enable or disable default tags. | `bool` | `true` | no | | environment | Project environment. | `string` | n/a | yes | | extra\_tags | Additional tags to add on resources. | `map(string)` | `{}` | no |