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.
NOTE: The default branch for this project is called main
Documentation of the provider and all supported resources can be found here
NOTE: This provider only supports Terraform 0.12+
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
}
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