package awsenv
Import Path
go.pact.im/x/awsenv (on go.dev)
Dependency Relation
imports 2 packages, and imported by 0 packages
Involved Source Files
Package awsenv extends AWS SDK configuration with additional environment
variables.
Package-Level Functions (total 2, both are exported)
S3 returns additional options for s3.New and s3.NewFromConfig.
Environment variables:
AWS_S3_USE_PATH_STYLE, AWS_S3_FORCE_PATH_STYLE
Sets s3.Options.UsePathStyle to true.
AWS_S3_ENDPOINT
Overrides AWS S3 endpoint (e.g. http://localhost:9000 for integration
tests with MinIO).
S3Bucket returns S3 bucket name from environment.
Environment variables:
AWS_S3_BUCKET
S3 bucket name to use.
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)