You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removing the cache_enabled and cache_cluster_enabled settings from stage deployment options does not disable caching, as is the default behavior, despite cdk diff output suggesting it would be removed.
Side note: When trying to disabe caching entirely, the caching keys configuration might be removed at the same time. In this case, due to this bug, caching remains enabled but the caching keys are not respected anymore, which leads to caching/delivery of randomly wrong data to clients, causing havoc and mayhem.
Expected Behavior
The resource is configured just like it would be when it is initially created with the given template. (caching is disabled)
Observed Behavior
The resource is configured differently from how it would be initially created with the given template. (caching is enabled)
Test Cases
For complete details and test case, please refer to aws/aws-cdk#32342. Your colleagues asked me to create this issue here, as they suggest the root problem is with CFn, so I'm just relaying their message.
Other Details
No response
The text was updated successfully, but these errors were encountered:
Name of the resource
AWS::ApiGateway::Stage
Resource Name
No response
Issue Description
Removing the cache_enabled and cache_cluster_enabled settings from stage deployment options does not disable caching, as is the default behavior, despite cdk diff output suggesting it would be removed.
Side note: When trying to disabe caching entirely, the caching keys configuration might be removed at the same time. In this case, due to this bug, caching remains enabled but the caching keys are not respected anymore, which leads to caching/delivery of randomly wrong data to clients, causing havoc and mayhem.
Expected Behavior
The resource is configured just like it would be when it is initially created with the given template. (caching is disabled)
Observed Behavior
The resource is configured differently from how it would be initially created with the given template. (caching is enabled)
Test Cases
For complete details and test case, please refer to aws/aws-cdk#32342. Your colleagues asked me to create this issue here, as they suggest the root problem is with CFn, so I'm just relaying their message.
Other Details
No response
The text was updated successfully, but these errors were encountered: