Skip to content

Commit

Permalink
fixing iam_instance_profile name
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Arnold committed Jun 20, 2018
1 parent c227471 commit 5ca67e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ resource "aws_instance" "bastion" {
]

key_name = "${var.key_name}"
iam_instance_profile = "${aws_iam_instance_profile.ansible_ec2.name}"
iam_instance_profile = "${aws_iam_instance_profile.bastion_ro.name}"
tags = "${merge(map("network", "${var.network_name}", "Name", "${var.network_name}-bastion"), var.resource_tags)}"
}

0 comments on commit 5ca67e2

Please sign in to comment.