(opensearch): Response object is too long from cloudformation when adding enough access policies despite the update succeeding. #29093
Labels
@aws-cdk/aws-opensearch
Related to the @aws-cdk/aws-opensearchservice package
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p3
Describe the bug
If you add enough access policies the response data from lambda is problematic.
The code is even aware of this limitation. However, clearly this is not sufficient.
We should be able to add policies that succeed in being updated on the domain by simply suppressing this data output.
Expected Behavior
Ability to add access policies up to opensearch limit, not cloudformation limits imposed by this custom resource.
Current Behavior
Failed cloudformation deployments.
UPDATE_FAILED | Response object is too long.
Reproduction Steps
Add enough access policies to an opensearch domain and try to deploy it via cdk.
Possible Solution
DomainConfig.AccessPolicies.Options
Additional Information/Context
No response
CDK CLI Version
2.126.0 (build fb74c41)
Framework Version
No response
Node.js Version
18
OS
AL2
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: