Skip to content

Commit

Permalink
fix: add tags for instance profile (#331)
Browse files Browse the repository at this point in the history
Co-authored-by: Akli Azzout <[email protected]>
  • Loading branch information
akli1512 and Akli Azzout authored Jul 8, 2021
1 parent 800c264 commit b42712f
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 @@ -261,6 +261,7 @@ module "cache" {
resource "aws_iam_instance_profile" "instance" {
name = "${var.environment}-instance-profile"
role = aws_iam_role.instance.name
tags = local.tags
}

resource "aws_iam_role" "instance" {
Expand Down

0 comments on commit b42712f

Please sign in to comment.