title: Lambda Function URL in a public subnet?
body: <p><strong>Note:</strong> I am <strong>NOT</strong> asking why a Lambda in a subnet cannot access the public internet.</p>
  <p>I would like to host a Lambda function, with the Function URL enabled, in a public subnet and expose it via CloudFront. This is so that the function can be called from the broader internet but also access private resources.</p>
  <p>Is this possible?</p>
  <p>I have tried creating a very simple Lambda (the default generated by the <code>serverless.AspNetCoreMinimalAPI</code> template) and uploading to a simple function with Function URL enabled. With just that, I can call the Lambda from (eg) Postman.</p>
  <p>The moment I attach it to the public subnet of my VPC I get <code>502 Bad gateway</code> even with an Internet Gateway attached to the VPC.</p>