title: Cannot delete vpc of AWS using ansible
body: <p>Have created a vpc with a subnet. Deleted the instance in that subnet. So, the subnet and vpc doesn't contain any more instances(dependencies). </p>
  
  <p>Further, the vpc can be deleted from the console. But when attempted through ec2_vpc module, gives the error stating "dependencies are present under this vpc so cannot be deleted". But it can see deleted from the console. </p>
  
  <p>So thought that subnet under this vpc may be the dependency. The ansible documentation provides module for subnet but when used it gives the module doesn't exist stating "illegal parameter" </p>
  
  <p>The image showing the route table which cannot be deleted by snippet given by olle </p>
  
  <p>[IMG]<a href="http://i59.tinypic.com/2d7xwxt.png[/IMG]" rel="nofollow">http://i59.tinypic.com/2d7xwxt.png[/IMG]</a></p>