Install AWS CLI
aws s3 mb s3://<YOUR_UNIQUE_BUCKET_NAME>
aws cloudformation package --template-file cfn-templates/cfn-main.yaml --s3-bucket <YOUR_UNIQUE_BUCKET_NAME> --output-template-file cfn-deploy.yaml
replace parameters/cfn-parameters.json
with the parameters from your account.
aws cloudformation deploy --template-file cfn-deploy.yaml --stack-name <YOUR STACK NAME> --parameter-overrides file://parameters/cfn-parameters.json --capabilities CAPABILITY_IAM