terraform resource: heroku app

From wikieduonline
Revision as of 02:17, 1 March 2022 by Welcome (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: