Skip to content

Commit

Permalink
fix(s3-deployment): handle properly quoted strings in JSON files
Browse files Browse the repository at this point in the history
The S3 deployment custom resource now properly handles strings containing quotes
when used in JSON files, while maintaining the existing behavior for other file
types including YAML files.

Changes:
- Added JSON detection and special handling in the Lambda custom resource
- Added integration tests for both JSON and YAML files with quoted values
- Added bucket cleanup configuration to the test stack

Test cases show that:
- JSON files properly escape quotes: {"secret_value": "test\"with\"quotes"}
- YAML files work as-is: secret_value: test"with"quotes
  • Loading branch information
scorbiere committed Mar 6, 2025
1 parent 97744e7 commit d1d6c9d
Show file tree
Hide file tree
Showing 17 changed files with 36,776 additions and 65 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d1d6c9d

Please sign in to comment.