Merge pull request #2194 from jjshoe/master

Let people know elbs support tags
This commit is contained in:
Paul Hinze 2015-06-02 14:11:31 -05:00
commit f057d6e176
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,10 @@ resource "aws_elb" "bar" {
idle_timeout = 400 idle_timeout = 400
connection_draining = true connection_draining = true
connection_draining_timeout = 400 connection_draining_timeout = 400
tags {
Name = "foobar-terraform-elb"
}
} }
``` ```
@ -65,6 +69,7 @@ The following arguments are supported:
* `idle_timeout` - (Optional) The time in seconds that the connection is allowed to be idle. Default: 60. * `idle_timeout` - (Optional) The time in seconds that the connection is allowed to be idle. Default: 60.
* `connection_draining` - (Optional) Boolean to enable connection draining. * `connection_draining` - (Optional) Boolean to enable connection draining.
* `connection_draining_timeout` - (Optional) The time in seconds to allow for connections to drain. * `connection_draining_timeout` - (Optional) The time in seconds to allow for connections to drain.
* `tags` - (Optional) A mapping of tags to assign to the resource.
Exactly one of `availability_zones` or `subnets` must be specified: this Exactly one of `availability_zones` or `subnets` must be specified: this
determines if the ELB exists in a VPC or in EC2-classic. determines if the ELB exists in a VPC or in EC2-classic.