talos/hack/cloud-image-uploader
Andrey Smirnov 96aa9638f7
chore: rename talos-systems/talos to siderolabs/talos
There's a cyclic dependency on siderolink library which imports talos
machinery back. We will fix that after we get talos pushed under a new
name.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-11-03 16:50:32 +04:00
..
aws.go chore: replace talos-systems Go modules with siderolabs 2022-11-01 12:55:40 +04:00
extract.go chore: add cloud image uploader (AWS AMIs for now) 2020-11-20 08:42:01 -08:00
go.mod chore: rename talos-systems/talos to siderolabs/talos 2022-11-03 16:50:32 +04:00
go.sum chore: rename talos-systems/talos to siderolabs/talos 2022-11-03 16:50:32 +04:00
main.go feat: add cloud images to releases 2021-06-23 16:40:54 -04: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