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.
NOTE: This resource requires the slug be uploaded to Heroku prior to running terraform.
Example Usage
resource "heroku_app" "foobar" { name = "foobar" region = "us" } # Upload your slug resource "heroku_app_release" "foobar-release" { app = "${heroku_app.foobar.name}" slug_id = "01234567-89ab-cdef-0123-456789abcdef" }
Argument Reference
-
app
- (Required) The name of the application -
slug_id
- unique identifier of slug -
description
- description of changes in this release
Attributes Reference
The following attributes are exported: * id
- The ID of the app release
Import
Existing app releases can be imported using the combination of the application name, a colon, and the formation's type.
For example:
$ terraform import heroku_app_release.foobar-release foobar
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/heroku/r/app_release.html