Skip to content
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

fix: use traffic port for ALB healthcheck by default #391

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

jacobwinch
Copy link
Contributor

What does this change?

This simplifies the default healthcheck for ALBs by defaulting to using the traffic port, rather than defaulting to a commonly used (but hardcoded) value.

Does this change require changes to existing projects or CDK CLI?

I think it's very unlikely that any existing projects will be affected by this change.*

How to test

I think the updated unit tests are sufficient?

How can we measure success?

When defining the EC2 App pattern, we'll no longer need to override this default when a different traffic/application port is specified.

Have we considered potential risks?

*There is a small risk that a project is currently relying on this default to perform a healthcheck via port 9000 even though they are sending all other traffic to a different port. This strikes me as extremely unlikely, particularly given the low adoption levels for this project at this stage!

@jacobwinch jacobwinch requested a review from a team April 7, 2021 15:56
@jacobwinch jacobwinch merged commit 25f4bd0 into main Apr 8, 2021
@jacobwinch jacobwinch deleted the jw-fix-up-defaults branch April 8, 2021 06:33
@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2021

🎉 This PR is included in version 7.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants