aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

[AWS::KMS::Key] implement `drift detection`

Open
#1,671 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::KMS::Key

### Resource Name

_No response_

### Issue Description

[AWS::KMS::Key](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html) does not support drift detection.

[Resources supported for drift detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html).

### Expected Behavior

[AWS::KMS::Key] included in drift detection results.

### Observed Behavior

[AWS::KMS::Key] is NOT included in drift detection results.

### Test Cases

```
key = Key(self, "MyKey",
removal_policy=RemovalPolicy.DESTROY
)
```

```aws cloudformation detect-stack-drift --stack-name KmsStack```
```aws cloudformation describe-stack-resource-drifts --stack-name KmsStack```

```StackResourceDrifts: []```

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the AWS::KMS::Key CloudFormation documentation and the linked list of resources supported for drift detection; reproduce the gap with the provided detect-stack-drift and describe-stack-resource-drifts commands. Done means AWS::KMS::Key appears in stack drift results.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.