``` rt=ec2.RouteTable('new-rt', vpc_id=vpc.id, rou...
# python
s
Copy code
rt=ec2.RouteTable('new-rt', vpc_id=vpc.id, routes=[{'gateway_id': igw.id, 'cidr_block': '0.0.0.0/0'}])
l
That works!
s
I’m somewhat surprised the error message there is from the API and not from provider-side required field validation
l
I don’t have the background yet to know any better. 😉