provider/aws: Apply defaults to SQS Queues
This commit is contained in:
parent
6a42717f55
commit
348f6bad50
|
@ -50,22 +50,22 @@ func resourceAwsSqsQueue() *schema.Resource {
|
||||||
"delay_seconds": &schema.Schema{
|
"delay_seconds": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: true,
|
Default: 0,
|
||||||
},
|
},
|
||||||
"max_message_size": &schema.Schema{
|
"max_message_size": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: true,
|
Default: 262144,
|
||||||
},
|
},
|
||||||
"message_retention_seconds": &schema.Schema{
|
"message_retention_seconds": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: true,
|
Default: 345600,
|
||||||
},
|
},
|
||||||
"receive_wait_time_seconds": &schema.Schema{
|
"receive_wait_time_seconds": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: true,
|
Default: 0,
|
||||||
},
|
},
|
||||||
"visibility_timeout_seconds": &schema.Schema{
|
"visibility_timeout_seconds": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
|
|
Loading…
Reference in New Issue