Skip to content

drewsonne/gocd-tf-generate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocd-tf-generate

Utility to generate terraform configuration for gocd

GoDoc Build Status

Usage

Installation

Homebrew

$ brew tap drewsonne/tap
$ brew install gocd-tf-generate

Manual

Download the latest release from https://github.com/drewsonne/go-gocd/releases, and place the binary in your $PATH.

Quickstart

$ gocd
$ gocd list-agents

Importing State

Each generated terraform config has an import statement prefix with "CMD". You can extract all the import commands with:

$ grep -r CMD . | sed 's/^.*CMD: //p'

in the directory you are generating your configs in.