Skip to content

Commit

Permalink
feat: Add missed tags (#204)
Browse files Browse the repository at this point in the history
* Update cloudwatch-alarm.tf

* Update main.tf
  • Loading branch information
MaxymVlasov authored Aug 8, 2024
1 parent fdfa320 commit cb75595
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloudwatch-alarm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit cb75595

Please sign in to comment.