twilio-pulumi-provider
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published
Powered by Twilio

Twilio Dynamic Provider for Pulumi

This is an experimental Twilio Dynamic Provider for Pulumi. The goal of this repository is to show how Twilio projects could be described as code and used in a CI/CD pipeline.

How to Use

Pulumi CLI

First, you need to install the Pulumi CLI on your machine. You will need the Pulumi CLI to test your code.

After installing the CLI, you need to login using pulumi login. By default, this will log you in to the managed Pulumi service backend. If you prefer to log in to a self-hosted service backend, specify a URL. For more information, please refer to the pulumi login reference page. Also, check the State and Backends section to understand how states are handled.

Install NPM Package

To install via npm, run:

npm install twilio-pulumi-provider

Also, this package has Pulumi as a peerDependency so you can use other providers in your code. To install, just run:

npm install @pulumi/pulumi

Learning from Examples

For a list of repository templates that show you how to use Pulumi for deploying your Twilio projects, see the Examples repo.

More about the project

Twilio

Twilio powers the future of business communications by enabling phones, VoIP, and messaging to be embedded into web, desktop, and mobile software. Millions of developers around the world have used Twilio to unlock the magic of communications to improve any human experience.

Twilio CLI Infra Plugin

This plugin adds the infra command to the Twilio CLI. It integrates Pulumi with Twilio and consists of subcommands that let you create, deploy, and manage Twilio infrastructure via code.

Pulumi

Pulumi is an open source infrastructure-as-code tool for creating, deploying, and managing cloud infrastructure. Pulumi works with traditional infrastructure like VMs, networks, and databases, in addition to modern architectures, including containers, Kubernetes clusters, and serverless functions.

Key Pulumi concepts you should be familiar with before using this provider are:

Dynamic Provider

There are different ways of creating providers inside Pulumi but for this project, we chose to implement it as a Dynamic Provider using Node.js which integrates with the official Twilio Node.js SDK. For more information, please read Intro to Infrastructure as Code with Twilio and Pulumi Dynamic Providers.

Package Sidebar

Install

npm i twilio-pulumi-provider

Weekly Downloads

9

Version

0.0.13

License

MIT

Unpacked Size

58 kB

Total Files

23

Last publish

Collaborators

  • kaiquelupo