Skip to content

Commit

Permalink
fixed pre-commit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dsreehas committed Apr 30, 2024
1 parent b44d4ae commit 98a93e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "aws_iam_role_policy_attachment" "managed_policy_attachments" {
# Create IAM instance profile
resource "aws_iam_instance_profile" "instance_profile" {
count = var.instance_profile_name != null ? 1 : 0
name = var.instance_profile_name
role = aws_iam_role.iam_role.name
name = var.instance_profile_name
role = aws_iam_role.iam_role.name

}

0 comments on commit 98a93e3

Please sign in to comment.