terrasnek
terrasnek copied to clipboard
Terraform Cloud Python Client Library
In [`_get()`](https://github.com/dahlke/terrasnek/blob/0f300f58693f9a83f245a5e1a996fe01b4a2bc7f/terrasnek/endpoint.py#L96) the query string is constructed via string concatenation. Can we replace with requests params dicts instead? I believe this is proper prima facie but below I've shared my...
resolves #35. I tried to structure the commits to make it easy to follow each incremental change. The github workflow might be a bit audacious but since every project gets...
I think there is a logic bug in the code at https://github.com/dahlke/terrasnek/blob/e1c4fbe5f707ce4f028c0e73b8d53e6fc3f09a89/terrasnek/endpoint.py#L366-L387 `current_page = 1` continues to be true during the while loop and ends up being retrieved twice before...
IDEs such as Jetbrains Pycharm and VS Code flag numerous formatting violations in various places. The usual gubbins like trailing white space, inconsistent use of line continuation markers, and lack...
The way api.py is initialized via [the eventual calls to the dict here](https://github.com/dahlke/terrasnek/blob/main/terrasnek/api.py#L90) is incompatible with the type annotations [found here](https://github.com/dahlke/terrasnek/blob/main/terrasnek/api.py#L173-L225). Possible approaches are to make the initialization more "static...
We are running into some 429s while using `teams.list_all`, would you be open to adding retry with exponential backoff support to terrasnek? I assume we are hitting 429s because `_list_all`...
Hello. I wasn't sure where to ask so please do close this issue if it does not belong here. Is it a project goal to at some point offer more...
OTF (a TFC open source clone) well-known/terraform.json file tfe.v2 entries differs a bit from TFC. i.e. OTF: "tfe.v2":"/api/v2" TFC: "tfe.v2":"/api/v2/" This is explained here https://github.com/leg100/otf/issues/474 This change handles this scenario...