Skip to content

Commit c6b230d

Browse files
author
Garret Pick
committed
DEVOPS-1296: fix IAM profile warnings
1 parent e1dcfdb commit c6b230d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

certs/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ EOF
7878

7979
## Creates IAM instance profile
8080
resource "aws_iam_instance_profile" "profile" {
81-
name = "${var.stack_item_label}-${var.region}"
82-
roles = ["${aws_iam_role.role.name}"]
81+
name = "${var.stack_item_label}-${var.region}"
82+
role = "${aws_iam_role.role.name}"
8383
}
8484

8585
## Create elastic load balancer security group and rules

generate-certs/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ EOF
7979

8080
## Creates IAM instance profile
8181
resource "aws_iam_instance_profile" "profile" {
82-
name = "${var.stack_item_label}-${var.region}"
83-
roles = ["${aws_iam_role.role.name}"]
82+
name = "${var.stack_item_label}-${var.region}"
83+
role = "${aws_iam_role.role.name}"
8484
}
8585

8686
## Creates security group rules

0 commit comments

Comments
 (0)