talos/hack/cloud-image-uploader
Andrey Smirnov 4e664ce174 chore: list specifically for enabled regions
AWS now has opt-in regions which are not enabled by default, so we need
to ignore such regions to avoid failures.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
(cherry picked from commit eb0b64d3138228a6c751387c720ca81c338b834d)
2021-04-23 16:31:05 +03:00
..
2021-04-12 06:32:17 -07:00
2021-04-12 06:32:17 -07:00

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