Use this data source to access information about an existing App Service Source Control Token.
data "azurerm_source_control_token" "example" {
type = "GitHub"
}
output "id" {
value = data.azurerm_app_service_github_token.example.id
}
The following arguments are supported:
type
- (Required) The Token type. Possible values include Bitbucket
, Dropbox
, Github
, and OneDrive
.The following Attributes are exported:
id
- The ID of the App Service Source GitHub Token.
token
- The GitHub Token value.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the App Service Source GitHub Token.