Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
palson-cf committed May 18, 2020
1 parent 7eada8d commit b445844
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ For Linux OS it can be:

## Configuration

There are two environment variables to configure Codefresh provider:
To configure codefresh provider:

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

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

Expand Down

0 comments on commit b445844

Please sign in to comment.