This commandline tools uploads a file to S3, as a proof of concept. All options are mandatory. Credentials are only read from the commandline and not from the environment or configuration files. The next step is to add support for importing from S3 to EC2, currently the images we produce cannot be imported as-is, so this requires more research. To try this out: create an S3 bucket, get your credentials and call the tool, passing any value as `key`. Note that if the key already exists, it will be overwritten. Signed-off-by: Tom Gundersen <teg@jklm.no>
12 lines
319 B
Modula-2
12 lines
319 B
Modula-2
module github.com/osbuild/osbuild-composer
|
|
|
|
go 1.12
|
|
|
|
require (
|
|
github.com/aws/aws-sdk-go v1.25.37
|
|
github.com/Azure/azure-storage-blob-go v0.8.0
|
|
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
|
|
github.com/gobwas/glob v0.2.3
|
|
github.com/google/uuid v1.1.1
|
|
github.com/julienschmidt/httprouter v1.2.0
|
|
)
|