Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw an error when resulting response is over 4096 bytes #3

Closed
NightKhaos opened this issue Apr 3, 2018 · 1 comment
Closed

Throw an error when resulting response is over 4096 bytes #3

NightKhaos opened this issue Apr 3, 2018 · 1 comment
Assignees
Milestone

Comments

@NightKhaos
Copy link

CloudFormation cannot accept objects over 4096 bytes. This will result in a signal failure. We should therefore catch the case when the response exceeds more than 4096 bytes and throw a FAILED event instead.

@NightKhaos NightKhaos added this to the 1.1 milestone Apr 3, 2018
@NightKhaos NightKhaos self-assigned this Apr 3, 2018
@NightKhaos NightKhaos modified the milestones: 1.1, 1.2 May 10, 2018
taylorb-syd added a commit that referenced this issue Feb 15, 2021
@taylorb-syd
Copy link
Contributor

taylorb-syd commented Feb 15, 2021

Requires testing, merged progress into main. Testing likely written on top of main for Issue #2

taylorb-syd added a commit that referenced this issue Feb 15, 2023
* [Issue #18] Changed Whitelist/Blacklist to Allowlist/Blocklist, Refactored Code, Improved Testing Code, Improved README.md grammar

* [Issue #3] Introduced logic to check size of response. Refactored decorator exception handling.

* [Issue #4] Introduced a function to collapse the output data and used this in the cfnresponse function

* [1.2.0rc1] Documentation Pass to improve README.md

* [Issue #2] Implemented Unit Tests

* [Issue #21] Added the response headers for troubleshooting to the debug log output
taylorb-syd added a commit that referenced this issue Feb 15, 2023
* [Issue #18] Changed Whitelist/Blacklist to Allowlist/Blocklist, Refactored Code, Improved Testing Code, Improved README.md grammar

* [Issue #3] Introduced logic to check size of response. Refactored decorator exception handling.

* [Issue #4] Introduced a function to collapse the output data and used this in the cfnresponse function

* [1.2.0rc1] Documentation Pass to improve README.md

* [Issue #2] Implemented Unit Tests

* [Issue #21] Added the response headers for troubleshooting to the debug log output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants