1
0
Fork 0
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:
Steven Presti 2026-10-05 21:15:06 +00:00 • committed by Kevin Fenzi
commit 3aa2128662

View file

@ -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"
}
}
]
}