-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Is your feature request related to a problem? Please describe.
This isn't specifically a feature request... more a discussion as to how best to do things.
Alongside my static app and API I might want to deploy other services (database, auth, etc.). These don't necessarily belong to a specific API or static app so I was wondering if you have any advice on how to go about adding these?
So far I've altered an API to include cognito + dynamodb to deploy with pulumi but ideally I'd have these elsewhere in their own applications/services as they won't change very often.
Describe the solution you'd like
Locally I've created a dynamodb app within nx. This is made up of a docker-compose file to run the database locally with a serve command and nothing else. My thinking is that I would be able to run deploy-it to generate a dynamodb pulumi app in the same way I can with an express app.
Describe alternatives you've considered
1. Base Infrastructure
I've considered is that this plugin can create its own application with some base/blueprint infrastructure where the user can add things that span multiple apps or won't change often. This could include things like a VPC, Database etc. but would be completely up to the user to build this out.
2. Pulumi wrapper
Another alternative is to create my own wrapper around pulumi, but that feels like duplicating the work you've already achieved here.
3. Pulumi directly
I could also add a pulumi file to the monorepo core somewhere and use pulumi directly.
Check which provider is affected:
[x] Azure
[x] AWS
[x] Google Cloud Platform
I've talked about AWS services in my examples since that's what I'm using but this could apply to any provider.
Additional context
I think I've covered this above. If you want more info let me know.