Skip to content

RJPearson94/terraform-provider-twilio

Repository files navigation

Terraform Provider for Twilio

Terraform Provider Checks Terraform Registry PkgGoDev Release Go Report Card License

The Terraform Twilio provider is a plugin for Terraform that allows for the lifecycle management of supported Twilio resources.

⚠️ Disclaimer: This project is not an official Twilio project and is not supported or endorsed by Twilio in any way. It is maintained in my free time.

Getting Started

NOTE: The default branch for this project is called main

Documentation

Documentation of the provider and all supported resources can be found here

Documentation on managing sub-accounts can be found here

Installation

NOTE: This provider only supports Terraform 0.12+

Terraform 0.13+

The provider has been published to the Terraform Registry you need to add the following code to your Terraform configuration and run terraform init. Terraform will take care of installing the provider for you.

terraform {
  required_providers {
    twilio = {
      source = "RJPearson94/twilio"
      version = ">= 0.2.1"
    }
  }
}

provider "twilio" {
  # Configuration options
}

Terraform 0.12

This is a bit more work as you have to download the latest release of the terraform provider which can run on you machine operating system/ processor architecture. Then unzip the provider and place the provider in the ~/.terraform.d/plugins folder (on most operating systems) and %APPDATA%\terraform.d\plugins on Windows. For more information see the terraform docs

Dependencies