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

@johncmerfeld johncmerfeld commented May 13, 2026

Copy link
Copy Markdown
Contributor

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

@jayckaiser jayckaiser left a comment

Copy link
Copy Markdown
Collaborator

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!

@johncmerfeld

Copy link
Copy Markdown
Contributor Author

@jayckaiser is there a reason we can't merge and release this? Would be great for it to be default behavior

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