-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate documentation files to new directory format
- Loading branch information
Showing
36 changed files
with
270 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ Development happens in the [GitHub repo](https://github.com/heroku/terraform-pro | |
|
||
## Example Usage | ||
|
||
```hcl | ||
```hcl-terraform | ||
# Configure the Heroku provider | ||
provider "heroku" { | ||
email = "[email protected]" | ||
|
@@ -58,7 +58,7 @@ precedence, and explained below: | |
Credentials can be provided statically by adding `email` and `api_key` arguments | ||
to the Heroku provider block: | ||
|
||
```hcl | ||
```hcl-terraform | ||
provider "heroku" { | ||
email = "[email protected]" | ||
api_key = var.heroku_api_key | ||
|
@@ -71,7 +71,7 @@ When the Heroku provider block does not contain an `email` or `api_key` | |
argument, the missing credentials will be sourced from the environment via the | ||
`HEROKU_EMAIL` and `HEROKU_API_KEY` environment variables respectively: | ||
|
||
```hcl | ||
```hcl-terraform | ||
provider "heroku" {} | ||
``` | ||
|
||
|
@@ -87,7 +87,7 @@ Refreshing Terraform state in-memory prior to plan... | |
Credentials can instead be sourced from the [`.netrc`](https://ec.haxx.se/usingcurl-netrc.html) | ||
file in your home directory: | ||
|
||
```hcl | ||
```hcl-terraform | ||
provider "heroku" {} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,18 +15,14 @@ and remove resource from state. | |
|
||
## Available Features | ||
|
||
For a list of available features, use the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) to fetch them for the current user: | ||
|
||
``` | ||
heroku labs | ||
``` | ||
For a list of available features, use the [`heroku labs`](https://devcenter.heroku.com/articles/heroku-cli) | ||
command to fetch them for the current authenticated user. | ||
|
||
The output will contain **User Features** that may be managed with this resource. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
# Create a new Heroku app | ||
```hcl-terraform | ||
resource "heroku_account_feature" "example_metrics" { | ||
name = "metrics-request-volume" | ||
enabled = true | ||
|
@@ -38,14 +34,17 @@ resource "heroku_account_feature" "example_metrics" { | |
The following arguments are supported: | ||
|
||
* `name` - (Required) Name of the account feature | ||
|
||
* `enabled` - (Required) Enable or disable the account feature | ||
|
||
## Attributes Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `id` - Comprised of acount email & feature name | ||
|
||
* `description` - Description of account feature | ||
|
||
* `state` - State of account feature | ||
|
||
## Import | ||
|
@@ -54,6 +53,7 @@ Existing account features can be imported using a combination of the account ema | |
and the feature name. | ||
|
||
For example: | ||
|
||
``` | ||
$ terraform import heroku_account_feature.example_metrics [email protected]:metrics-request-volume | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.