Tuesday, October 18, 2022
HomeCyber Securitywhereas scanning a easy key couldn't discover anticipated ‘:’ | by Teri...

whereas scanning a easy key couldn’t discover anticipated ‘:’ | by Teri Radichel | Bugs That Chunk | Oct, 2022


in “<unicode string>”, line 50, column 15:

Tonight I bought this beautiful error message.

whereas scanning a easy key
in "<unicode string>", line 50, column 15:
!Sub "${SGExportParam}"
^ (line: 50)
couldn't discover anticipated ':'
in "<unicode string>", line 51, column 11:
SubnetId:
^ (line: 51)

What might or not it’s? Seems like I’m lacking a colon [ : ] someplace doesn’t it?

I imply, it says:

couldn’t discover anticipated ‘:’

So I most likely want so as to add the colon someplace.

Right here’s the code I simply added so it have to be on this block. Do you see it?

Trace: There’s no lacking colon. That is simply one other unhealthy error message bubbled up from an underlying library that doesn’t make any sense.

Right here’s the corrected code. See it now?

I didn’t see the error at first look and the error message didn’t assist me. As a result of I add and check small blocks of code at a time I’ve much less code to scan to seek out the issue.

I truly eliminated the GroupSet and SubnetId above as a result of the documentation was not clear. I couldn’t inform in the event that they have been required if I put the safety group and subnet on my occasion — however they’re.

I eliminated these two gadgets off the EC2 occasion and added these strains again into my community Interface and after I did that the error grew to become seen to me. I wanted to indent the primary line that begins with !Sub.

There’s no lacking colon. I hope somebody will repair that error and make it nicer. #awswishlist.

Teri Radichel

If you happen to preferred this story please clap and comply with:

Medium: Teri Radichel or E 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 check 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



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments