This resource is used to create and manage User Features on Heroku.
For a list of available features, use the heroku labs
command to fetch them for the current authenticated user.
The output will contain User Features that may be managed with this resource.
resource "heroku_account_feature" "example_metrics" {
name = "metrics-request-volume"
enabled = true
}
The following arguments are supported:
name
- (Required) Name of the account featureenabled
- (Required) Enable or disable the account featureThe following attributes are exported:
id
- Comprised of acount email & feature namedescription
- Description of account featurestate
- State of account featureExisting account features can be imported using a combination of the account email (the email address tied to the Heroku API key) and the feature name.
For example:
$ terraform import heroku_account_feature.example_metrics name@example.com:metrics-request-volume