Skip to content
This repository was archived by the owner on Aug 17, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion goad.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (t *Test) invokeLambdas(awsConfig *aws.Config, sqsURL string) {
Args: args,
}

config := awsConfig.WithRegion(region)
config := aws.NewConfig().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 := infra.config.WithRegion(region)
config := aws.NewConfig().WithRegion(region)
svc := lambda.New(session.New(), config)

exists, err := lambdaExists(svc)
Expand Down