azurerm_source_control_token

Manages an App Service Source Control Token.

Example Usage

resource "azurerm_source_control_token" "example" {
  type  = "GitHub"
  token = "ghp_sometokenvaluesecretsauce"
}

Arguments 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

App Service Source GitHub Tokens can be imported using the resource id, e.g.

terraform import azurerm_source_control_token.example /providers/Microsoft.Web/sourceControls/GitHub