Difference between revisions of "Terraform resource: heroku app"
Jump to navigation
Jump to search
(Created page with "{{lowercase}} == See also == * {{Terraform Heroku}} Category:Terraform Category:Heroku") |
|||
(3 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: