azurerm_bot_channel_sms

Manages a SMS integration for a Bot Channel

Example Usage

data "azurerm_client_config" "current" {}

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_bot_channels_registration" "example" {
  name                = "example-bcr"
  location            = "global"
  resource_group_name = azurerm_resource_group.example.name
  sku                 = "F0"
  microsoft_app_id    = data.azurerm_client_config.current.client_id
}

resource "azurerm_bot_channel_sms" "example" {
  bot_name                        = azurerm_bot_channels_registration.example.name
  location                        = azurerm_bot_channels_registration.example.location
  resource_group_name             = azurerm_resource_group.example.name
  sms_channel_account_security_id = "BG61f7cf5157f439b084e98256409c2815"
  sms_channel_auth_token          = "jh8980432610052ed4e29565c5e232f"
  phone_number                    = "+12313803556"
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

The SMS Integration for a Bot Channel can be imported using the resource id, e.g.

terraform import azurerm_bot_channel_sms.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.BotService/botServices/botService1/channels/SmsChannel