Skip to content

Commit b445844

Browse files
committed
Fix README
1 parent 7eada8d commit b445844

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Diff for: README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ For Linux OS it can be:
2626

2727
## Configuration
2828

29-
There are two environment variables to configure Codefresh provider:
29+
To configure codefresh provider:
3030

31-
- `CODEFRESH_API_URL`. Default value - https://g.codefresh.io/api ;
32-
- `CODEFRESH_API_KEY`.
31+
```tf
32+
provider "codefresh" {
33+
api_url = "<MY API URL>" # Default value - https://g.codefresh.io/api
34+
token = "<MY API TOKEN>". # If token isn't set the provider expects the $CODEFRESH_API_KEY env variable
35+
}
36+
```
3337

3438
Get an API key from [Codefresh](https://g.codefresh.io/user/settings) and set the following scopes:
3539

0 commit comments

Comments
 (0)