talos/hack/cloud-image-uploader
Andrey Smirnov 61cacb3956 docs: provide list of AMIs on AWS documentation page
I wasn't able to find a more elegant way to get Vue content into
Markdown, so a bit of a hack with the template. Looks like frontmatter
parsing is also incomplete, so I could rely only on the page title.

Also changed the format of the image export to make it much easier to
work on that data in Vue.

Fixes #2834

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-25 10:26:50 -08:00
..
aws.go docs: provide list of AMIs on AWS documentation page 2020-11-25 10:26:50 -08:00
extract.go chore: add cloud image uploader (AWS AMIs for now) 2020-11-20 08:42:01 -08:00
go.mod docs: provide list of AMIs on AWS documentation page 2020-11-25 10:26:50 -08:00
go.sum docs: provide list of AMIs on AWS documentation page 2020-11-25 10:26:50 -08:00
main.go docs: provide list of AMIs on AWS documentation page 2020-11-25 10:26:50 -08: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