Skip to content

Commit 5ee3670

Browse files
Allow controller to run against regions in addition to us-west-2 (#170)
1 parent 9380185 commit 5ee3670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/aws/services/vpclattice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func NewDefaultLattice(sess *session.Session, region string) *defaultLattice {
3838
endpoint = BetaProdEndpoint
3939
}
4040

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

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

0 commit comments

Comments
 (0)