This message was deleted.
# aws
s
This message was deleted.
s
Are you asking about RouteTable or RouteTableAssociation? Your code (assuming the previous Slack message is related) uses RouteTable, but your question was related to RouteTableAssociation (and the error message references RouteTable as well).
p
the association....seems to think I need to say it needs a gatewayid
s
A RouteTableAssociation needs either a subnet ID or a gateway ID
However, the code you posted is for a RouteTable, not a RouteTableAssociation (and the error message references a RouteTable, not a RouteTableAssociation)
p
well when I delete the association the rt is created
I only get the error when I try to associate it to a subnet. Im clearly using subnet ID
oh wait just realized what you said..sorry about that