terraform resource: heroku app

From wikieduonline
Jump to navigation Jump to search

Example

resource "heroku_app" "default" {
  name   = "my-cool-app"
  region = "us" 

  config_vars = {
    FOOBAR = "baz"
  }

  buildpacks = [
    "heroku/go"
  ]
}

Example for a team

resource "heroku_app" "default" {
  name   = "my-cool-app"
  region = "us"

  organization {
    name = "my-cool-team"
  }
}

See also

Advertising: