brave-mouse-27112
03/11/2022, 11:48 AMaws-py-voting-app
example (https://github.com/pulumi/examples/blob/master/aws-py-voting-app/).
It's taking quite long and then failing with this error:
aws:lb:TargetGroup (redis-targetgroup):
error: 1 error occurred:
* creating urn:pulumi:dev::voting-app::aws:lb/targetGroup:TargetGroup::redis-targetgroup: 1 error occurred:
* error modifying Target Group Attributes: ValidationError: 'Stickiness type' must be one of [app_cookie, lb_cookie, source_ip]
status code: 400, request id: 9995a158-8d9b-4e97-93ed-884389a95f6d
Resources:
+ 17 created
Duration: 45m20s
I can not make sense of this error message because 'lb_cookie' is used as type, as far as I can tell:
https://github.com/pulumi/examples/blob/master/aws-py-voting-app/__main__.py#L130
Any hints what the problem could be?echoing-dinner-19531
03/11/2022, 11:55 AMlb_cookie
isn't supported with the TCP protocol.brave-mouse-27112
03/11/2022, 3:19 PMlb_cookie
for source_ip
. It works now! I think I still need to understand the change. Would this change be worth to commit to the examples
-repo?echoing-dinner-19531
03/11/2022, 4:30 PM