osbuild-upload-aws: remove aws sdk v1 dependency

This commit is contained in:
Sanne Raymaekers 2024-08-06 15:30:34 +02:00
parent c90b92f666
commit cda0db91f5

View file

@ -4,8 +4,6 @@ import (
"flag"
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/osbuild/osbuild-composer/internal/cloud/awscloud"
)
@ -46,7 +44,7 @@ func main() {
return
}
fmt.Printf("file uploaded to %s\n", aws.StringValue(&uploadOutput.Location))
fmt.Printf("file uploaded to %s\n", uploadOutput.Location)
var share []string
if shareWith != "" {
@ -64,5 +62,5 @@ func main() {
return
}
fmt.Printf("AMI registered: %s\n", aws.StringValue(ami))
fmt.Printf("AMI registered: %s\n", *ami)
}