[Solved] EMR Cloudformation: Error parsing parameter ‘–parameters’: Expected: ‘=’, received: ‘EOF’ for input
- Last Updated On: August 10, 2020
- By: Scriptcrunch Editorial
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.
Scriptcrunch Editorial
Other Interesting Blogs
CKA Exam Study Guide: Certified Kubernetes Administrator
This comprehensive CKA certification exam study guide covers all the important aspects of the Certified Kubernetes Administrator exam and useful resources. Passing
[40% 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
Linux Foundation Coupon for April 2024
Hi Techies, I wanted to let you know about a pretty sweet deal with the Linux Foundation Coupon that is running now.