Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #35 from mkubenka/fix-profiles
Browse files Browse the repository at this point in the history
Fix AWS profiles.
  • Loading branch information
jcxplorer authored Jul 11, 2016
2 parents 8971c41 + 0f11aa6 commit cd2fa1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion goad.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (t *Test) invokeLambdas(awsConfig *aws.Config, sqsURL string) {
Args: args,
}

config := aws.NewConfig().WithRegion(region)
config := awsConfig.WithRegion(region)
go t.invokeLambda(config, invokeargs)
}
}
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (infra *Infrastructure) setup() error {
}

func (infra *Infrastructure) createOrUpdateLambdaFunction(region, roleArn string, payload []byte) error {
config := aws.NewConfig().WithRegion(region)
config := infra.config.WithRegion(region)
svc := lambda.New(session.New(), config)

exists, err := lambdaExists(svc)
Expand Down

0 comments on commit cd2fa1f

Please sign in to comment.