We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eada8d commit b445844Copy full SHA for b445844
README.md
@@ -26,10 +26,14 @@ For Linux OS it can be:
26
27
## Configuration
28
29
-There are two environment variables to configure Codefresh provider:
+To configure codefresh provider:
30
31
-- `CODEFRESH_API_URL`. Default value - https://g.codefresh.io/api ;
32
-- `CODEFRESH_API_KEY`.
+```tf
+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
+```
37
38
Get an API key from [Codefresh](https://g.codefresh.io/user/settings) and set the following scopes:
39
0 commit comments