infra

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package infra proxies Terraform commands.

Index

Constants

View Source
const Dir = "infrastructure"

Dir in which Terraform configs are stored

Variables

This section is empty.

Functions

func Output

func Output(environment, name string) (string, error)

Output fetches output variable `name` from terraform.

Types

type Proxy

type Proxy struct {
	Functions   []*function.Function
	Region      string
	Environment string
}

Proxy is a wrapper around Terraform commands.

func (*Proxy) Run

func (p *Proxy) Run(args ...string) error

Run terraform command in infrastructure directory.

Jump to

Keyboard shortcuts

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