Skip to content

terraform cloud (nee enterprise) cli written in golang

License

Notifications You must be signed in to change notification settings

iggy/terrarific

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terrarific

terraform cloud (nee enterprise) cli written in golang

Tests

TODO

Usage

List, create, update, delete, etc different things (organizations, workspaces,
variables, etc) in terraform cloud

Usage:
  terrarific [command]

Available Commands:
  completion    Generate shell completion code
  help          Help about any command
  organizations Work with organizations
  workspaces    Work with workspaces

Flags:
      --config string   config file (default is $HOME/.terrarific.yaml)
  -h, --help            help for terrarific
  -v, --version         version for terrarific

Use "terrarific [command] --help" for more information about a command.

workspaces

Parent command for manipulating workspaces. This doesn't do anything by itself.
Everything is done via subcommands.

Usage:
  terrarific workspaces [command]

Available Commands:
  create      Create a new workspace
  describe    Print info about a workspace
  ensure      A shortcut to create/update a workspace to match the args
  list        List workspaces in an organization

Flags:
  -h, --help   help for workspaces

Global Flags:
      --config string   config file (default is $HOME/.terrarific.yaml)

Additional help topics:
  terrarific workspaces variables Work with workspace variables

Use "terrarific workspaces [command] --help" for more information about a command.

organizations

Parent command for manipulating organizations. This doesn't do anything by itself.
Everything is done via subcommands.

Usage:
  terrarific organizations [command]

Available Commands:
  list        List organizations that your API token can access

Flags:
  -h, --help   help for organizations

Global Flags:
      --config string   config file (default is $HOME/.terrarific.yaml)

Use "terrarific organizations [command] --help" for more information about a command.

Releasing

To create a new release, all you have to do is push a tag (no need to create a separate GH release). CI will do that for you.

git tag -a v0.0.4
git push origin --tags

Disclaimer

I work for Pluto TV (part of ViacomCBS), but I wrote this on my own time.