Nitric Pulumi Providers

Nitric enables application portability and deployments through pluggable modules known as providers. This allows applications to be deployed with many different Infrastructure Automation technologies, including Pulumi. Nitric has pre-built providers that use Pulumi to deploy to AWS, Azure and Google Cloud.

All pre-built Pulumi providers are direct deployment providers.

These providers are recommended if you're new to Nitric. Pulumi's Automation API lets Nitric define and deploy infrastructure directly, without transpiling to another DSL first. This reduces the steps and tooling needed for deployments.

If you have a specific need to use another IfC tool, such as Terraform, those providers are also available or you can build your own.

Prerequisites

The Pulumi CLI is required to deploy Nitric applications using the Pulumi Providers. You can find the installation instructions in the Pulumi documentation.

Available Pulumi Providers

How Nitric integrates with Pulumi

Nitric uses the Pulumi Automation API for its pre-built Pulumi Providers. This means there's no need to create a workspace to manage stacks alongside your project. Instead, the Provider interacts directly with Pulumi via the Automation API to manage stacks.

This does not change how you integrate Nitric with Pulumi Cloud if you wish to use it as a state backend for your stacks.

Using your Pulumi Cloud Account (Optional)

If you need to login to your Pulumi Cloud account you can do so with:

pulumi login

Once you're logged in, you can deploy your Nitric project using the Nitric CLI:

nitric up

Within your project directory and wait until the project has finished deploying. You can also follow your deployment on the Pulumi Cloud dashboard

Last updated on Oct 16, 2024