Because of the lack of Update, S3 Bucket Object needs to force new when changing the params

This commit is contained in:
stack72 2015-10-08 18:50:30 +01:00
parent 8e2163c963
commit b3010e1412
1 changed files with 5 additions and 0 deletions

View File

@ -28,26 +28,31 @@ func resourceAwsS3BucketObject() *schema.Resource {
"cache_control": &schema.Schema{
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"content_disposition": &schema.Schema{
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"content_encoding": &schema.Schema{
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"content_language": &schema.Schema{
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"content_type": &schema.Schema{
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"key": &schema.Schema{