Skip to content

phenixcoder/devops-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devops Scripts

Collection of scripts to ease out some tasks duriing devops pipelines.

Instalation

npm i devops-scripts

Or Install globally

Recomended way is to install this module globally in your dev or ci/cd environment.

npm i -g devops-scripts

terraform-cloud / tfc

Terraform cloud scripts

Environment Variables

  • TFC_TOKEN : Terraform cloud Access Token
  • TFC_WORKSPACE : Terraform cloud worksapce id. e.g. ws-xxxxxxxxxx

Usage:

terraform-cloud <resource> <action> [arguments]

OR

tfc <resource> <action> [arguments]

Available Allowed Resources:

  • workspace
  • output
  • state

Available Allowed Actions:

  • get
  • set
  • list

About

Common scripts used for extracting information

Resources

Stars

Watchers

Forks

Packages

No packages published