Skip to content

Commit cb75595

Browse files
authored
feat: Add missed tags (#204)
* Update cloudwatch-alarm.tf * Update main.tf
1 parent fdfa320 commit cb75595

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cloudwatch-alarm.tf

+2
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ resource "aws_cloudwatch_metric_alarm" "default" {
2929
alarm_actions = [
3030
null_resource.check_alarm_action[count.index].triggers.action
3131
]
32+
33+
tags = module.this.tags
3234
}

main.tf

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ resource "aws_iam_instance_profile" "default" {
9090
count = var.instance_profile_enabled ? local.instance_profile_count : 0
9191
name = module.this.id
9292
role = one(aws_iam_role.default[*].name)
93+
94+
tags = module.this.tags
9395
}
9496

9597
resource "aws_iam_role" "default" {

0 commit comments

Comments
 (0)