ec2_associate_route_table function

Associates a subnet in your VPC or an internet gateway or virtual private gateway attached to your VPC with a route table in your VPC