Skip to content

Fixes #136 by adding a session affinity feature #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Fixes #136 by adding a session affinity feature #137

wants to merge 1 commit into from

Conversation

danielhartnell
Copy link
Contributor

I only wanted to enable the resource creation if we set session affinity to true. I found some recommendations on how to work around Terraform's lack of if logic. Feel free to suggest changes if you're not comfortable with my chosen method.

In this PR, a boolean in the variables.tf file determines the count for the new resources.

Resources:
https://blog.gruntwork.io/terraform-tips-tricks-loops-if-statements-and-gotchas-f739bbae55f9
hashicorp/terraform#15281 (comment)

@tinnightcap
Copy link
Contributor

We discussed this and have decided not to include this as a feature. I spoke with the contributor and explained the trade-offs as well as how to implement this in their application code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants