This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
Releases: Preskton/terraform-provider-twilio
Releases · Preskton/terraform-provider-twilio
Fixed subaccount deletion
Subaccounts should now properly deleted on destroy
. Hooray!
Credit to @terev!
Ready for the Terraform Registry!
No new features in this release, but it does prepare terraform-provider-twilio
for inclusion in the Terraform Registry!
`twilio_api_key`
Adds support for twilio_api_key
to create, well... API keys.
Currently supports create & read - will add update (for the friendly name) if anyone's interested.
Example:
resource "twilio_api_key" "woomy" {
friendly_name = "My Super Secret API Key"
}
v0.1.2 - `twilio_phone_number` love
twilio_phone_number
now usable for most purposes!
- Create, Update, and Delete fully functional (#3)
- All attributes have helpful descriptions
- Finding phone numbers
- Search by area code
- Free form sequence search
- Configuration settings
- Voice Settings
- SMS Settings
- Application SID
- Primary and fallback URLs and methods
- Status callback
- URL and method
- Emergency calling (not fully tested, as I don't have a validated Address at the moment)
- Address SID
- Status
Detailed example of validated fields
resource "twilio_phone_number" "area_code_test" {
country_code = "US"
area_code = "972"
friendly_name = "terraform-provider-twilio area code test number"
voice {
primary_url = "https://genoq.com/handlers/voice-primary"
primary_http_method = "POST"
fallback_url = "https://genoq.com/handlers/voice-fallback"
fallback_http_method = "GET"
caller_id_enabled = "true"
receive_mode = "voice"
}
sms {
primary_url = "https://genoq.com/handlers/sms-primary"
primary_http_method = "POST"
fallback_url = "https://genoq.com/handlers/sms-fallback"
fallback_http_method = "GeT"
}
status_callback {
url = "https://genoq.com/handlers/status-callback"
http_method = "GET"
}
emergency {
address_sid = "ADXXXXX"
status = "active"
}
}
resource "twilio_phone_number" "search_test" {
country_code = "US"
search = "972*"
friendly_name = "terraform-provider-twilio by-search test number"
sms {
primary_url = "https://genoq.com/handlers/sms-primary"
primary_http_method = "POST"
fallback_url = "https://genoq.com/handlers/sms-fallback"
fallback_http_method = "GET"
}
voice {
receive_mode = "fax"
application_sid = "APXXXXX"
}
}
Initial preview release
Initial release. Likely only useful for managing phone numbers. More soon?