AwsCustomResource: Response too long when doing Securityhub:createConfigurationPolicy #28498
Labels
@aws-cdk/aws-iam
Related to AWS Identity and Access Management
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
We're trying to set up a securityhub configuration policy. There's no native cloudformation support for this so we figured a custom resource would be suitable.
This fails with
Response object is too long
. Event though we've tried to ignore all errors withignoreErrorCodesMatching: '.*'
.The policy is successfully created, but the resource shows it as failing.
Expected Behavior
The custom resource to be created successfully.
Current Behavior
Resource fails with
Response object is too long
Reproduction Steps
See above
Possible Solution
Handle the longer response objects? Escape hatch similar to
ignoreErrorCodesMatching
to ignore this type of failure?Additional Information/Context
No response
CDK CLI Version
2.115.0 (build 58027ee)
Framework Version
No response
Node.js Version
20
OS
Artix Linux
Language
TypeScript
Language Version
TypeScript 5.3.3
Other information
No response
The text was updated successfully, but these errors were encountered: