-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new configuration document for connection clickup (#99)
- Loading branch information
1 parent
d6941f3
commit 55935fa
Showing
1 changed file
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: clickup | ||
sidebar_label: clickup | ||
--- | ||
|
||
# clickup | ||
|
||
The `clickup` connection can be used to access ClickUp resources. | ||
|
||
```hcl | ||
connection "clickup" "my_clickup" { | ||
token = "pk_616_L5H36X3CXXXXXXXWEAZZF0NM5" | ||
} | ||
``` | ||
|
||
## Arguments | ||
|
||
| Name | Type | Required?| Description | ||
|-----------------|---------|----------|------------------- | ||
| `token` | String | Optional | API token | ||
|
||
All arguments are optional, and a `clickup` connection with no arguments will behave the same as the [default connection](#default-connection). | ||
|
||
## Default Connection | ||
|
||
The `clickup` connection type includes an implicit, default connection (`connection.clickup.default`) that will be configured to set the `token` to the `CLICKUP_TOKEN` environment variable. | ||
|
||
```hcl | ||
connection "clickup" "default" { | ||
token = env("CLICKUP_TOKEN") | ||
} | ||
``` |