Merge pull request #8487 from sethp-jive/patch-1

aws_iam_instance_profile: Restrict example perms
This commit is contained in:
Mitchell Hashimoto 2016-08-25 22:17:48 -07:00 committed by GitHub
commit 5d00670455
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ resource "aws_iam_role" "role" {
"Statement": [ "Statement": [
{ {
"Action": "sts:AssumeRole", "Action": "sts:AssumeRole",
"Principal": {"AWS": "*"}, "Principal": {
"Service": "ec2.amazonaws.com"
},
"Effect": "Allow", "Effect": "Allow",
"Sid": "" "Sid": ""
} }