Skip to content

Plugin for the Twilio CLI to integrate Pulumi and Twilio in order to create, deploy, and manage Twilio infrastructure using code.

License

Notifications You must be signed in to change notification settings

kaiquelupo/plugin-twilio-infra

Repository files navigation

plugin-twilio-infra

Plugin for the Twilio CLI to integrate Pulumi and Twilio in order to create, deploy, and manage Twilio infrastructure using code.

PRs Welcome


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.

Requirements

Install the Pulumi CLI

To get started with the Pulumi CLI, check out the Download and Install page.

Also, you need a backend storage system to keep your infrastructure state. The options are:

  • The Pulumi Service backend
  • A self-managed backend, either stored locally on your filesystem or remotely using a cloud storage service

See State and Backends for more details.

For quick testing, you can easily create a free Pulumi account and run pulumi login to your storage backend.

Install the Twilio CLI

Via npm or yarn:

$ npm install -g twilio-cli
$ yarn global add twilio-cli

Via homebrew:

$ brew tap twilio/brew && brew install twilio

Link the Twilio CLI Infra Plugin

To get started, run npm install to install the plugin package dependencies. Afterwards, run the following command:

$ twilio plugins:install kaiquelupo/plugin-twilio-infra

You can now start using the twilio infra commands on your machine.

Usage

$ twilio infra --help
USAGE
  $ twilio infra
...

Commands

  • twilio infra:new
  • twilio infra:deploy
  • twilio infra:preview
  • twilio infra:watch
  • twilio infra:stack:new

To see the usage details and options for each subcommand, run twilio infra:<subcommand> --help.

Contributing

This project welcomes contributions from the community. Please see the CONTRIBUTING.md file for more details.

Code of Conduct

Please be aware that this project has a Code of Conduct. The tldr; is to just be excellent to each other ❤️

License

MIT

Twilio CLI Serverless Plugin

This plugin uses the Twilio CLI Serverless Plugin as its base repository. A big thank you to everyone involved in this project! #WeBuild

About

Plugin for the Twilio CLI to integrate Pulumi and Twilio in order to create, deploy, and manage Twilio infrastructure using code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published