create CloudFormation template