From 4303676791b02d36b90a5e1bdceaa912a25c93d4 Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Thu, 8 Aug 2024 15:03:59 +0300 Subject: [PATCH 1/2] Update cloudwatch-alarm.tf --- cloudwatch-alarm.tf | 2 ++ 1 file changed, 2 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 } From 113e9294e25add40a88a04a2219fa5b38124ec37 Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Thu, 8 Aug 2024 15:05:49 +0300 Subject: [PATCH 2/2] Update main.tf --- main.tf | 2 ++ 1 file changed, 2 insertions(+) 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" {