Open danmx opened 4 years ago
I think we should fix it from the AWS sdk first as they are not checking this input at the creation https://github.com/aws/aws-sdk-go/blob/master/service/kms/api.go
If we want a validation for mechanism, first we should be able to map it at aws sdk, another question is 0 accepted during deletion ? We mabe should not omit empty as well.
AWS only supports
deletionPendingWindowInDays
from7
to30
days. When creating a resource there is no problem. It only raises the issue when you want to delete the key.Creation:
Logs:
Mitigation:
Manually edit
KMSKey
deletionPendingWindowInDays
value to correct one andkms-issuer
will schedule deletion of the key in AWS