Skip to content

Commit 8a73eda

Browse files
Fix lambda target group: remove unsupported health_check block (#70)
Lambda target groups don't support health checks. The `health_check` block causes a validation error on create.
1 parent 3f6337e commit 8a73eda

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

terraform/platform/lambdas/main.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -776,10 +776,6 @@ resource "aws_ssm_parameter" "password_set_function_url" {
776776
resource "aws_lb_target_group" "password_set" {
777777
name = "${var.project}-password-set"
778778
target_type = "lambda"
779-
780-
health_check {
781-
enabled = false
782-
}
783779
}
784780

785781
resource "aws_lb_target_group_attachment" "password_set" {

0 commit comments

Comments
 (0)