From c14d8b1ad26bacf1232a09c6982a4bf11cd81347 Mon Sep 17 00:00:00 2001 From: Ray Layadi Date: Thu, 25 Jan 2024 09:14:17 +1100 Subject: [PATCH] fix: hc protocol --- fargate-v2.cfndsl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fargate-v2.cfndsl.rb b/fargate-v2.cfndsl.rb index 23b52e3..4629775 100644 --- a/fargate-v2.cfndsl.rb +++ b/fargate-v2.cfndsl.rb @@ -84,7 +84,7 @@ ## Optional if targetgroup.has_key?('healthcheck') HealthCheckPort targetgroup['healthcheck']['port'] if targetgroup['healthcheck'].has_key?('port') - HealthCheckProtocol targetgroup['healthcheck']['protocol'] if targetgroup['healthcheck'].has_key?('port') + HealthCheckProtocol targetgroup['healthcheck']['protocol'] if targetgroup['healthcheck'].has_key?('protocol') HealthCheckIntervalSeconds targetgroup['healthcheck']['interval'] if targetgroup['healthcheck'].has_key?('interval') HealthCheckTimeoutSeconds targetgroup['healthcheck']['timeout'] if targetgroup['healthcheck'].has_key?('timeout') HealthyThresholdCount targetgroup['healthcheck']['healthy_count'] if targetgroup['healthcheck'].has_key?('healthy_count')