What's the right way to run db migrations using pu...
# general
f
What's the right way to run db migrations using pulumi? So say I set up a docker image that runs migrations, and then a Fargate Task with that container definition. how do I tell pulumi to start that container only once in fargate during my deploy?
so:
Copy code
const migrate = new awsx.ecs.FargateTaskDefinition('migrate', { containers: {
  migrate: {
    image: migrateImage
  }}});
Where does this go?
Copy code
migrate.run({
  cluster,
});
106 Views