Ability to run a shell command
TreyWW opened this issue ยท 0 comments
TreyWW commented
Community Note
- Please vote on this issue by adding a ๐ reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do * not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request
What do you want us to build?
A shell command option to run a command/terminal against your container live without manually changing a build command (like docker exec). A way to, on the fly, run shell command e.g. for database migrations or running management commands.
Describe alternatives you've considered
- Spinning up another instance on EC2/ECS to connect to my RDS instance to run migrations/revert
- Attaching a build script that uses environment variables and just re-deploying the app after changing a variable
This originally came to me when wondering how i'd actually revert a database migration on a production deployment with App Runner, it isnt really possible by the looks of it at the moment; unless I run a build command which isn't interactive or fast.