Environment

The sym_environment resource allows you to provide Sym with a collection of integrations to simplify Flow configuration.

resource "sym_environment" "this" {
  name                = "Sym Production"
  runtime_id          = sym_runtime.this.id
  log_destination_ids = [sym_log_destination.kinesis.id]

  integrations = {
    slack_id     = sym_integration.slack.id
    pagerduty_id = sym_integration.pagerduty.id
  }
}

Name

Description

Required

name

A slug uniquely identifying your environment within your organization.

✔️

runtime_id

The ID of a sym_runtime.

✔️

log_destination_ids

The IDs of sym_log_destinations.


Did this page help you?