mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Because of the lack of Update, S3 Bucket Object needs to force new when changing the params
This commit is contained in:
parent
8e2163c963
commit
b3010e1412
@ -28,26 +28,31 @@ func resourceAwsS3BucketObject() *schema.Resource {
|
|||||||
"cache_control": &schema.Schema{
|
"cache_control": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"content_disposition": &schema.Schema{
|
"content_disposition": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"content_encoding": &schema.Schema{
|
"content_encoding": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"content_language": &schema.Schema{
|
"content_language": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"content_type": &schema.Schema{
|
"content_type": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"key": &schema.Schema{
|
"key": &schema.Schema{
|
||||||
|
Loading…
Reference in New Issue
Block a user