Very obscure error message for the issue at hand making an attempt to deploy a CloudFormation stack with malformed useful resource
I bought this error in a CloudFormation stack which was not very useful in any respect.
Legacy parsing? What’s that? I assumed possibly that they had up to date the CloudFormation template model after I wasn’t trying however no:
The model is choice and hasn’t been modified. Ever.
I discovered this submit however it too was not useful in any respect. It says to look in CloudTrail for extra info.
In my newest weblog collection on automating cybersecurity metrics I defined methods to add the error column to CloudTrail occasion historical past. CloudTrail doesn’t report this error in any respect.
Because it seems, on this explicit case, I had a useful resource the place I used to be making an attempt to make use of AWS pseudo parameters, however I forgot so as to add a “Sub” in entrance of the useful resource:
Ought to have been this:
Maybe the AWS parser might establish that the string accommodates ${ and there’s no Sub or another command firstly of the worth and report an higher error message.
I wrote a couple of comparable MalformedPolicyDocument error right here:
Teri Radichel
In case you appreciated this story please clap and comply with:
Medium: Teri Radichel or E-mail Listing: Teri Radichel
Twitter: @teriradichel or @2ndSightLab
Requests companies by way of LinkedIn: Teri Radichel or IANS Analysis
© 2nd Sight Lab 2022
____________________________________________
Writer:
Cybersecurity for Executives within the Age of Cloud on Amazon
Want Cloud Safety Coaching? 2nd Sight Lab Cloud Safety Coaching
Is your cloud safe? Rent 2nd Sight Lab for a penetration take a look at or safety evaluation.
Have a Cybersecurity or Cloud Safety Query? Ask Teri Radichel by scheduling a name with IANS Analysis.
Cybersecurity & Cloud Safety Sources by Teri Radichel: Cybersecurity and Cloud safety courses, articles, white papers, displays, and podcasts