avatarTeri Radichel

Summary

The provided web content discusses a common error in CloudFormation templates due to typos in referencing resources within the Conditions block.

Abstract

The article addresses a specific issue encountered in AWS CloudFormation, where an error occurs due to incorrect referencing of resources in the Conditions section of a template. This is typically a result of a typo in the parameter name. The author, Teri Radichel, illustrates the problem with a personal anecdote and includes screenshots before and after correcting the typo. The piece also serves as a promotional platform for Radichel's work, including her series on automating cybersecurity metrics, free content on cybersecurity careers, and her company, 2nd Sight Lab, which offers cybersecurity services. Additionally, readers are encouraged to follow Radichel on various platforms and sign up for her email list for further updates and insights.

Opinions

  • The author, Teri Radichel, implies that CloudFormation error messages could be more helpful by providing line numbers and specific details about the offending value.
  • Radichel suggests a personal naming convention for parameters, ending with "Param," to avoid such errors.
  • The article subtly promotes the author's expertise and credibility in the field of cybersecurity through mentions of her awards, certifications, and the services offered by her company, 2nd Sight Lab.
  • Radichel values the dissemination of cybersecurity knowledge, as evidenced by her invitation for readers to sign up for her email list and follow her on social media platforms for more content and updates.

Cannot reference resources in the Conditions block of the template

A typo in a name, essentially

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

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

🔒 Related Stories: Bugs | AWS Security | Secure Code | CloudFormation

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

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

This error is generally caused by a typo. It would be nice if CloudFormation would give you line numbers and the offending value but at least we know it is in the Conditions section of the template.

In my case, I generally end the name of parameters with “Param” and in the secition below I’m trying to reference a parameter but I forgot to add the full name.

Here I’ve fixed the problem and the name of the value I’m tyring to reference:

Simple dimple.

Follow for updates.

Teri Radichel | © 2nd Sight Lab 2023

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
Error Message
Cloudformation
Reference
Resources
Conditions
Recommended from ReadMedium