https://pulumi.com logo
#dotnet
Title
p

plain-tiger-79744

04/06/2020, 10:29 AM
Hi! Any recommendations on how/where to run things like EF Core database migrations using Pulumi? How would I retrieve connection strings and pass them over to another CLI tool?
t

tall-librarian-49374

04/06/2020, 12:26 PM
You could export the connection strings from your stack and then retrieve them from elsewhere with a
pulumi stack output bla
👍 1
b

better-rainbow-14549

04/06/2020, 1:22 PM
we use an msbuild task to generate an idempotent migration sql and then apply it using this dynamic provider. works well for us.
f

fast-dinner-32080

04/06/2020, 5:42 PM
The issue is dynamic providers are not supported for .net yet.
2 Views