Drift detection operations are not functioning for the AWS::Logs::QueryDefinition resource type.
Expected Behavior
Running a drift detection should compare the expected and actual configuration of the resource.
Observed Behavior
When running a drift detection operation, CloudFormation marks the resource as MODIFIED, returning a REMOVED status under the 'Change' column. This behavior is consistent and easily replicated.
Name of the resource
AWS::Logs::QueryDefinition
Resource Name
No response
Issue Description
Drift detection operations are not functioning for the
AWS::Logs::QueryDefinition
resource type.Expected Behavior
Running a drift detection should compare the expected and actual configuration of the resource.
Observed Behavior
When running a drift detection operation, CloudFormation marks the resource as
MODIFIED
, returning aREMOVED
status under the 'Change' column. This behavior is consistent and easily replicated.Test Cases
AWS::Logs::QueryDefinition
:MODIFIED
status, with the following details:Expected
Actual
Other Details
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html