Add option for preserving symlinks for `aws deploy push` command
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Describe the feature
The feature would add a `--preserve-symlinks` option to the `aws deploy push` command. By default, symlinks are materialized into their targets when they are zipped for deploy. Some applications, e.g. PHP's Doctrine ORM vendor/bin scripts, rely on symlinks to be preserved to work, and are thus broken by the default deploy behavior if your PHP project's deployment archive includes its vendor directory (which it should).
A corresponding `--no-preserve-symlinks` option would also be added as part of the feature.
### Use Case
Some applications, e.g. PHP's Doctrine ORM vendor/bin scripts, rely on symlinks to be preserved to work, and are thus broken by the default deploy behavior if your PHP project's deployment archive includes its vendor directory (which it should).
### Proposed Solution
#3071
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CLI version used
any
### Environment details (OS name and version, etc.)
any
Contributor guide
Assessment
This issue has not been assessed yet.