Bugs That Bite
Published in

Bugs That Bite

aws: error: argument — name: expected one argument

Error retrieving a Systems Manager Parameter

I was calculating the look up for an AWS Systems Manager Parameter Store parameter. I dynamically pull the parameter from another source and pass it into my command. My functionality to obtain the parameter name failed and my parameter name was blank so this command failed:

aws systemsmanager get-parameter --name $name

Make sure you actually have a value in the $name parameter in the example above and that it is not an empty string.

aws systemsmanager get-parameter --name $name

Also double check that you don’t have a typo in $name.

Teri Radichel

If you liked this story please clap and follow:

Medium: Teri Radichel or Email List: Teri Radichel
Twitter: @teriradichel or @2ndSightLab
Requests services via LinkedIn: Teri Radichel or IANS Research

© 2nd Sight Lab 2022


About this blog:

Want to learn more about Cybersecurity and Cloud Security? Check out: Cybersecurity for Executives in the Age of Cloud on Amazon

Need Cloud Security Training? 2nd Sight Lab Cloud Security Training

Is your cloud secure? Hire 2nd Sight Lab for a penetration test or security assessment.

Have a Cybersecurity or Cloud Security Question? Ask Teri Radichel by scheduling a call with IANS Research.

Cybersecurity & Cloud Security Resources by Teri Radichel: Cybersecurity and Cloud security classes, articles, white papers, presentations, and podcasts



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store