How to handle error? You cannot change the health check interval for a target group with the TCP protocol

0

I am trying to modify a Cloudformation template. I modified the following keys for an ElasticLoadBalancingV2 TargetGroup:

...
 InternalNLBTargetGroup:
     # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html
     Type: AWS::ElasticLoadBalancingV2::TargetGroup
     Properties:
         ...
         HealthCheckIntervalSeconds: 10
  	 HealthyThresholdCount: 2
  	 UnhealthyThresholdCount: 3
         ...
...

When I try to update my Cloudformation stack, then the update logicalId InternalNLBTargetGroup fails with status reason You cannot change the health check interval for a target group with the TCP protocol (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: InvalidConfigurationRequest; Request ID: c46176c1-8101-4a8d-98e0-d1007c0ab019; Proxy: null)

What can I do to resolve this issue? I saw this error mentioned in the AWS docs but they didn't provide any next steps.

1개 답변
1

You will need to recreate the target group with the new desired health check interval.

AWS
답변함 2년 전
profile pictureAWS
전문가
검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠