
[Solved] EMR Cloudformation: Error parsing parameter ‘–parameters’: Expected: ‘=’, received: ‘EOF’ for input
- Last Updated on: August 10, 2020
- By: scriptcrunch
Issue: While executing 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.
Other Interesting Blogs

CKA Exam Study Guide: Certified Kubernetes Administrator
Passing the cloud-native Certified Kubernetes Administrator (CKA) exam is not a cakewalk. To pass the CKA exam, you should have enough hands-on

Linux Foundation Coupon for 2023
Hi Techies, I wanted to let you know about a pretty sweet deal with the Linux Foundation Coupon that is running now.

[35% OFF] Linux Foundation LFCA, LFCS & LFCT Exam Voucher Codes
Linux Foundation has announced up to a $284 discount on its Linux certification programs Linux Foundation Certified IT Associate (LFCA) and Linux