Okay, let’s (change case and) add it: `rt = ec2.R...
# python
l
Okay, let’s (change case and) add it:
rt = ec2.RouteTable('new-rt', vpc_id = vpc.id, routes = [{'gateway_id': igw.id}], destination_cidr_block = '0.0.0.0/0')
Now it doesn’t even preview:
Copy code
rt = ec2.RouteTable('new-rt', vpc_id = vpc.id, routes = [{'gateway_id': igw.id}], destination_cidr_block = '0.0.0.0/0')
    TypeError: __init__() got an unexpected keyword argument 'destination_cidr_block'