lunaform

module
v0.0.0-...-3fd5aad Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0

README

lunaform

Restful interface to handle terraform deploys. Similiar to the CloudFormation APIs

GoDoc Build Status

Quickstart

brew tap drewsonne/tap
brew install lunaform

lunaform-server \
    --port=8080 \
    --scheme=http \
    --api-key=dev-key

cat > ~/.config/lunaform.yaml <<EOF
---
host: localhost
port: 8080
schemes:
  - http
log:
  level: error
apikey: dev-key
EOF

lunaform terraform module create \
    --name tf-vpc \
    --source github.com/drewsonne/tf-vpc \
    --type git
lunaform terraform module list

lunaform terraform workspace create \
    --name live
lunaform terraform workspace list

    
lunaform terraform stack deploy \
    --name my-vpc \
    --module tf-vpc \
    --workspace live

open http://localhost:8080/api/docs


Contributing

This project makes heavy use of the go-swagger project. You can install it on OSX by running:

brew tap go-swagger/go-swagger
brew install go-swagger

For dependency management we use glide:

brew install glide
glide install

For other distributions, see the project homepage.

Directories

Path Synopsis
backend
cli
cmd
cmd
lunaform-server command
hal
Package restapi lunaform This is a RESTful server for managing Terraform plan and apply jobs and the auditing of actions to approve those apply jobs.
Package restapi lunaform This is a RESTful server for managing Terraform plan and apply jobs and the auditing of actions to approve those apply jobs.

Jump to

Keyboard shortcuts

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