https://pulumi.com logo
#aws
Title
# aws
b

broad-church-78931

10/20/2020, 11:50 AM
Hi! When people deploy stuff like containers on Fargate ECS etc. with Pulumi, how you generally automate the database migrations and similar that should happen at the same time when the new version is deployed? Does Pulumi have some recommended/supported way of doing this.
b

broad-gold-44713

10/20/2020, 2:37 PM
I create a migration taskDefinition and launch it using AWS SDK script. I guess a dynamic provider might come in handy, but I haven't figured out how to do it.
b

broad-church-78931

10/20/2020, 4:10 PM
Ok, thanks for the insight. Do you launch it manually or do you initiate it automatically some place in the deployment code e.g. in Pulumi code?