Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 2.21 KB

README.md

File metadata and controls

39 lines (24 loc) · 2.21 KB

Spacelift-Microsoft Teams notification integration

Terraform module providing a notification-based integration between Spacelift and Microsoft Teams. It creates a webhook in Spacelift that will send notifications to a Microsoft Teams channel when:

The official documentation for this integration is available in here.

Usage

module "spacelift_msteams" {
  source = "spacelift-io/msteams/spacelift"

  channel_name = "My channel"
  space_id     = "root"
  webhook_url  = "https://outlook.office.com/webhook/..."
}

Based on this configuration, the module will send notifications to the My channel channel in Microsoft Teams that look like these:

Run pending confirmation notification

Run finished notification

Module version notification

Prerequisites

In order to use this module, you need to have a Microsoft Teams channel and an incoming webhook URL. This needs to be set up manually.

To learn how to set up the webhook in Microsoft Teams, please refer to the official documentation.

Further work

Microsoft Teams has a rich API for creating beautiful-looking, powerful integrations. Unfortunately, much of that is either not documented, and some is not available to incoming webhooks. If you're a heavy user of both Spacelift and Microsoft Teams, and familiar with the latter's API, we'd love to hear from you. Let's build something amazing together!