4 ms·
Why do people do this? I skim the article. I go wait "Nitric sounds like Pulumi". A few googles later, I find this : https://nitric.io/docs/reference/pulumi htt
by k8svet 3y ago
Why do people do this? I skim the article. I go wait "Nitric sounds like Pulumi". A few googles later, I find this : https://nitric.io/docs/reference/pulumi https://nitric.io/docs/reference/pulumi
So, it's fast because it uses Pulumi... Does Pulumi no longer build on Terraform providers? (EDIT: looking, it seems like many Pulumi providers are still terraform wrappers...)
Either way, it feels like this is just a Pulumi feature.
- arcticfox 3y agoIt looks like it's letting you put your application code and Pulumi code in one spot. Why...not really sure, outside of a very short "Hello World".
- rk2 3y agoNot quite, Nitric infers the necessary cloud runtime by building a spec based on the resources you've imported into your application code. At deployment time Pulumi is used to provision the resources (because we think it is an awesome tool). Note that we could have also opted for any other IaC like CDKTF, and that you could either modify our providers or implement your own providers using your IaC of choice.
- SparkyMcUnicorn 3y agoPulumi doesn't rely on Terraform core at all, and Terraform providers use a bridge[0]. [0] https://github.com/pulumi/pulumi-terraform-bridge https://github.com/pulumi/pulumi-terraform-bridge
- lkjaodifywefas 3y agoNo, most of the pulumi providers are wrappers around terraform providers. The exception are native providers which use new stuff like AWS Cloud Control API.
- SparkyMcUnicorn 3y agoI'm well aware of that, and what I said is still true. You might want to look at the repo I linked, check out the source, or hear it directly from the folks at Pulumi if you're interested.
- tholm 3y agoHopefully this helps give a better idea of how it works under the hood: https://nitric.io/docs/reference/providers/custom/building-custom-provider https://nitric.io/docs/reference/providers/custom/building-c... Not just a feature of Pulumi, its just used as the IaC of choice for the out of the box deployment providers. This can be replaced with anything. At its core Nitric is really a tool to collect infrastructure requirements from an application and those requirements are delivered to a server that is built using the Nitric deployment APIs.