Generate AWS CloudFormation templates from existing AWS resources