Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Releases: Preskton/terraform-provider-twilio

Fixed subaccount deletion

21 Sep 14:02
Compare
Choose a tag to compare

Subaccounts should now properly deleted on destroy. Hooray!

Credit to @terev!

Ready for the Terraform Registry!

21 Aug 23:22
7ed6f4a
Compare
Choose a tag to compare

No new features in this release, but it does prepare terraform-provider-twilio for inclusion in the Terraform Registry!

`twilio_api_key`

27 Dec 19:20
Compare
Choose a tag to compare

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

12 Oct 18:29
4742748
Compare
Choose a tag to compare

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
      • Application SID (#4)
      • Primary and fallback URLs and methods (#20)
      • Caller ID enabled/disabled
      • Line receive mode - voice/fax
    • 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

11 Oct 23:32
d8896dd
Compare
Choose a tag to compare
Pre-release

Initial release. Likely only useful for managing phone numbers. More soon?