Skip to content

Commit

Permalink
fix: warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
amanverma678 authored Nov 19, 2024
1 parent 579721f commit a165cdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions node_group/aws_managed/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ resource "aws_launch_template" "this" {
disable_api_termination = var.disable_api_termination
kernel_id = var.kernel_id
ram_disk_id = var.ram_disk_id
default_version = var.launch_template_default_version

dynamic "block_device_mappings" {
for_each = var.block_device_mappings
Expand Down
4 changes: 2 additions & 2 deletions node_group/self_managed/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
self_managed_node_group_default_tags = {
"Name" = "${module.labels.id}"
"Environment" = "${var.environment}"
"Name" = [module.labels.id]
"Environment" = [var.environment]
"kubernetes.io/cluster/${var.cluster_name}" = "owned"
"k8s.io/cluster/${var.cluster_name}" = "owned"
}
Expand Down

0 comments on commit a165cdc

Please sign in to comment.