We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal
Implement an S3 backend so that we can store the state file in S3.
aws-sdk-go-v2
type S3Backend struct { file *S3File }
func NewS3Backend(bucket, region, key string) *S3Backend
func (b *S3Backend) Read() (byte[], error)
func (b *S3Backend) Write(data byte[]) error
type S3File struct { Bucket string Region string Key string ctx context.Context client *s3.Client }
func NewS3File(ctx context.Context, bucket, region, key string, client *s3.Client) (*S3File, error)
func (f *S3File) Put(data []byte) error
func (f *S3File) Download() ([]byte error)
#378
The text was updated successfully, but these errors were encountered:
Related to #378.
Sorry, something went wrong.
IronCore864
algobot76
Successfully merging a pull request may close this issue.
Proposal: S3 Backend
Description
Implement an S3 backend so that we can store the state file in S3.
Assumptions
aws-sdk-go-v2
for interactions with AWS apis.Design
S3Backend
S3File
Has the Feature been Requested Before?
#378
The text was updated successfully, but these errors were encountered: