gitlab_service_microsoft_teams (Resource)

The gitlab_service_microsoft_teams resource allows to manage the lifecycle of a project integration with Microsoft Teams.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_project" "awesome_project" {
  name             = "awesome_project"
  description      = "My awesome project."
  visibility_level = "public"
}

resource "gitlab_service_microsoft_teams" "teams" {
  project     = gitlab_project.awesome_project.id
  webhook     = "https://testurl.com/?token=XYZ"
  push_events = true
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# You can import a gitlab_service_microsoft_teams state using the project ID, e.g.
terraform import gitlab_service_microsoft_teams.teams 1