Skip to content

Commit

Permalink
feat(iam): add aws tags on iam role resource
Browse files Browse the repository at this point in the history
This commit add "tags" parameter on terraform
iam role resource.
  • Loading branch information
diodonfrost committed Dec 31, 2020
1 parent 4be3160 commit cdf4737
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ resource "aws_iam_role" "this" {
name = "${var.name}-scheduler-lambda"
description = "Allows Lambda functions to stop and start ec2 and rds resources"
assume_role_policy = data.aws_iam_policy_document.this.json
tags = var.tags
}

data "aws_iam_policy_document" "this" {
Expand Down

0 comments on commit cdf4737

Please sign in to comment.