Difference between revisions of "Terraform resource: heroku app"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Heroku app to Terraform resource: heroku app)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
* https://registry.terraform.io/providers/heroku/heroku/latest/docs/resources/app
 +
 +
== 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 ==
 
== See also ==

Latest revision as of 02:17, 1 March 2022

Example[edit]

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

  config_vars = {
    FOOBAR = "baz"
  }

  buildpacks = [
    "heroku/go"
  ]
}

Example for a team[edit]

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

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

See also[edit]

Advertising: