Must pip install every AWS service
See original GitHub issueNote: for support questions, please first reference our documentation, then use Stackoverflow. This repository’s issues are intended for feature requests and bug reports.
-
I’m submitting a …
- 🪲 bug report
- 🚀 feature request
- 📚 construct library gap
- ☎️ security issue or vulnerability => Please see policy
- ❓ support request => Please see note at the top of this template.
-
What is the current behavior? If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce Some Python developers don’t like having to pip install a package for every AWS service they want to use in their CDK apps. In their own words:
- “Vending all of the services as separate pip packages isn’t the easiest to work with”
- “Constantly going back and forth for a pypi package was a pain.”
- “not a huge fan of having to install each service separately, feels very npm-ish”
- “upgrading all my pip modules to the latest release was also kind of a pain.”
- “… first thought is… holy crap, that’s really granular. This isn’t node, people. Python folks do not expect that kind of granular packages!”
- What is the expected behavior (or behavior of feature suggested)?
1 package to rule them all
- What is the motivation / use case for changing the behavior or adding this feature?
a more Pythonic developer experience
-
Please tell us about your environment:
- Language: [ Python ]
-
Other information As an alternative approach to a monolithic package, what if there were init templates for Python CDK projects that populated the requirements.txt file with some or all of the modularized packages. For example
cdk init --language python all
references every CDK package in requirements.txt so thatpip install -r requirements.txt
gets everything. The ‘Lambda’ template creates a requirements.txt that references the Lambda, APIGateway, DynamoDB, S3, SNS, and SQS packages; ‘containers’ - ECS, ECR, EKS, and EC2; and so on.
Would this address the problem?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top GitHub Comments
What about providing a “bill-of-materials” package that depends on all packages. So each developer could decide to use individual packages or just add the bom-package?
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.