From cb7559596b69d0b4ca31942ca2eda59a1e5bb18e Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Thu, 8 Aug 2024 17:54:41 +0300 Subject: [PATCH] feat: Add missed tags (#204) * Update cloudwatch-alarm.tf * Update main.tf --- cloudwatch-alarm.tf | 2 ++ main.tf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cloudwatch-alarm.tf b/cloudwatch-alarm.tf index 331002d..1a854fa 100644 --- a/cloudwatch-alarm.tf +++ b/cloudwatch-alarm.tf @@ -29,4 +29,6 @@ resource "aws_cloudwatch_metric_alarm" "default" { alarm_actions = [ null_resource.check_alarm_action[count.index].triggers.action ] + + tags = module.this.tags } diff --git a/main.tf b/main.tf index f8e2185..665eb8d 100644 --- a/main.tf +++ b/main.tf @@ -90,6 +90,8 @@ resource "aws_iam_instance_profile" "default" { count = var.instance_profile_enabled ? local.instance_profile_count : 0 name = module.this.id role = one(aws_iam_role.default[*].name) + + tags = module.this.tags } resource "aws_iam_role" "default" {