Skip to content

Commit c66a702

Browse files
authored
feat: Add tags to aws_iam_instance_profile (#49)
1 parent d21226a commit c66a702

File tree

1 file changed

+2
-0
lines changed
  • modules/ecs-instance-profile

1 file changed

+2
-0
lines changed

modules/ecs-instance-profile/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ EOF
2525
resource "aws_iam_instance_profile" "this" {
2626
name = "${var.name}_ecs_instance_profile"
2727
role = aws_iam_role.this.name
28+
29+
tags = var.tags
2830
}
2931

3032
resource "aws_iam_role_policy_attachment" "ecs_ec2_role" {

0 commit comments

Comments
 (0)