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

Custom provider support #24

Open
jyecusch opened this issue May 3, 2023 · 5 comments
Open

Custom provider support #24

jyecusch opened this issue May 3, 2023 · 5 comments
Labels
cli CLI changes or enhancements core Changes to the Nitric gRPC server or contracts released Completed roadmap items

Comments

@jyecusch
Copy link
Member

jyecusch commented May 3, 2023

summary

Allow developers to build their own implementations of Nitric providers and use them with the Nitric CLI.

intended outcome

Allows for full custom provider development, where Nitric framework users can take full control of their deployment process or customize an existing provider.

@jyecusch jyecusch added cli CLI changes or enhancements core Changes to the Nitric gRPC server or contracts released Completed roadmap items labels May 3, 2023
@geoman2
Copy link

geoman2 commented May 19, 2023

any progress on this, Jye?

@jyecusch
Copy link
Member Author

jyecusch commented May 22, 2023

any progress on this, Jye?

Absolutely, thanks for checking in. The providers previously were baked directly into our CLI, they have now been separated so they can be downloaded and run independently. Since they communicate using gRPC, new providers can now also be written in languages other than Go, which we're hoping is helpful for teams using languages like TypeScript or Python to build custom solutions.

The first cut of the documentation on this functionality is here. This documentation could be hard to follow since the Nitric contributors are the only people who've really worked on providers at this stage.

We'd be happy to provide assistance or guidance if anyone wants to start building their own providers or contribute to the existing providers. We'll update the docs in turn to reflect what we learn from providing that help.

@tjholm also built a recent prototype provider that uses Terraform to deploy to AWS. It currently doesn't support all of the Nitric resources and requires a custom step to build containers, but we'd be happy to let you take a look if that would be useful. Otherwise, our existing Pulumi based providers are a good place to start.

@raksiv
Copy link
Member

raksiv commented May 22, 2023

@geoman2 do you have a specific resource that you'd like to build a custom provider for?

This is an area we'd like to put more focus on, so anything you can share would help us refine requirements.

@geoman2
Copy link

geoman2 commented May 23, 2023

Scaleway and cloudflare integration would be nice to have

@raksiv
Copy link
Member

raksiv commented May 23, 2023

@geoman2 thanks for the response, those are good suggestions.

Couple of followups -

  • Is there a project you're working on which requires scaleway or cloudflare?
  • Do you have any interest in co-developing a contribution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli CLI changes or enhancements core Changes to the Nitric gRPC server or contracts released Completed roadmap items
Projects
Status: Q2 2023 Apr-Jun
Development

No branches or pull requests

3 participants