infra

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2017 License: MIT Imports: 8 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 ConfigRelation added in v0.15.0

type ConfigRelation struct {
	Function      *function.Function
	Configuration *lambda.FunctionConfiguration
}

ConfigRelation is a structure to store a combination of a function and it's configuration

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