great-plastic-10981
02/02/2024, 7:31 PM./infra/
folder and npm i
pulumi’s deps in there?
or should i mix pulumi’s deps with my own project’s package.json
as dev dependencies?millions-furniture-75402
02/02/2024, 8:03 PMpackage.json
but also put [most of] the pulumi stuff in a subdir.
It really depends on your use case.
For simplicity, the majority of our stacks have chosen to streamline it and use option 3, sharing the package.json
using devDependencies
which is usually just 2-3 pulumi packages. The Pulumi files go into deploy
so any IaC solution can be expected in a sub dir there.millions-furniture-75402
02/02/2024, 8:05 PMPulumi.yaml
then looks something like:
name: some-service
description: Some service
main: deploy/pulumi
stackConfigDir: deploy/pulumi
runtime:
name: python
options:
virtualenv: venv
great-plastic-10981
02/02/2024, 8:30 PM