mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
Add relative URI for AWS fargate. (#1337)
* f * r * f * gofmt * ep * Container url * Asd * nit * Update docs * keep old stuff * old is gold * indent * asd
This commit is contained in:
committed by
Aaron Schlesinger
parent
6a42417d5b
commit
16739a1213
+8
-7
@@ -2,11 +2,12 @@ package config
|
||||
|
||||
// S3Config specifies the properties required to use S3 as the storage backend
|
||||
type S3Config struct {
|
||||
Region string `validate:"required" envconfig:"AWS_REGION"`
|
||||
Key string `envconfig:"AWS_ACCESS_KEY_ID"`
|
||||
Secret string `envconfig:"AWS_SECRET_ACCESS_KEY"`
|
||||
Token string `envconfig:"AWS_SESSION_TOKEN"`
|
||||
Bucket string `validate:"required" envconfig:"ATHENS_S3_BUCKET_NAME"`
|
||||
UseDefaultConfiguration bool `envconfig:"AWS_USE_DEFAULT_CONFIGURATION"`
|
||||
CredentialsEndpoint string `envconfig:"AWS_CREDENTIALS_ENDPOINT"`
|
||||
Region string `validate:"required" envconfig:"AWS_REGION"`
|
||||
Key string `envconfig:"AWS_ACCESS_KEY_ID"`
|
||||
Secret string `envconfig:"AWS_SECRET_ACCESS_KEY"`
|
||||
Token string `envconfig:"AWS_SESSION_TOKEN"`
|
||||
Bucket string `validate:"required" envconfig:"ATHENS_S3_BUCKET_NAME"`
|
||||
UseDefaultConfiguration bool `envconfig:"AWS_USE_DEFAULT_CONFIGURATION"`
|
||||
CredentialsEndpoint string `envconfig:"AWS_CREDENTIALS_ENDPOINT"`
|
||||
AwsContainerCredentialsRelativeURI string `envconfig:"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user