pulumi / examples

Infrastructure, containers, and serverless apps to AWS, Azure, GCP, and Kubernetes... all deployed with Pulumi
https://www.pulumi.com
Apache License 2.0
2.39k stars 879 forks source link

redis-targetgroup and flask-targetgroup fail with InvalidConfigurationRequest: Stickiness type 'lb_cookie' is not supported for target groups with the TCP protocol #1209

Open morganmcel opened 2 years ago

morganmcel commented 2 years ago

What happened?

Diagnostics: pulumi:pulumi:Stack (voting-app-voting-app): E0501 11:26:51.651192873 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:26:58.558481431 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:26:59.893276229 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:27:00.329287539 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:27:00.555086129 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:27:00.684555188 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:28:55.670594827 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:28:58.884890525 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies

error: update failed

docker:image:Image (flask-dockerimage): warning: WARNING! Your password will be stored unencrypted in /home/user/snap/docker/1767/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store

aws:lb:TargetGroup (flask-targetgroup): error: 1 error occurred:

Steps to reproduce

pulumi stack init voting-app-eadesign pulumi config set aws:region eu-west-1 pulumi config set redis-password --secret pulumi up

Expected Behavior

Stack should complete

Actual Behavior

Stack fails due to lb_cookie parameter

Versions used

No response

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

nonara commented 1 year ago

Changing type="lb_cookie" to type="source_ip" removes the error — https://github.com/ansible/ansible/issues/67993#issuecomment-594711100