terrarific

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2021 License: MIT Imports: 1 Imported by: 0

README

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.

Documentation

Overview

Copyright © 2020 Iggy Jackson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL