Commit 380dcbad authored by Beckybrannan's avatar Beckybrannan

Testing with tf version tag

parent ac4459cf
......@@ -60,13 +60,13 @@ resource "aws_iam_policy" "steamhaus_apn" {
}
resource "aws_iam_role_policy_attachment" "steamhaus_apn" {
role = "${aws_iam_role.role[count.index].name}"
policy_arn = "${aws_iam_policy.steamhaus_apn[count.index].arn}"
role = "${aws_iam_role.role.name}"
policy_arn = "${aws_iam_policy.steamhaus_apn.arn}"
count = "${var.steamhaus_apn}"
}
resource "aws_iam_role_policy_attachment" "admin" {
role = "${aws_iam_role.role[count.index].name}"
role = "${aws_iam_role.role.name}"
policy_arn = "arn:aws:iam::aws:policy/AdministratorAccess"
count = "${var.admin}"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment