provider/aws: Apply defaults to SQS Queues

This commit is contained in:
clint shryock 2016-07-26 14:53:45 -05:00
parent 6a42717f55
commit 348f6bad50
1 changed files with 4 additions and 4 deletions

View File

@ -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,