Skip to content

Commit cdf4737

Browse files
committed
feat(iam): add aws tags on iam role resource
This commit add "tags" parameter on terraform iam role resource.
1 parent 4be3160 commit cdf4737

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ resource "aws_iam_role" "this" {
2121
name = "${var.name}-scheduler-lambda"
2222
description = "Allows Lambda functions to stop and start ec2 and rds resources"
2323
assume_role_policy = data.aws_iam_policy_document.this.json
24+
tags = var.tags
2425
}
2526

2627
data "aws_iam_policy_document" "this" {

0 commit comments

Comments
 (0)