Sunday, July 31, 2022
HomeCyber SecurityAn error occurred (ValidationError) when calling the DescribeStacks operation: 1 validation error...

An error occurred (ValidationError) when calling the DescribeStacks operation: 1 validation error detected: Worth ‘2sl_batch’ at ‘stackName’ didn’t fulfill constraint: Member should fulfill common expression sample: [a-zA-Z][-a-zA-Z0–9]*|arn:[-a-zA-Z0–9:/._+]* | by Teri Radichel | Bugs That Chew | Jul, 2022


Error with title of CloudFormation stack

Whereas attempting to run an aws cloudformation deploy command I acquired this error:

An error occurred (ValidationError) when calling the DescribeStacks operation: 1 validation error detected: Worth ‘2sl_batch’ at ‘stackName’ didn't fulfill constraint: Member should fulfill common expression sample: [a-zA-Z][-a-zA-Z0–9]*|arn:[-a-zA-Z0–9:/._+]*

CloudFormation doesn’t permit the underscore _ character in stack names or names that begins with numbers.

As an alternative of this:

aws cloudformation --stack-name 2sl_batch ....

I might rename my stack title:

aws cloudformation --stack-name batch ....

AWS naming conventions throughout the platform are very inconsistent and that may be annoying. I used to be creating and AWS group and once I happy the necessities for the stack title, the validation for the group title failed. I used to be capable of create a reputation with higher and decrease case letters, no numbers and no particular characters for each of these and that labored.

Nevertheless, if you go to create an S3 bucket you gained’t be capable of use uppercase and also you’ll have to make use of a splash if you wish to delineate totally different phrases within the title of your bucket somewhat than higher and decrease case.

Consistency could be appreciated. So would the flexibility to call issues beginning with a quantity for corporations like mine whose firm names begin with a quantity.

Teri Radichel

Should you appreciated 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

____________________________________________

Creator:

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 Assets by Teri Radichel: Cybersecurity and Cloud safety courses, articles, white papers, shows, and podcasts



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments