forked from infra/ansible
fcos-upload-amis: grant iam:PassRole for vmimport role
EC2 VM Import/Export assumes the vmimport service role to read the uploaded image from S3 and create the snapshot, which requires the caller to hold iam:PassRole for that role. Signed-off-by: spresti <spresti@noreply.forge.fedoraproject.org>
This commit is contained in:
parent
e5b985a4c4
commit
3aa2128662
1 changed files with 7 additions and 0 deletions
|
|
@ -39,6 +39,13 @@
|
|||
"arn:aws:ec2:*::snapshot/*",
|
||||
"arn:aws:ec2:*::image/*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Sid": "VmimportPassRole",
|
||||
"Effect": "Allow",
|
||||
"Action": "iam:PassRole",
|
||||
"Resource": "arn:aws:iam::*:role/vmimport"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue