heroku_app_feature

This resource is used to create and manage App Features on Heroku.

Available Features

For a list of available features, use the Heroku CLI to fetch them for one of your existing apps: heroku labs --app foobar.

The output will contain User Features and App Features. This resource manages App Features. If you need to manage User Features, use the heroku_account_feature resource.

Example Usage

resource "heroku_app" "foobar" {
    name = "foobar"
    region = "us"
}

resource "heroku_app_feature" "log_runtime_metrics" {
  app_id = heroku_app.foobar.id
  name = "log-runtime-metrics"
}

Argument Reference

The following arguments are supported:

Import

App features can be imported using the combination of the application name, a colon, and the feature's name.

For example:

$ terraform import heroku_app_feature.log-runtime-metrics foobar:log-runtime-metrics