Skip to content

Commit

Permalink
fix: add control_plane.tags to instance tags
Browse files Browse the repository at this point in the history
The variable control_plane.tags is defined but never used, adding the
variable to the merged object for control plane instance tags

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
drGrove authored and frezbo committed Feb 15, 2024
1 parent 349d479 commit 089c141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/terraform/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ module "talos_control_plane_nodes" {
iam_role_policies = var.ccm ? {
"${var.cluster_name}-control-plane-ccm-policy" : aws_iam_policy.control_plane_ccm_policy[0].arn,
} : {}
tags = merge(var.extra_tags, local.cluster_required_tags)
tags = merge(var.extra_tags, var.control_plane.tags, local.cluster_required_tags)

vpc_security_group_ids = [module.cluster_sg.security_group_id]

Expand Down

0 comments on commit 089c141

Please sign in to comment.