aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.11k stars 54 forks source link

[AWS::SSM::Document] - [Enhancement] - Implement `Drift Detection` #1675

Open r-heimann opened 1 year ago

r-heimann commented 1 year ago

Name of the resource

AWS::SSM::Document

Issue Description

AWS::SSM::Document is not appearing in drift detection results, despite being documented as a resource being supported for drift detection:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html

Expected Behavior

AWS::SSM::Document included in drift detection results.

Observed Behavior

AWS::SSM::Document is NOT included in drift detection results.

Test Cases

  Document:
    Type: AWS::SSM::Document
    Properties:
      Name: "Test"
      DocumentType: "Command"
      Content:
        schemaVersion: "2.2"
        description: "Test"
        mainSteps:
          - action: aws:runShellScript
            name: runCommands
            precondition:
              StringEquals:
                - platformType
                - Linux
            inputs:
              runCommand:
                - 'Echo "CloudFormation is better than CDK"'
r-heimann commented 1 year ago

Updated title, as of today it is not supported.

r-heimann commented 11 months ago

AWS::SSM::Document now supports Drift Detection (its broken though)

r-heimann commented 11 months ago

Might have been deactivated again.

r-heimann commented 6 months ago

According to https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html it is supported, but it is not in eu-central-1

FarrOut commented 6 months ago

Tested and confirmed in the following regions:

Since this resource type is explicitly marked as supporting drift detection in official documentation yet performs otherwise, submitted a bug report