avatarTeri Radichel

Summary

The web content describes a CloudFormation error due to a parameter naming discrepancy between a deployment script and the CloudFormation template, which was resolved by correcting the parameter name.

Abstract

The article discusses a common CloudFormation error (ValidationError) that occurs when a required parameter is not supplied or is named incorrectly in the template. The author, Teri Radichel, shares a personal experience where they encountered this error while deploying a CloudFormation template using a script. The script passed a parameter named "POC," but the corresponding parameter in the CloudFormation template had a different name. Once the parameter names were aligned, the deployment script functioned correctly. The article also provides links to related stories on AWS security, application security, and troubleshooting CloudFormation error messages, as well as free content on cybersecurity careers and jobs. Additionally, Teri Radichel offers professional cybersecurity services and invites readers to follow for updates and engage with them on various platforms.

Opinions

  • The author emphasizes the importance of ensuring parameter names in deployment scripts match those in CloudFormation templates to avoid errors.
  • Teri Radichel showcases their expertise in cybersecurity, cloud security, and application security through their work, certifications, and recognition within the industry.
  • The author suggests that readers can benefit from their knowledge and experience by signing up for their email list, following them on social media, or utilizing their professional cybersecurity services.
  • The article promotes an AI service, ZAI.chat, as a cost-effective alternative to ChatGPT Plus (GPT-4), indicating the author's endorsement of this tool for similar functionalities at a lower price.

An error occurred (ValidationError) when calling the CreateChangeSet operation: Parameters: [xyz] must have values

CloudFormation Parameter Error

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Check out my series on Automating Cybersecurity Metrics. The Code.

🔒 Related Stories: AWS Security | Application Security | CloudFormation

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This error occurs when you need to pass in a parameter to a CloudFormation template and one is not supplied or it is supplied incorrectly.

In my case I created a script to deploy my CloudFormation template and passed in a parameter like this:

suffix="POC"
./deploy.sh $suffix

The problem was that I had named my parameter in my CloudFormation template:

something different from the name I was passing into from my deployment script:

Once I corrected the parameter name, my script worked.

Follow for updates.

Teri Radichel | © 2nd Sight Lab 2022

About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab
Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation
Follow for more stories like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
❤️ Sign Up my Medium Email List
❤️ Twitter: @teriradichel
❤️ LinkedIn: https://www.linkedin.com/in/teriradichel
❤️ Mastodon: @teriradichel@infosec.exchange
❤️ Facebook: 2nd Sight Lab
❤️ YouTube: @2ndsightlab
Cloudformation
Parameter
Error Message
AWS
Validationerror
Recommended from ReadMedium