Error working CloudFormation Template
I received this error working a swiftly written CloudFormation template:
mapping values usually are not allowed right here
in “<unicode string>”, line 8, column 9:
Sort: AWS::IAM::Group
^ (line: 8)
The issue was that I forgot a colon after the useful resource title on the prior line.
In different phrases this:
Sources:
batch_job_admin_group
Sort: AWS::IAM::Group
Ought to have been this:
Sources:
batch_job_admin_group:
Sort: AWS::IAM::Group
The error message may technical make sense to somebody based mostly on the underlying implementation in CloudFormation however this error message is senseless and isn’t in any respect user-friendly for somebody new to CloudFormation.
Teri Radichel
If you happen to preferred this story please clap and observe:
Medium: Teri Radichel or Electronic mail Checklist: Teri Radichel
Twitter: @teriradichel or @2ndSightLab
Requests providers through 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 lessons, articles, white papers, displays, and podcasts