Skip to content

Commit

Permalink
Add apex environment as tfvar apex_environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Crumley committed Apr 12, 2016
1 parent a45d4f5 commit 3497cef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infra/infra.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ func (p *Proxy) functionVars() (args []string) {
args = append(args, "-var")
args = append(args, fmt.Sprintf("aws_region=%s", p.Region))

args = append(args, "-var")
args = append(args, fmt.Sprintf("apex_environment=%s", p.Environment))

for _, fn := range p.Functions {
config, err := fn.GetConfig()
if err != nil {
Expand Down

0 comments on commit 3497cef

Please sign in to comment.