Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shwetha-manvinkurke committed Sep 22, 2021
1 parent 7ace53f commit 3b0b194
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ terraform {
# Credentials can be found at www.twilio.com/console.
provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}
resource "twilio_api_accounts_keys_v2010" "key_name" {
Expand Down
4 changes: 2 additions & 2 deletions examples/api/v2010/apicore.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
// subaccount_sid defaults to TWILIO_SUBACCOUNT_SID env var
}

Expand Down
4 changes: 2 additions & 2 deletions examples/autopilot/v1/autopilot.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

resource "twilio_autopilot_assistants_v1" "assistant" {
Expand Down
4 changes: 2 additions & 2 deletions examples/chat/v2/chat.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

# Configure chat service
Expand Down
4 changes: 2 additions & 2 deletions examples/events/v1/events.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

# Step 1: Create an Event Sink
Expand Down
4 changes: 2 additions & 2 deletions examples/flex/flex_setup.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

resource "twilio_chat_services_v2" "chat_service" {
Expand Down
4 changes: 2 additions & 2 deletions examples/flex/v1/flex_import_default.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

resource "twilio_chat_services_v2" "flex_chat_service" {}
Expand Down
4 changes: 2 additions & 2 deletions examples/proxy/v1/proxy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

# Step 1: Purchase 2 phone numbers -- these are going to be the participants
Expand Down
4 changes: 2 additions & 2 deletions examples/serverless/v1/serverless.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

resource "twilio_serverless_services_v1" "service" {
Expand Down
4 changes: 2 additions & 2 deletions examples/studio/v2/studio.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

resource "twilio_studio_flows_v2" "flow" {
Expand Down
4 changes: 2 additions & 2 deletions examples/sync/v1/sync.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

# Step 1: Create Sync Services for dev, stage and prod
Expand Down
4 changes: 2 additions & 2 deletions examples/taskrouter/v1/taskrouter.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

resource "twilio_taskrouter_workspaces_v1" "demo" {
Expand Down
4 changes: 2 additions & 2 deletions examples/trunking/v1/trunking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

resource "twilio_trunking_trunks_v1" "trunk" {
Expand Down
4 changes: 2 additions & 2 deletions examples/verify/v2/verify.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ terraform {
}

provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}

resource "twilio_verify_services_v2" "verify" {
Expand Down
8 changes: 4 additions & 4 deletions usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ terraform {
# Configure the Twilio provider. Credentials can be found at www.twilio.com/console
provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
}
# Create a new API key resource
Expand Down Expand Up @@ -69,8 +69,8 @@ You can define the [Edge](https://www.twilio.com/docs/global-infrastructure/edge

```terraform
provider "twilio" {
// account_sid defaults to TWILIO_ACCOUNT_SID/TWILIO_API_KEY env var
// auth_token defaults to TWILIO_AUTH_TOKEN/TWILIO_API_SECRET env var
// account_sid defaults to TWILIO_ACCOUNT_SID with TWILIO_API_KEY as the fallback env var
// auth_token defaults to TWILIO_AUTH_TOKEN with TWILIO_API_SECRET as the fallback env var
region = "au1"
edge = "sydney"
}
Expand Down

0 comments on commit 3b0b194

Please sign in to comment.