Difference between revisions of "Terraform resource: heroku app"

From wikieduonline
Jump to navigation Jump to search
 
Line 15: Line 15:
 
     "heroku/go"
 
     "heroku/go"
 
   ]
 
   ]
 +
}
 +
 +
== Example for a team ==
 +
 +
resource "heroku_app" "default" {
 +
  name  = "my-cool-app"
 +
  region = "us"
 +
 +
  organization {
 +
    name = "my-cool-team"
 +
  }
 
  }
 
  }
  

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: