Skip to main content

Make Terraform Cloud API calls for common platform administration tasks.

Project description

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

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tfc_admin-1.0.0.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

tfc_admin-1.0.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page