You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,11 +28,10 @@ Construct a new **pyTFE** client, then use the resource services on the client t
28
28
from pytfe import TFEClient, TFEConfig
29
29
30
30
config = TFEConfig(
31
-
host="https://tfe.local",
31
+
address="https://tfe.local",
32
32
token="insert-your-token-here",
33
-
retry_server_errors=True,
34
33
timeout=30.0,
35
-
user_agent="example-app/0.1 pytfe/0.1",
34
+
user_agent_suffix="example-app/0.1 pytfe/0.1",
36
35
)
37
36
38
37
client = TFEClient(config)
@@ -50,7 +49,7 @@ The default configuration reads the `TFE_ADDRESS` and `TFE_TOKEN` environment va
50
49
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.
51
50
52
51
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:
0 commit comments