mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-24 07:14:48 +00:00
Return s3 endpoint as str() instead of Url (#18521)
This commit is contained in:
parent
b7f3157986
commit
357e1c80f8
@ -67,7 +67,7 @@ class S3FileSystem(IcebergFileSystemBase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
S3_ENDPOINT: fs_config.endPointURL,
|
S3_ENDPOINT: str(fs_config.endPointURL),
|
||||||
S3_ACCESS_KEY_ID: fs_config.awsAccessKeyId,
|
S3_ACCESS_KEY_ID: fs_config.awsAccessKeyId,
|
||||||
S3_SECRET_ACCESS_KEY: fs_config.awsSecretAccessKey.get_secret_value()
|
S3_SECRET_ACCESS_KEY: fs_config.awsSecretAccessKey.get_secret_value()
|
||||||
if fs_config.awsSecretAccessKey
|
if fs_config.awsSecretAccessKey
|
||||||
|
|||||||
@ -464,6 +464,7 @@ MOCK_DYNAMO_CONFIG = {
|
|||||||
"connection": {
|
"connection": {
|
||||||
"tableName": "table",
|
"tableName": "table",
|
||||||
"awsConfig": {
|
"awsConfig": {
|
||||||
|
"endPointURL": "http://example.com",
|
||||||
"awsAccessKeyId": "access_key",
|
"awsAccessKeyId": "access_key",
|
||||||
"awsSecretAccessKey": "secret",
|
"awsSecretAccessKey": "secret",
|
||||||
"awsRegion": "us-east-2",
|
"awsRegion": "us-east-2",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user