Skip to content

Commit c7ad45f

Browse files
authored
Merge pull request #75 from hashicorp/bugfix/README-update
fix(README):Corrected the address parameter for recommended examples
2 parents edc4dc6 + 618d42a commit c7ad45f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ Construct a new **pyTFE** client, then use the resource services on the client t
2828
from pytfe import TFEClient, TFEConfig
2929

3030
config = TFEConfig(
31-
host="https://tfe.local",
31+
address="https://tfe.local",
3232
token="insert-your-token-here",
33-
retry_server_errors=True,
3433
timeout=30.0,
35-
user_agent="example-app/0.1 pytfe/0.1",
34+
user_agent_suffix="example-app/0.1 pytfe/0.1",
3635
)
3736

3837
client = TFEClient(config)
@@ -50,7 +49,7 @@ The default configuration reads the `TFE_ADDRESS` and `TFE_TOKEN` environment va
5049
2. `TFE_TOKEN` — An [API token](https://developer.hashicorp.com/terraform/cloud-docs/users-teams-organizations/api-tokens) for the HCP Terraform or Terraform Enterprise instance.
5150

5251

53-
Environment variables are used as a fallback when `host` or `token` are not provided explicitly:
52+
Environment variables are used as a fallback when `address` or `token` are not provided explicitly:
5453

5554
#### Using the default configuration
5655
```python

0 commit comments

Comments
 (0)