Merge pull request #8487 from sethp-jive/patch-1
aws_iam_instance_profile: Restrict example perms
This commit is contained in:
commit
5d00670455
|
@ -27,7 +27,9 @@ resource "aws_iam_role" "role" {
|
|||
"Statement": [
|
||||
{
|
||||
"Action": "sts:AssumeRole",
|
||||
"Principal": {"AWS": "*"},
|
||||
"Principal": {
|
||||
"Service": "ec2.amazonaws.com"
|
||||
},
|
||||
"Effect": "Allow",
|
||||
"Sid": ""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue