» 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_feature" "log_runtime_metrics" {
  app = "test-app"
  name = "log-runtime-metrics"
}

» Argument Reference

The following arguments are supported:

  • app - (Required) The Heroku app to link to.
  • name - (Required) The name of the App Feature to manage.
  • enabled - (Optional) Whether to enable or disable the App Feature. The default value is true.

» 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