> ## Content Index
> Fetch the complete content index at: https://scriptcrunch.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# [Solved] EMR Cloudformation: Error parsing parameter '--parameters': Expected: '=', received: 'EOF' for input
- URL: https://scriptcrunch.com/error-parsing-parameter/
- Published: 2020-08-10T13:52:30.000Z
- Updated: 2026-06-23T08:56:07.000Z
- Author: Scriptcrunch Editorial
- Tags: #Migrated-1758801465347, #wp, #wp-post, #Import 2025-09-25 11:57

**Issue:** While executing [AWS](https://scriptcrunch.com/tag/aws/) CLI for launching Cloudformation EMR stack, it throws the following error.

```
Error parsing parameter '--parameters': Expected: '=', 
received: 'EOF' for input
```

**Solution:** You will get this error if you pass the absolute template path without the `file://` at the beginning of the EM Cloudformation template or parameter file path.

For example, if you pass the following

```
aws cloudformation create-stack --stack-name demo-stack --template-body /home/demo/ec2-template.yaml --parameters /home/demo/ec2-parameter.json
```

However, if you pass the template path with `file://` prefix as shown below, it should not throw any error.

```
aws cloudformation create-stack --stack-name demo-stack --template-body file:///home/demo/ec2-template.yaml --parameters file:///home/demo/ec2-parameter.json
```

This is applicable for all the aws cli parameters which requires the file path as template or a parameter.