Skip to content

Fix: Allow sql.s3_to_postgres() to rely on an IAM role#88

Open
johncmerfeld wants to merge 1 commit into
mainfrom
fix/s3-postgres-iam-role
Open

Fix: Allow sql.s3_to_postgres() to rely on an IAM role#88
johncmerfeld wants to merge 1 commit into
mainfrom
fix/s3-postgres-iam-role

Conversation

@johncmerfeld
Copy link
Copy Markdown
Contributor

@johncmerfeld johncmerfeld commented May 13, 2026

We're aiming to move away from handling S3 credentials directly in Airflow connections. Removing them from the connection objects is one thing, but this SQL snippet also expects them to be present, causing errors when they are not defined:

Provide both an access key and a secret key or leave both parameters empty. If the parameters are empty, the credentials associated with the database instance are used.

@johncmerfeld johncmerfeld force-pushed the fix/s3-postgres-iam-role branch from e1f6c6f to 60a53f9 Compare May 13, 2026 14:30
@johncmerfeld johncmerfeld self-assigned this May 13, 2026
Copy link
Copy Markdown
Collaborator

@jayckaiser jayckaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some personal thoughts about whitespace formatting, but the PR is solid. Approved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants