For example, getting a FastAPI stack operation with roles, load balancers, routing, etc. is a lot of work. This must have been written hundreds of times already -- so it makes little sense for me to write it yet again. However, I wouldn't know where to access work already done by the community.
q
quick-airport-30353
03/03/2022, 5:11 PM
I'd look around different cookie cutter projects if you're using Python.
s
stocky-wire-60053
03/03/2022, 5:43 PM
@quick-airport-30353 Thanks, I'm aware of cookie cutter for setting up various Python applications, but I don't really see anything in the space for default Pulumi templates. Frankly, I'm not even sure how I would discover them other than scroll through all 250+ pages in hopes of finding something. I believe projects such as AWS-CDK and Terraform have fairly good and dedicated libraries for common tasks, I can't help but imagine that Pulumi should as well?
q
quick-airport-30353
03/03/2022, 6:31 PM
yeah, I feel that. We're building out cookie cutter templates at work to help out other teams. 😕
s
stocky-restaurant-98004
03/03/2022, 6:46 PM
@stocky-wire-60053 There's a couple of options for this:
1. If there's a TF module, you can try tf2pulumi: https://github.com/pulumi/tf2pulumi
2. You can check the Pulumi registry for an existing Component: https://www.pulumi.com/registry/
3. (unlikely, but worth a shot) You could check PyPi, etc for a regular Python package that has the Pulumi code you're looking for.