mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-18 21:21:10 +02:00
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>
9 lines
313 B
Markdown
9 lines
313 B
Markdown
# cloud-image-uploader
|
|
|
|
## vmimport role
|
|
|
|
Role should be pre-created before running this command.
|
|
|
|
aws iam create-role --role-name vmimport --assume-role-policy-document file://trust-policy.json
|
|
aws iam put-role-policy --role-name vmimport --policy-name vmimport --policy-document file://role-policy.json
|