Hi guys, I have a problem which I can't quite get my head around (as I suppose everyone here). Not sure it fits within this channel, but here we go:
I need to open a firewall rule for pulumi to access to resource during just the stack deployment / preview, and which needs to be deleted afterwards. Basically, whether I'm running from GitHub actions or from my machine, I query my current public IP, authorize in the firewall, all the deployment works as intended, but it leaves the rules in the cloud provider. I'm using a pulumi resource to create the rule, but then it's supposed to be used for smth which will stay and be managed by pulumi, while I just want the firewall to be open temporarily. I tried to write custom code doing it through API and deleting it in the end, but it does't quite fit pulumi's lifecycle and couldn't get it right. Do you have a way to do that?
Summary: I need to open a firewall rule while the stack is deploying / previewing, and automatically delete it afterwards. (azure-native, Azure SQL, access to the instance with @pulumiverse/mssql)