I am trying to get VPC defautl securitygroup with the following code, but I am getting this error. What am I doing wrong?
sgNames := vpc.Vpc.DefaultSecurityGroupId.ApplyT(func(sg string) pulumi.StringArray {
return goStringArrayToPulumiStringArray([]string{sg})
}).(pulumi.StringArrayOutput)
panic: applier must have 1 input parameter assignable from interface {}