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

(Docs) Added information on the deployment docs for reducing deployment size when using aws/google SDKs #1683

Merged
merged 1 commit into from
Nov 2, 2023
Merged

(Docs) Added information on the deployment docs for reducing deployment size when using aws/google SDKs #1683

merged 1 commit into from
Nov 2, 2023

Conversation

danniehansen
Copy link
Contributor

My codebase was sitting just on the edge of maximum deployment size & every now and then staging deployments would complain after our patching routine because google or AWS added new services that increased the deployment size.

Our solution have for years been just to extend the never ending exclude list with new services. But this time i got quite annoying by it and with a few searches i found some nifty composer scripts that can be used to automatically cleanup unused services in both the Google and AWS SDKs!

AWS SDK was heavily inspired by aws/aws-sdk-php#2456 - so the syntax is much the same.

This change adds a small callout segment in the deployment which just highlights this as these packages are often found in serverless deployments.

…reducing deployment size when using aws/google dependencies
@mnapoli
Copy link
Member

mnapoli commented Nov 2, 2023

Thank you!

@mnapoli mnapoli merged commit 5a5db92 into brefphp:master Nov 2, 2023
@danniehansen danniehansen deleted the hotfix/unused-services-cleanup branch November 2, 2023 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants