heroku_pipeline_coupling

Provides a Heroku Pipeline Coupling resource.

A pipeline is a group of Heroku apps that share the same codebase. Once a pipeline is created using heroku_pipeline, and apps are added to different stages using heroku_pipeline_coupling, you can promote app slugs to the downstream stages.

See heroku_pipeline for complete usage documentation.

Example Usage

resource "heroku_pipeline_coupling" "production" {
  app_id   = heroku_app.production.id
  pipeline = heroku_pipeline.test.id
  stage    = "production"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Pipeline couplings can be imported using the Pipeline coupling id, e.g.

$ terraform import heroku_pipeline_coupling.foobar 12345678