Skip to content

Commit abcfea6

Browse files
committed
service package changes fixed
1 parent 7efe760 commit abcfea6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

internal/service/odb/service_package.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"context"
77
"github.com/aws/aws-sdk-go-v2/aws"
88
"github.com/aws/aws-sdk-go-v2/service/odb"
9-
"github.com/hashicorp/terraform-plugin-log/tflog"
109
"github.com/hashicorp/terraform-provider-aws/names"
1110
)
1211

@@ -17,16 +16,6 @@ func (p *servicePackage) NewClient(ctx context.Context, config map[string]any) (
1716
odb.WithEndpointResolverV2(newEndpointResolverV2()),
1817
withBaseEndpoint(config[names.AttrEndpoint].(string)),
1918
func(o *odb.Options) {
20-
//if config["partition"].(string) == names.StandardPartitionID {
21-
if cfg.Region != "\"us-east-1\"" {
22-
tflog.Info(ctx, "overriding region", map[string]any{
23-
"original_region": cfg.Region,
24-
"override_region": "us-east-1",
25-
})
26-
o.Region = "us-east-1"
27-
}
28-
//}
29-
o.BaseEndpoint = aws.String("https://gammaiad.capi.us-east-1.oracolo.alameda.aws.dev")
3019
},
3120
), nil
3221
}

0 commit comments

Comments
 (0)