Skip to content

PLT-1750 Demo Database Migration - #610

Merged
mianava merged 14 commits into
mainfrom
1750/migration
Sep 10, 2026
Merged

PLT-1750 Demo Database Migration #610
mianava merged 14 commits into
mainfrom
1750/migration

Conversation

@mianava

@mianava mianava commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

🎫 Ticket

PLT-1750

🛠 Changes

Runs a database migration to add a user for running migrations using Database Iam via GitHub actions.

Runs a bootstrap to add this user. Models what a IAM policy looks like for adding a database user based on your own GRANTS in sql.

ℹ️ Context

🧪 Validation

These changes were applied from a git workflow dispatch of tofu-apply, and the database confirms:


postgres=> SELECT rolname, rolcanlogin FROM pg_roles WHERE rolname IN ('tftesting_migrator', 'tftesting_human');
      rolname       | rolcanlogin 
--------------------+-------------
 tftesting_migrator | t
(1 row)

@mianava
mianava marked this pull request as ready for review September 10, 2026 12:06
@mianava
mianava requested a review from a team as a code owner September 10, 2026 12:06
@mianava
mianava merged commit d536dd3 into main Sep 10, 2026
20 checks passed
@mianava
mianava deleted the 1750/migration branch September 10, 2026 19:39
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