heroku_addon_attachment
Attaches a Heroku Addon Resource to an additional Heroku App.
Example Usage
resource "heroku_addon_attachment" "database" { app_id = "${heroku_app.default.id}" addon_id = "${heroku_addon.database.id}" }
Argument Reference
The following arguments are supported:
-
app_id
- (Required) The ID of the Heroku App to attach to. -
addon_id
- (Required) The ID of the existing Heroku Addon to attach. -
name
- (Optional) A friendly name for the Heroku Addon Attachment.
Attributes Reference
The following attributes are exported:
-
id
- The unique ID of the add-on attachment
Import
Addons can be imported using the unique Addon Attachment id
, e.g.
$ terraform import heroku_addon_attachment.foobar 01234567-89ab-cdef-0123-456789abcdef
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/heroku/r/addon_attachment.html