Skip to content

Instantly share code, notes, and snippets.

@radeksimko
Created September 19, 2015 19:12
Show Gist options
  • Save radeksimko/f01168a61cbaa222b16c to your computer and use it in GitHub Desktop.
Save radeksimko/f01168a61cbaa222b16c to your computer and use it in GitHub Desktop.
aws-support-ticket

Hi, documentation for ELB Cookie Stickiness Policy is not up to date:

http://docs.aws.amazon.com/cli/latest/reference/elb/create-app-cookie-stickiness-policy.html http://docs.aws.amazon.com/cli/latest/reference/elb/create-lb-cookie-stickiness-policy.html

Try the following example:

aws elb create-app-cookie-stickiness-policy --load-balancer-name test-lb --policy-name yada_yada --cookie-name yada_yada-124

A client error (ValidationError) occurred when calling the CreateAppCookieStickinessPolicy operation: Policy name cannot contain characters that are not letters, or digits or the dash.

or

aws elb create-lb-cookie-stickiness-policy --load-balancer-name test-lb --policy-name yada_yada

A client error (ValidationError) occurred when calling the CreateLBCookieStickinessPolicy operation: Policy name cannot contain characters that are not letters, or digits or the dash.

I believe these constraints should be documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment