#azure (2022-09)

azure

Archive: https://archive.sweetops.com/azure/

2022-09-01

pavan kumar avatar
pavan kumar

Hey guys, quick question i am trying spin up and destroy azure mysql flexible db on demand using terraform .So is there a way for me to create tables and seed the data into the db each time i spin up ,other than manually logging into the db and running the sql scripts. like user data in VM’s

Zoltan K avatar
Zoltan K

hi, you could run sql client using null_resource, but you might want to create a backup and restore that in creation time instead of running sql scripts… the base mysql server has some kind of restore feature at creation but this flexible one might not…

2022-09-02

    keyboard_arrow_up