Hello Laura. I'm looking for the default securitygroup of the new created VPC. Thanks so much.
g
great-queen-39697
12/13/2021, 4:08 PM
Gotcha; you'll want that call I posted, then
r
rapid-keyboard-69273
12/14/2021, 8:37 AM
Hi Laura. As I see the suggested call requires to know the securitygroup ID and I don't know how to retrieve it from new created VPC. Any idea and/or suggestions...?..thanks a lot.
Probably I find the solution. If the new created VPC is called i.e. myvpc, then 'myvpc.vpc.defaultSecurityGroupId;' return the default securitygroup ID. Thanks very much for your contribute. Francesco