927 B
927 B
layout | page_title | sidebar_current |
---|---|---|
heroku | Heroku: heroku_app | docs-heroku-resource-app |
heroku_app
Provides a Heroku App resource. This can be used to create and manage applications on Heroku.
Example Usage
# Create a new heroku app
resource "heroku_app" "default" {
name = "my-cool-app"
}
Argument Reference
The following arguments are supported:
name
- (Optional) The name of the Heroku appregion
- (Optional) The region of the Heroku appstack
- (Optional) The stack for the Heroku appconfig_vars
- (Optional) Configuration variables for the app
Attributes Reference
The following attributes are exported:
id
- The ID of the appname
- The name of the appstack
- The stack of the appregion
- The region of the appgit_url
- The Git URL for the appweb_url
- The Web URL for the appheroku_hostname
- The Heroku URL for the app