Skip to content

Commit

Permalink
Allow controller to run against regions in addition to us-west-2 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
liwenwu-amazon authored Mar 27, 2023
1 parent 9380185 commit 5ee3670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/aws/services/vpclattice.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func NewDefaultLattice(sess *session.Session, region string) *defaultLattice {
endpoint = BetaProdEndpoint
}

latticeSess = vpclattice.New(sess, aws.NewConfig().WithRegion("us-west-2").WithEndpoint(endpoint))
latticeSess = vpclattice.New(sess, aws.NewConfig().WithRegion(region).WithEndpoint(endpoint))

glog.V(2).Infoln("Lattice Service EndPoint:", endpoint)

Expand Down

0 comments on commit 5ee3670

Please sign in to comment.