If `subnets` was a list of `aws.ec2.Subnet`s then ...
# general
f
If
subnets
was a list of `aws.ec2.Subnet`s then you'd be able to get the vpc id.