File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,15 @@ Description: On a lot of outgoing connections use this together with the max
250
250
251
251
Type: ` number `
252
252
253
- Default: ` 1 `
253
+ Default: ` 0 `
254
+
255
+ ### tags
256
+
257
+ Description: Map of tags for the resources
258
+
259
+ Type: ` map(any) `
260
+
261
+ Default: ` {} `
254
262
255
263
## Outputs
256
264
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ resource "azurerm_kubernetes_cluster" "k8s" {
15
15
name = local. cluster_name
16
16
location = var. location
17
17
resource_group_name = var. resource_group
18
+ tags = var. tags
18
19
dns_prefix = var. dns_prefix == " NONE" ? local. cluster_name : var. dns_prefix
19
20
sku_tier = var. sku_tier
20
21
kubernetes_version = var. kubernetes_version
@@ -48,7 +49,7 @@ resource "azurerm_kubernetes_cluster" "k8s" {
48
49
network_plugin = " azure"
49
50
network_policy = var. network_policy
50
51
load_balancer_sku = length (var. node_pools ) > 0 ? " Standard" : var. load_balancer_sku
51
- dynamic load_balancer_profile {
52
+ dynamic " load_balancer_profile" {
52
53
for_each = azurerm_public_ip. public-ip-outbound
53
54
content {
54
55
outbound_ip_address_ids = azurerm_public_ip. public-ip-outbound [* ]. id
Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ variable "resource_group" {
18
18
description = " Azure Resource Group to use"
19
19
}
20
20
21
+ variable "tags" {
22
+ type = map (any )
23
+ description = " Map of tags for the resources"
24
+ default = {}
25
+ }
26
+
21
27
variable "client_id" {
22
28
type = string
23
29
description = " Azure client ID to use to manage Azure resources from the cluster, like f.e. load balancers"
You can’t perform that action at this time.
0 commit comments