Azure Bot Channel Slack
This page shows how to write Terraform and Azure Resource Manager for Bot Channel Slack and write them securely.
azurerm_bot_channel_slack (Terraform)
The Channel Slack in Bot can be configured in Terraform with the resource name azurerm_bot_channel_slack
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_bot_channel_slack" "this" {
bot_name = var.bot_name
client_id = var.client_id
client_secret = var.client_secret
landing_page_url = var.landing_page_url
location = var.location
Parameters
-
bot_name
required - string -
client_id
required - string -
client_secret
required - string -
id
optional computed - string -
landing_page_url
optional - string -
location
required - string -
resource_group_name
required - string -
verification_token
required - string -
timeouts
single block
Explanation in Terraform Registry
Manages a Slack integration for a Bot Channel
Note A bot can only have a single Slack Channel associated with it.
Microsoft.BotService/botServices/channels (Azure Resource Manager)
The botServices/channels in Microsoft.BotService can be configured in Azure Resource Manager with the resource name Microsoft.BotService/botServices/channels
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersion
required - stringetag
optional - stringEntity Tag
kind
optional - stringRequired. Gets or sets the Kind of the resource.
location
optional - stringSpecifies the location of the resource.
name
required - stringThe name of the Channel resource.
properties
requiredetag
optional - stringEntity Tag of the resource
location
optional - stringSpecifies the location of the resource.
sku
optionalname
required - stringThe sku name.
tags
optional - stringContains resource tags defined as key/value pairs.
type
required - string
Frequently asked questions
What is Azure Bot Channel Slack?
Azure Bot Channel Slack is a resource for Bot of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Bot Channel Slack?
For Terraform, the kevinhead/azurerm source code example is useful. See the Terraform Example section for further details.