Export AWS configuration as CloudFormation template
<p>I´m using AWS CLI and CloudFormation, and I could not find any reference in the documentation.</p>
<p>Does anybody know if it´s possible to create a CloudFormation template from a current configuration.</p>
<p>Let´s say that I want to get a CloudFormation template from my current security group configuration.</p>
<p>Any idea if it´s possible to export that configuration as a template using CLI?</p>