Provides a Heroku App Release resource.
An app release represents a combination of code, config vars and add-ons for an app on Heroku.
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"
}
The following arguments are supported:
app_id
- (Required) Heroku app ID (do not use app name)slug_id
- unique identifier of slugdescription
- description of changes in this releaseThe following attributes are exported:
id
- The ID of the app releaseThe most recent app release can be imported using the application name.
For example:
$ terraform import heroku_app_release.foobar-release foobar