infra

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2017 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
	Environment string
	Region      string
	Role        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