mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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
Block a user