talos/hack/cloud-image-uploader
Andrey Smirnov 59cfd312c1 chore: bump dependencies via dependabot
There were some upstream code changes in etcd, some code got moved
around.

PRs #3651 #3652 #3653 #3654 #3655 #3655 #3656 #3657 #3658
    #3659 #3660 #3661 #3662 #3663

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-24 12:15:15 -07:00
..
aws.go chore: list specifically for enabled regions 2021-04-20 05:47:30 -07:00
extract.go chore: add cloud image uploader (AWS AMIs for now) 2020-11-20 08:42:01 -08:00
go.mod chore: bump dependencies via dependabot 2021-05-24 12:15:15 -07:00
go.sum chore: bump dependencies via dependabot 2021-05-24 12:15:15 -07:00
main.go chore: list specifically for enabled regions 2021-04-20 05:47:30 -07:00
options.go chore: add cloud image uploader (AWS AMIs for now) 2020-11-20 08:42:01 -08:00
README.md chore: add cloud image uploader (AWS AMIs for now) 2020-11-20 08:42:01 -08:00
role-policy.json chore: add cloud image uploader (AWS AMIs for now) 2020-11-20 08:42:01 -08:00
trust-policy.json chore: add cloud image uploader (AWS AMIs for now) 2020-11-20 08:42:01 -08: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