Skip to content

Commit 5b56965

Browse files
committed
Omit chain from DuckDB S3 secret
Why these changes are being introduced: It sounds like the best option for ECS tasks is using 'instance' as the provider chain type, where for local dev and/or lambdas it might be 'sso' or 'env'. Not having 'instance' appears to cause failures in the ECS task. How this addresses that need: By omitting the 'chain' option entirely from DuckDB secret creation we allow the default provider chain to take effect. Given our fairly normal usage of DuckDB and S3, this is probably the best approach. Side effects of this change: * DuckDB to S3 connections work in ECS Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TIMX-540
1 parent 2fc088d commit 5b56965

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

timdex_dataset_api/metadata.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ def _configure_duckdb_s3_secret(
194194
create or replace secret aws_s3_secret (
195195
type s3,
196196
provider credential_chain,
197-
chain 'sso;env;config',
198197
refresh true
199198
{scope_str}
200199
);

0 commit comments

Comments
 (0)