Skip to content

Allow migration script to assume custom role #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
maxammann opened this issue Apr 14, 2025 · 2 comments
Open

Allow migration script to assume custom role #28

maxammann opened this issue Apr 14, 2025 · 2 comments
Assignees
Labels
:help-customers Issues for the customer success team

Comments

@maxammann
Copy link

The IAM user that applies the terraform config in our setup does not directly have permission to run the migrate.sh script.

It lacks:

      "application-autoscaling:*",
      "ec2:*",
      "ecs:*", # RunTask
      "iam:PassRole",

It would be great if we could let the executing user assume a role instead of giving permission directly.

I envision that the migration config in this TF module would allow to set an assume_role which is assumed before executing the migrate.sh script.

@harrisonravazzolo
Copy link
Member

Hey @maxammann - check out this PR we are testing. #31

@zayhanlon
Copy link

assigning to @BCTBB to provide a final test, review with @edwardsb and then merge

@zayhanlon zayhanlon added the :help-customers Issues for the customer success team label May 27, 2025
@zayhanlon zayhanlon moved this from 📨 New requests to 🍳 Needs follow-up in 🌦️ :help-customers May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:help-customers Issues for the customer success team
Projects
Status: 🍳 Needs follow-up
Development

No branches or pull requests

4 participants