Yes you need to import resources into the stack for pulumi to know about them and configure them instead of create them.
As far as people creating new key vaults manually, imo that goes against IaC best practices. If you have IaC, then the process for creating new resources should primarily go through your code. You can implement a process for requesting resources be created this way.
s
square-napkin-34090
10/31/2023, 9:22 PM
Thanks for your reply would you recommend the manual way with import command or with resourceOpts (not protected)? As I understood if I use manual import from cli I need to do it once and of course I have to declare it in my code. But I would avoid that if possible. Do you have any resources regarding the process? I wasn't able to get information on that
c
crooked-lizard-5175
10/31/2023, 9:30 PM
In your original message, are key vaults in azure related to ACLs? You mention them both, but they don't seem related.