Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Set reasonable defaults for ECS plugin health check timeout #4767

Merged
merged 2 commits into from
Jun 5, 2023

Conversation

paladin-devops
Copy link
Contributor

Prior to this PR, depending on the type of health check configured, the default timeout could have been set to be longer than the default interval (the defaults are set differently by AWS depending on how you configure the health check protocol), which is not a valid setting in AWS. This PR sets the default timeout to be lower than the interval - 5 second timeout and 30 second interval.

@paladin-devops paladin-devops added plugin/ecs ecosystem Things related to waypoint interacting with external systems backport/0.11.x labels Jun 5, 2023
@paladin-devops paladin-devops self-assigned this Jun 5, 2023
Prior to this commit, depending on the type of health check configured, the default timeout could have been set to be longer than the default interval, which is not a valid setting in AWS. This commit sets the default timeout to be lower than the interval.
Copy link
Member

@catsby catsby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just a question over if we should check the values prior to sending to AWS

builtin/aws/ecs/platform.go Show resolved Hide resolved
builtin/aws/ecs/platform.go Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/0.11.x ecosystem Things related to waypoint interacting with external systems plugin/aws plugin/ecs plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants