mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Update aws-sdk-go-base and fix resulting type errors. (#957)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
This commit is contained in:
@@ -24,6 +24,7 @@ import (
|
||||
types "github.com/aws/aws-sdk-go-v2/service/s3/types"
|
||||
multierror "github.com/hashicorp/go-multierror"
|
||||
uuid "github.com/hashicorp/go-uuid"
|
||||
|
||||
"github.com/opentofu/opentofu/internal/states/remote"
|
||||
"github.com/opentofu/opentofu/internal/states/statemgr"
|
||||
)
|
||||
@@ -192,7 +193,7 @@ func (c *RemoteClient) Put(data []byte) error {
|
||||
|
||||
i := &s3.PutObjectInput{
|
||||
ContentType: &contentType,
|
||||
ContentLength: contentLength,
|
||||
ContentLength: aws.Int64(contentLength),
|
||||
Body: bytes.NewReader(data),
|
||||
Bucket: &c.bucketName,
|
||||
Key: &c.path,
|
||||
|
||||
Reference in New Issue
Block a user