aws-solutions / cognito-user-profiles-export-reference-architecture

A reference architecture for exporting user profiles, group details, and group memberships from an Amazon Cognito User Pool to an Amazon DynamoDB global table using AWS Step Functions and AWS Lambda.
https://aws.amazon.com/solutions/implementations/cognito-user-profiles-export-reference-architecture/
Apache License 2.0
52 stars 19 forks source link

Update build-s3-dist.sh and run-unit-tests.sh to Handle Paths with Spaces #47

Open adam-intel opened 8 months ago

adam-intel commented 8 months ago

Description of changes: This update enhances the build script to properly handle paths with spaces. The script now correctly handles directory names that contain spaces by wrapping variables in quotes when they are used in commands.

This change does not alter any functional aspects of the script other than improving its compatibility with directory names containing spaces.

Testing: The script was tested in environments with and without spaces in directory paths to ensure that it functions correctly in both scenarios.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

mikeols commented 8 months ago

Thanks @adam-intel. These changes seem reasonable, but we will review. We cannot merge these PRs directly, but if this change is accepted, we can incorporate it into a future release.