1
0
mirror of https://github.com/elisspace/Wakanda-Forever.git synced 2026-08-29 15:44:11 +00:00

Customize AMI

This commit is contained in:
q0phi80
2022-07-13 11:21:28 -07:00
parent a8e243bf02
commit 67f74adbb4
4 changed files with 50 additions and 0 deletions

0
customized-ami/README.md Normal file
View File

View File

@@ -0,0 +1 @@
[{ "Description": "Windows 10 Pro", "Format": "vhd", "UserBucket": { "S3Bucket": "fluffy-wabbit-bucket", "S3Key": "Windows-10.vhd" } }]

View File

@@ -0,0 +1,34 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::fluffy-wabbit-bucket"
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::fluffy-wabbit-bucket/*"
]
},
{
"Effect": "Allow",
"Action":[
"ec2:ModifySnapshotAttribute",
"ec2:CopySnapshot",
"ec2:RegisterImage",
"ec2:Describe*"
],
"Resource": "*"
}
]
}

View File

@@ -0,0 +1,15 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": { "Service": "vmie.amazonaws.com" },
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals":{
"sts:Externalid": "vmimport"
}
}
}
]
}