Skip to content

Instantly share code, notes, and snippets.

View alexbasista's full-sized avatar

Alex Basista alexbasista

  • HashiCorp
  • Cleveland, OH
View GitHub Profile
@alexbasista
alexbasista / create_tfe_org.py
Last active September 7, 2021 13:03
Examples of interacting with Terraform Cloud/Enterprise API via Python
import os
import sys
import json
import requests
def create_team(hostname, org, name, **kwargs):
"""
POST /organizations/:organization_name/teams
"""
if kwargs.get('tfe_token'):

Keybase proof

I hereby claim:

  • I am alexbasista on github.
  • I am alexbasista (https://keybase.io/alexbasista) on keybase.
  • I have a public key ASA4ivFePNlHwIhZWCo_z3pHoLOYZt3TQN6Qj2cny_y9Xgo

To claim this, I am signing this object: