CloudFormation reports incorrect drift for AWS::ECS::Cluster regarding aws:cloudformation:* AutoTags generated by CFN
Name of the resource
AWS::ECS::Cluster
Resource Name
No response
Issue Description
Once generating a new CloudFormation stack containing a AWS::ECS::Cluster resource, CloudFormation will add following automatic default AutoTags aws:cloudformation::
- aws:cloudformation:stack-name
- aws:cloudformation:logical-id
- aws:cloudformation:stack-id

Once you trigger a CloudFormation drift detection for such stack, it’s reporting a drift (details see "Observed Behavior").
Expected Behavior
Cloudformation drift detection must be aware of his “own” automatic set tags with naming-pattern aws:cloudformation: and doesn't reported those tags as drift for AWS::ECS::Cluster. Stack must be in state IN_SYNC.
Observed Behavior
Cloudformation reports his own AutoTags as drift, which is a bug. Stack is in state DRIFTED. It’s not possible to set or define tags starting with aws:cloudformation: within a CloudFormation template. Hence, it's not possible to fix this issue yet.
Below you can see the details of the reported drift:

Test Cases
Create a new stack with a simple AWS::ECS::Cluster, like:
EXXXXECSsandboxEXXXXECSsandboxClusterAXXXXXXF:
Type: AWS::ECS::Cluster
Properties:
ClusterName: EXXXXECS-sandbox-Cluster
Tags:
- Key: TagKeySetByCustomer1
Value: SameValue1
- Key: TagKeySetByCustomer2
Value: SameValue2
Other Details
No response
This issue should be fixed. Please retry this scenario and let us know if this is still an issue.
Hello @kanitkah. Unfortunately, it doesn't look like anything has been fixed here. The same drift for AWS::ECS::Cluster is still there.
This is still an issue for us as well. Thanks for looking into it.
The fix is still under deployment.
We can not confirm the status "Shipped" (aka. fixed) for region eu-central-1 yet - We will re-test soon and report here.
Issue is resolved. Testing in eu-central-1 is also fine now. Thanks for resolving this issue.