Ross Coundon
10/04/2021, 11:38 AMapp.setDefaultFunctionProps
in the context of setting VPC settings and security groups.
The securityGroups property is readonly on sst.FunctionProps so I was getting around this by defining my own type where it was writeable. From memory I think you were going to have a look at why it was readonly in the base CDK class to determine if this was safe to do. Did I remember that right? If so, did you get a chance to look into it?thdxr
10/04/2021, 3:59 PMthdxr
10/04/2021, 4:00 PMthdxr
10/04/2021, 4:00 PM