Skip to content

Commit

Permalink
Support for AWS_PROFILE with s3 backend block whenever running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
wobondar committed Aug 1, 2018
1 parent f7b03f2 commit 93d9c25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/command_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ locals {
terraform {
backend "s3" {
encrypt = true
encrypt = true{{ if .Local }}
profile = "{{.AwsProfile}}"{{ end }}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

const Version = "v0.3.4"
const Version = "v0.3.5"

const CiEnvVar = "CI"
const TerraformLocalEnvVar = "TF_LOCAL"
Expand Down

0 comments on commit 93d9c25

Please # to comment.