all: check construct id and name length #28551
Labels
@aws-cdk/aws-kms
Related to AWS Key Management
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the feature
Run into issues all the time where there is a cap on ID's from roles, kms keys, etc.
CDK should be aware of this and be able to detect when these will happen.
Not sure if this happens with construct ID length but pretty sure I've seen it happen in the past. I mostly see it with KMS key names, Role names, and a few other resources.
Use Case
Create a new role with some variables in it (like region or account name).
When using projen (or just cdk) and doing a "build" (or synth, lint, etc.) then cdk will check on name lengths.
Proposed Solution
When using projen (or just cdk) and doing a "build" (or synth, lint, etc.) then cdk will check on name lengths.
Other Information
No response
Acknowledgements
CDK version used
latest
Environment details (OS name and version, etc.)
Linux
The text was updated successfully, but these errors were encountered: