talos/hack/cloud-image-uploader
Noel Georgi c4136c27da
fix: uki boot detection
Fix UKI boot detection

Also fix bug introduced by #10640 which imported the unix package making
talosctl non-unix builds broken.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-04-08 09:02:02 +05:30
..
aws.go refactor: rewrite cloud uploader to use AWS SDK Go v2 2024-12-27 20:28:12 +04:00
gcp.go fix: uki boot detection 2025-04-08 09:02:02 +05:30
go.mod feat: update dependencies 2025-04-02 21:18:25 +04:00
go.sum feat: update dependencies 2025-04-02 21:18:25 +04:00
main.go test: drop Azure CI pipelines 2025-03-24 18:30:21 +04:00
options.go test: drop Azure CI pipelines 2025-03-24 18:30:21 +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