Use this data source to get information about a Heroku Addon.
# Lookup an existing Heroku add-on
data "heroku_addon" "example" {
name = "example-addon-name"
}
The following arguments are supported:
name
- (Required) The add-on nameThe following attributes are exported:
id
- The ID of the add-onname
- The add-on nameapp_id
- Heroku app IDplan
- The plan nameprovider_id
- The ID of the plan providerconfig_vars
- The Configuration variables of the add-on