heroku_app_release

Provides a Heroku App Release resource.

An app release represents a combination of code, config vars and add-ons for an app on Heroku.

Example Usage

resource "heroku_app" "foobar" {
    name = "foobar"
    region = "us"
}

# Upload your slug

resource "heroku_app_release" "foobar-release" {
    app_id = heroku_app.foobar.id
    slug_id = "01234567-89ab-cdef-0123-456789abcdef"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

The most recent app release can be imported using the application name.

For example:

$ terraform import heroku_app_release.foobar-release foobar