Skip to content

Commit

Permalink
Merge branch 'master' of github.com:iLert/terraform-provider-ilert
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Jun 8, 2021
2 parents 731fc1b + a1806cb commit 1ffa6f8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ Use the navigation to the left to read about the available resources.

```hcl
provider "ilert" {
organization = "your organization"
username = "your username"
password = "password"
api_token = "your api token, excluding Bearer prefix"
}
# Example resource configuration
Expand All @@ -31,7 +29,7 @@ resource "ilert_alert_source" "example" {

The following arguments are supported in the `provider` block:

- `api_token` - (Optional) A iLert OAuth / Personal Access Token. When not provided or made available via the `ILERT_API_TOKEN` environment variable, the provider can only access resources available anonymously. Conflicts with `organization`
- `api_token` - (Optional) An iLert OAuth / Personal Access Token. When not provided or made available via the `ILERT_API_TOKEN` environment variable, the provider can only access resources available anonymously. Conflicts with `organization`. Make sure to exclude the `Bearer ` prefix.

- `organization` - (Optional) This is the target iLert organization account to manage. It is optional to provide this value and it can also be sourced from the `ILERT_ORGANIZATION` environment variable. For example, `ilert` is a valid organization. Conflicts with `api_token` and requires `username` and `password`, as the individual account corresponding to provided `username` and `password` will need "owner" privileges for this organization.

Expand Down

0 comments on commit 1ffa6f8

Please sign in to comment.