Merge pull request #3385 from apparentlymart/remote-state-s3-json
S3 remote state use application/json Content-Type
This commit is contained in:
commit
fbfab83cbe
|
@ -133,7 +133,7 @@ func (c *S3Client) Get() (*Payload, error) {
|
|||
}
|
||||
|
||||
func (c *S3Client) Put(data []byte) error {
|
||||
contentType := "application/octet-stream"
|
||||
contentType := "application/json"
|
||||
contentLength := int64(len(data))
|
||||
|
||||
i := &s3.PutObjectInput{
|
||||
|
|
Loading…
Reference in New Issue