FEATURES PRICING ABOUT DOCS LOGIN

heroku_domain

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 = "test-app"
}

# Associate a custom domain
resource "heroku_domain" "default" {
    app = "${heroku_app.default.name}"
    hostname = "terraform.example.com"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO