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

rhythmic-vegetable-87369

08/04/2021, 1:33 AM
Hi, Can I use SQL queries within a pulumi deployment project to check for the existence of a record, and create it if it doesn't exist?
t

tall-librarian-49374

08/04/2021, 6:25 AM
You can do pretty much anything in your Pulumi program. Make sure this code is idempotent because it will run on any preview/update.
To be clear, you’d use some non-Pulumi library for SQL queries and record creation