Skip to content

Commit

Permalink
Merge pull request hashicorp#3908 from jzbruno/add_lex_service_config
Browse files Browse the repository at this point in the history
Add service config for Lex to ease separation of PRs for Lex resources
  • Loading branch information
radeksimko authored Mar 26, 2018
2 parents 663c334 + 5e0bd59 commit 07644b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ import (
"github.com/aws/aws-sdk-go/service/kinesis"
"github.com/aws/aws-sdk-go/service/kms"
"github.com/aws/aws-sdk-go/service/lambda"
"github.com/aws/aws-sdk-go/service/lexmodelbuildingservice"
"github.com/aws/aws-sdk-go/service/lightsail"
"github.com/aws/aws-sdk-go/service/mediastore"
"github.com/aws/aws-sdk-go/service/mq"
Expand Down Expand Up @@ -214,6 +215,7 @@ type AWSClient struct {
dxconn *directconnect.DirectConnect
mediastoreconn *mediastore.MediaStore
appsyncconn *appsync.AppSync
lexmodelconn *lexmodelbuildingservice.LexModelBuildingService
}

func (c *AWSClient) S3() *s3.S3 {
Expand Down Expand Up @@ -443,6 +445,7 @@ func (c *Config) Client() (interface{}, error) {
client.kinesisconn = kinesis.New(awsKinesisSess)
client.kmsconn = kms.New(awsKmsSess)
client.lambdaconn = lambda.New(awsLambdaSess)
client.lexmodelconn = lexmodelbuildingservice.New(sess)
client.lightsailconn = lightsail.New(sess)
client.mqconn = mq.New(sess)
client.opsworksconn = opsworks.New(sess)
Expand Down

0 comments on commit 07644b3

Please sign in to comment.