Changed `attribute` argument to be optional.

Changed the `attribute` argument of the resource to be optional vs.
required.
This commit is contained in:
Mosley, Franklin 2016-03-15 00:27:58 -05:00 committed by Kraig Amador
parent 8a24dd8efe
commit eb0cd14f41
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ func resourceAwsLBSSLNegotiationPolicy() *schema.Resource {
"attribute": &schema.Schema{ "attribute": &schema.Schema{
Type: schema.TypeSet, Type: schema.TypeSet,
Required: true, Optional: true,
ForceNew: true, ForceNew: true,
Elem: &schema.Resource{ Elem: &schema.Resource{
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{

View File

@ -70,11 +70,11 @@ The following arguments are supported:
* `lb_port` - (Required) The load balancer port to which the policy * `lb_port` - (Required) The load balancer port to which the policy
should be applied. This must be an active listener on the load should be applied. This must be an active listener on the load
balancer. balancer.
* `attribute` - (At least one Required) An SSL Negotiation policy attribute. Each has two properties: * `attribute` - (Optional) An SSL Negotiation policy attribute. Each has two properties:
* `name` - The name of the attribute * `name` - The name of the attribute
* `value` - The value of the attribute * `value` - The value of the attribute
To set your attributes, please see the [AWS Elastic Load Balancer Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers. To set your attributes, please see the [AWS Elastic Load Balancing Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers.
## Attributes Reference ## Attributes Reference