Creating CloudFormation templates from existing AWS resources