b1c0f99c04
It generates JSON file in the end with the upload results: ``` {"aws":{"regions":{"eu-central-1":{"arch":{"amd64":{"ami_id":"ami-0f559e06baf488ee1"},"arm64":{"ami_id":"ami-01edd1830a3c5d95c"}}},"eu-west-3":{"arch":{"amd64":{"ami_id":"ami-020f95a280c4c1c55"},"arm64":{"ami_id":"ami-0edcc7d694931a52c"}}}}}} ``` Regions, architectures can be modified as well. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
19 lines
349 B
JSON
19 lines
349 B
JSON
{
|
|
"Version":"2012-10-17",
|
|
"Statement":[
|
|
{
|
|
"Sid":"",
|
|
"Effect":"Allow",
|
|
"Principal":{
|
|
"Service":"vmie.amazonaws.com"
|
|
},
|
|
"Action":"sts:AssumeRole",
|
|
"Condition":{
|
|
"StringEquals":{
|
|
"sts:ExternalId":"vmimport"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|