You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you create a stack containing a AWS::ElasticLoadBalancingV2::TargetGroup and ProtocolVersion for TargetGroup, the CloudFormation drift detection reporting such stack as drifted - Even the ProtocolVersion is set correctly on the created TargetGroup (details see "Observed Behavior").
Expected Behavior
Stack is in state IN_SYNC, since template and resource have the same, correct setting.
If you set ProtocolVersion in your CFN template (e.g. to HTTP1 or HTTP2), you stack / this resource is in state DRIFTED after running CFN Drift detection - Details see: "Test Case".
Test Cases
** Create new Stack using following example (please mind to adjust VpcId fitting your account) in eu-central-1
** After stack is created, please check your TargetGroup resource in Console for ProtocolVersion - Here in the example it's set to HTTP2 correctly.
** Go to CFN Console and run CFN Drift detection via: (in Console using "Stack actions" => "Detect drift". After you triggered this process, please wait for ca. 1 min and check again the Drift status: Stack went in state DRIFTED. Check the Drift-Details - You will that ProtocolVersion is not listed under "Actual", even it's in place within the TargetGroup:
Other Details
No response
The text was updated successfully, but these errors were encountered:
Hey CFN-team, did you already fix this issue with ProtocolVersion as propety of AWS::ElasticLoadBalancingV2::TargetGroup? - In case of, I can ran a re-test on my end :)
@rgoltz CFN team here. Thank you for reporting this issue and for your patience. Yes we have a fix for this issue. ETA Feb 1st, 2023. I will update here once everything is completed
@abenetad - Thanks for the update and the information. I've re-tested the bugfix successfully. I'll go ahead and close this issue as successfully resolved.
Name of the resource
AWS::ElasticLoadBalancingV2::TargetGroup
Resource Name
No response
Issue Description
Once you create a stack containing a
AWS::ElasticLoadBalancingV2::TargetGroup
andProtocolVersion
for TargetGroup, the CloudFormation drift detection reporting such stack as drifted - Even the ProtocolVersion is set correctly on the created TargetGroup (details see "Observed Behavior").Expected Behavior
Stack is in state IN_SYNC, since template and resource have the same, correct setting.
Observed Behavior
Following #713 the setting
ProtocolVersion
is supported since Feb 2021. The CFN docs https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-protocolversion reflect this as well.If you set
ProtocolVersion
in your CFN template (e.g. toHTTP1
orHTTP2
), you stack / this resource is in state DRIFTED after running CFN Drift detection - Details see: "Test Case".Test Cases
** Create new Stack using following example (please mind to adjust VpcId fitting your account) in eu-central-1
** After stack is created, please check your TargetGroup resource in Console for ProtocolVersion - Here in the example it's set to HTTP2 correctly.
** Go to CFN Console and run CFN Drift detection via: (in Console using "Stack actions" => "Detect drift". After you triggered this process, please wait for ca. 1 min and check again the Drift status: Stack went in state DRIFTED. Check the Drift-Details - You will that ProtocolVersion is not listed under "Actual", even it's in place within the TargetGroup:
Other Details
No response
The text was updated successfully, but these errors were encountered: