https://pulumi.com logo
#python
Title
# python
s

stocky-spoon-28903

02/27/2019, 2:14 AM
Copy code
rt=ec2.RouteTable('new-rt', vpc_id=vpc.id, routes=[{'gateway_id': igw.id, 'cidr_block': '0.0.0.0/0'}])
l

lemon-wall-81522

02/27/2019, 2:55 AM
That works!
s

stocky-spoon-28903

02/27/2019, 3:07 AM
I’m somewhat surprised the error message there is from the API and not from provider-side required field validation
l

lemon-wall-81522

02/27/2019, 5:01 AM
I don’t have the background yet to know any better. 😉