Add pre-built AMIs to Terraform and update documentation
This commit is contained in:
27
Terraform/vm_import/role-policy.json
Normal file
27
Terraform/vm_import/role-policy.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"Version":"2012-10-17",
|
||||
"Statement":[
|
||||
{
|
||||
"Effect":"Allow",
|
||||
"Action":[
|
||||
"s3:GetBucketLocation",
|
||||
"s3:GetObject",
|
||||
"s3:ListBucket"
|
||||
],
|
||||
"Resource":[
|
||||
"arn:aws:s3:::YOUR_BUCKET_GOES_HERE",
|
||||
"arn:aws:s3:::YOUR_BUCKET_GOES_HERE/*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Effect":"Allow",
|
||||
"Action":[
|
||||
"ec2:ModifySnapshotAttribute",
|
||||
"ec2:CopySnapshot",
|
||||
"ec2:RegisterImage",
|
||||
"ec2:Describe*"
|
||||
],
|
||||
"Resource":"*"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user