Renames AwsKms to AwsKmsConfig in encryption-at-rest to avoid errors in CDK:
src/l1-resources/custom-db-role/index.ts:69:18
69 export interface Action {
~~~~~~
The declaring interface is introduced here
src/l1-resources/encryption-at-rest/index.ts:53:18 - error JSII5011: Submodule "aws_kms" conflicts with "AwsKms, as different languages could represent it as: "aws_kms", "awsKms", "AwsKms""
53 export interface AwsKms {
~~~~~~
node_modules/aws-cdk-lib/index.d.ts:142:13
142 export * as aws_kms from './aws-kms';
~~~~~~~
This is the conflicting submodule declaration
Jira ticket: CLOUDP-Renames AwsKms to AwsKmsConfig in encryption-at-rest
Type of change:
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)
[ ] This change requires a documentation update
[ ] If changes include removal or addition of 3rd party GitHub actions, I updated our internal document. Reach out to the APIx Integration slack channel to get access to the internal document.
Proposed changes
Renames
AwsKms
toAwsKmsConfig
inencryption-at-rest
to avoid errors in CDK:Jira ticket: CLOUDP-Renames
AwsKms
toAwsKmsConfig
inencryption-at-rest
Type of change:
Manual QA performed:
Required Checklist:
make fmt
and formatted my codeFurther comments