Is it possible to place an aws lambda in a public subnet and thus avoid paying for NAT
?
The docs state the following
If your Lambda function needs Internet access, do not attach it to a public subnet or to a private subnet without Internet access. Instead, attach it only to private subnets with Internet access through a NAT instance or an Amazon VPC NAT gateway.
But do not explain why we can not attach the lambda to a public subnet.