-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drift Detection false positive for KmsKeyId property under AWS::Redshift::Cluster resource #1203
Comments
Ideally, drift detection should not have been performed on the KmsKeyId property as per - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html#drift-considerations drift detection shows as NOT_EQUAL. During drift detection, we run a describe over the cluster and compare with current template. |
https://i.amazon.com/issues/CFN-44852 to ignore the kmskeyid property |
Hi @shwetayakkali - Thanks a lot for the provided information. Unfortunately, we still see a drift reported if we set Could you please re-open this issue here? (or should I create a new issue with reference to this?) |
Confirmed. Issue still persists, recommend reopening ticket for further consideration. |
how do we add this property to be ignored for drift detection? Since, it should be considered for drift given as per :
|
Just retested, confirmed issue still relevant. Recommend re-opening this ticket
|
Similar issue as #1204 |
@prerna-p @aygold92 @kanitkah - Could you please re-open this issue in order to reflect the current state of this issue? - Once our teams hitting a drift and they assume a false-postive, they checking this github repo here, if it's a known issue. If it's closed, it's not found by the teams. In case the issue is closed by error, it's blocking us or generate extra efforts to debug into this drift (even it's not necessary). Thanks for understanding. PS: We are aware that Harshu & Team working on a general solution for this KMS-Alias drift false-positive. Once this option is available, closing this case would be valid. Cheers, Robert |
@rgoltz Can you confirm if you are seeing this issue on new stacks as well as existing stacks? We are working on the KMS Alias drift false positive, but the above issue is not about alias, just the full ARN and key, right? |
@prerna-p - Could you please re-open this issue as said by Harshu? |
Retested and confirmed. CDK v2.76.0
Expected
Actual
updated on aws-cloudformation/aws-cloudformation-resource-providers-redshift#132 and aws-cloudformation/aws-cloudformation-resource-providers-redshift#131 |
False-positive drift is also reported when using the key's alias
Expected
Actual
|
Name of the resource
AWS::Redshift::Cluster
Resource Name
No response
Issue Description
The
KmsKeyId
property for the AWS::Redshift::Cluster resource is marked as drifted when just the Id (not full ARN) is specified in the template and the stack is created.Ideally, drift detection should not have been performed on the
KmsKeyId
property as per - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html#drift-considerationsExpected Behavior
The
KmsKeyId
property should be IN_SYNC or NOT_CHECKED status.Observed Behavior
The
KmsKeyId
property is marked as NOT_EQUAL withexpected =
xxxx-xxxx-xxxx-xxxx
actual =
arn:aws:kms:us-east-1:123465798012:key/xxxx-xxxx-xxxx-xxxx
Test Cases
Steps to reproduce -
Other Details
No response
The text was updated successfully, but these errors were encountered: