environment

A side-effect-only module to create Sentry environments in Sentry projects.

The only way to create an environment in Sentry is to send an event tagged with that environment. That is what this module does. It uses the Sentry CLI, so that has to be installed and on the path when applying any Terraform config that uses this module.

Inputs

Name

Description

Type

Default

Required

environment_name

Name of the environment to create

string

n/a

yes

organization_slug

The organization (slug) that contains the project

string

n/a

yes

project_slug

The project (slug) in which to create this environment

string

n/a

yes

Outputs

Name

Description

environment_name

The environment name that was passed in