Hi team, I have a list of destination security gro...
# general
l
Hi team, I have a list of destination security groups in sg.yml file. How I can provision the yaml file to main.py and connect the destination security groups to source security group
s
You’d need to unmarshall the YAML file into a data structure in Python and then use the appropriate Pulumi resources and methods to connect the security groups together.
l
@salmon-account-74572 if you provide me an example, it would be helpful
s
I’d suggest giving Pulumi AI a try and see if it can help generate some example Pulumi code for you. I don’t know if it would be able to help with unmarshalling the YAML, but a quick web search should turn up some articles that will be helpful. I apologize, but I don’t have the capacity to write any code for you at this time. However, feel free to continue to post questions in this Slack community as you make progress with your code.