teams

The teams connection can be used to access Microsoft Teams resources.

connection "teams" "my_teams" {
access_token= "bfc6f1c4fakesdfdxxxx26fake977b2xxxsfsdfakef313c3d389126de0d"
}

Arguments

NameTypeRequired?Description
access_tokenStringOptionalAPI token

All arguments are optional, and a teams connection with no arguments will behave the same as the default connection.

Attributes (Read-Only)

AttributeTypeDescription
envMapA map of the resolved connection-related environment variables (TEAMS_ACCESS_TOKEN)

Default Connection

The teams connection type includes an implicit, default connection (connection.teams.default) that will be configured to set the access_token to the TEAMS_ACCESS_TOKEN environment variable.

connection "teams" "default" {
access_token = env("TEAMS_ACCESS_TOKEN")
}