Im trying to pass below event keys to AWS lambda python function.
Payload='{"OS":"ubuntu","region":"us-east-1","subnetids":"'subnet-123','subnet-456','subnet-789','subnet-101112'","vpcid":"vpc-abcd"}')
facing issue passing subnetids to lambda function as its a list not a single item.
And in actual fucntion not sure how to read this payload as events itself is an array
i can read OS ,region as event["OS"],event["region"] but not sure how to read subnetids as if i try event["subnetids"] its trying to read as single value not as list of subnets
Please suggest!!