=============
**tfc_admin**
=============
Overview
--------
Make Terraform Cloud API calls for common platform administration tasks.
Available Functions
-------------------
- Show organization details
- List projects
- Get project ID from project name
- List workspaces in a project
- Get workspace ID from workspace name
- Move workspace into a project
Examples
--------
.. code-block:: PYTHON
import tfc_admin
project_workspaces = tfc_admin.get_project_ws(
"my_tfc_token",
"my_tfc_organization",
tfc_admin.get_project_id(
"my_tfc_token",
"my_tfc_organization",
"my_project_name"
)
)
print(project_workspaces)
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/fer1035_python/modules/pypi-tfc_admin",
"name": "tfc_admin",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "terraform,cloud,administration,api,calls",
"author": "Ahmad Ferdaus Abd Razak",
"author_email": "fer1035@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f1/1b/beee2e2dd38b16160dccb8627d7364e4401d4037f19e68a06d510300dfd5/tfc_admin-1.0.0.tar.gz",
"platform": null,
"description": "=============\n**tfc_admin**\n=============\n\nOverview\n--------\n\nMake Terraform Cloud API calls for common platform administration tasks.\n\nAvailable Functions\n-------------------\n\n- Show organization details\n- List projects\n- Get project ID from project name\n- List workspaces in a project\n- Get workspace ID from workspace name\n- Move workspace into a project\n\nExamples\n--------\n\n.. code-block:: PYTHON\n\n import tfc_admin\n\n project_workspaces = tfc_admin.get_project_ws(\n \"my_tfc_token\",\n \"my_tfc_organization\",\n tfc_admin.get_project_id(\n \"my_tfc_token\",\n \"my_tfc_organization\",\n \"my_project_name\"\n )\n )\n\n print(project_workspaces)\n",
"bugtrack_url": null,
"license": "GPL-2.0-only",
"summary": "Make Terraform Cloud API calls for common platform administration tasks.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://gitlab.com/fer1035_python/modules/pypi-tfc_admin",
"Repository": "https://gitlab.com/fer1035_python/modules/pypi-tfc_admin"
},
"split_keywords": [
"terraform",
"cloud",
"administration",
"api",
"calls"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "19e9e6c0f9c60107b08a2138133e8b1ef4296c514ded1b26d32dcbf04a30a858",
"md5": "d03ab56279ff6bd096f2ed6aa5b0425a",
"sha256": "bcd6ec6fad652dc8cbde284faf01045f04e1b543bdbd172e0b701f89aaae53b8"
},
"downloads": -1,
"filename": "tfc_admin-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d03ab56279ff6bd096f2ed6aa5b0425a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 2750,
"upload_time": "2024-02-20T16:16:49",
"upload_time_iso_8601": "2024-02-20T16:16:49.627466Z",
"url": "https://files.pythonhosted.org/packages/19/e9/e6c0f9c60107b08a2138133e8b1ef4296c514ded1b26d32dcbf04a30a858/tfc_admin-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f11bbeee2e2dd38b16160dccb8627d7364e4401d4037f19e68a06d510300dfd5",
"md5": "8801c9270e1d796e829c90e95cfdb838",
"sha256": "b9dc0b47f9a4682f908612942d7e710f49c2345e0eb3cb6cf40c2f1720749b7c"
},
"downloads": -1,
"filename": "tfc_admin-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "8801c9270e1d796e829c90e95cfdb838",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 2065,
"upload_time": "2024-02-20T16:16:53",
"upload_time_iso_8601": "2024-02-20T16:16:53.105943Z",
"url": "https://files.pythonhosted.org/packages/f1/1b/beee2e2dd38b16160dccb8627d7364e4401d4037f19e68a06d510300dfd5/tfc_admin-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-20 16:16:53",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "fer1035_python",
"gitlab_project": "modules",
"lcname": "tfc_admin"
}