talos/hack/cloud-image-uploader
Andrew Longwill bfc57fb863
chore: tag aws snapshots created via ci with the image name
This is to make them more easily identifiable for clean up if required.

Signed-off-by: Andrew Longwill <andrew.longwill@siderolabs.com>
2025-07-25 17:55:57 +01:00
..
aws.go chore: tag aws snapshots created via ci with the image name 2025-07-25 17:55:57 +01:00
gcp.go feat: update dependencies, Kubernetes 1.34.0-alpha.2 2025-06-30 19:05:22 +04:00
go.mod feat: update Kuberentes 1.34.0-beta.0 2025-07-17 18:55:31 +04:00
go.sum feat: update Kuberentes 1.34.0-beta.0 2025-07-17 18:55:31 +04:00
main.go test: fix NVIDIA OSS tests 2025-04-15 21:15:36 +04:00
options.go test: fix NVIDIA OSS tests 2025-04-15 21:15:36 +04:00
README.md test: drop Azure CI pipelines 2025-03-24 18:30:21 +04: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

Google Cloud Pre-requisites

  • GOOGLE_PROJECT_ID - Google Cloud Project ID
  • GOOGLE_CREDENTIALS_JSON - Google Cloud Service Account JSON