fix illegal char in the policy name

aws_lb_cookie_stickiness_policy.elbland: Error creating LBCookieStickinessPolicy: ValidationError: Policy name cannot contain characters that are not letters, or digits or the dash.
This commit is contained in:
Geert Theys 2015-10-13 12:57:22 +02:00
parent 7549872780
commit aaac9435ec
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ resource "aws_elb" "lb" {
}
resource "aws_lb_cookie_stickiness_policy" "foo" {
name = "foo_policy"
name = "foo-policy"
load_balancer = "${aws_elb.lb.id}"
lb_port = 80
cookie_expiration_period = 600