0.7.11 • Published 4 years ago

@recarnot/awstfy-cli v0.7.11

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

awstfy is command line helper for AWS Terraform project management.

Installation

npm i -g @recarnot/awstfy-cli

Demo

ConfigurationAWS ProfilesEnvironments
asciicastasciicastasciicast
VariablesTerraform CloudResources
asciicastasciicastasciicast
TerraformCloneAuto completion
asciicastasciicastasciicast

Silent commands

!! Work in progress !!

You can use some commands in silent mode to allow script or automation process. Here is a quick dirty demo :

asciicast

Usage

Usage: awstfy <command> <subcommand>

  Top level commands:  
  configure             Configures project.
  provider              Configures default Terraform provider for this project.
  backend               Configures Terraform backend for this projet.
  clone                 Clones GIT repository in current directory.
  console               Opens AWS Management Console.
  version               Shows current version.
  help                  Displays help.
  init                  Terraform init.
  plan                  Terraform plan.
  apply                 Terraform apply.
  destroy               Terraform destroy.
                       
  profile <command>: Manages AWS profiles
  profile configure     Creates or updates AWS profile.
  profile list          Lists AWS profiles.
                       
  env <command>: Manages Terraform workspaces (environments)
  env select            Seclect a Terraform workspace.
  env list              Retreives Terraform workspaces.
  env show              Retreives current Terraform workspace.
  env new               Creates a new Terraform workspace.
                       
  var <command>: Manages environment variables
  var add               Creates a new variable.
  var list              Lists variables.
  var update            Updates variable.
  var delete            Deletes variable.
                       
  cloud <command>: Manages Terraform Cloud
  cloud init            Configures Terrafom Cloud access and pulls organizations.
                       
  add <resource>: Add Terraform resources
  add vpc               Manages VPC.
  add storage           Manages Storage.
  add sns		        Manages SNS Topic.
  add dns               Manages Hosted zone.
  add state             Manages Remote state connection.
  add provider          Manages Provider alias.

Auto completion

awstfy offer auto completion on Linux based systems :

  • bash ✔
  • zsh ✔
  • fish (not test yet)
[testcli]$ awstfy setup-completion                         
✔ awstfy auto completion process ok.                                     
  You can source : /home/recarnot/.awstfy/awstfy-completion.sh             

[testcli]$ source ~/.awstfy/awstfy-completion.sh 

asciicast

0.7.11

4 years ago

0.7.10

4 years ago

0.7.9

4 years ago

0.7.6

4 years ago

0.7.8

4 years ago

0.7.5

4 years ago

0.7.4

4 years ago

0.7.2

4 years ago

0.7.3

4 years ago

0.6.29

4 years ago

0.6.28

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.27

4 years ago

0.6.26

4 years ago

0.6.25

4 years ago

0.6.23

4 years ago

0.6.22

4 years ago

0.6.24

4 years ago

0.6.21

4 years ago

0.6.20

4 years ago

0.6.19

4 years ago

0.6.18

4 years ago

0.6.17

4 years ago

0.6.16

4 years ago

0.6.15

4 years ago

0.6.14

4 years ago

0.6.13

4 years ago

0.6.12

4 years ago

0.6.10

4 years ago

0.6.11

4 years ago

0.6.7

4 years ago

0.6.6

4 years ago

0.6.9

4 years ago

0.6.8

4 years ago

0.6.5

4 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago