From a1806cb99f58eb01f7fe6bbe4e4cb6cb1b118a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fr=C3=B6hlingsdorf?= Date: Tue, 8 Jun 2021 10:44:55 +0200 Subject: [PATCH] Update index.html.markdown --- website/docs/index.html.markdown | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index 02ec79d..8432762 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -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 @@ -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.