Cloud Formation Wordpress database password

0

I'm trying to create a Wordpress blog using AWS's CloudFormation's sample template. I can't figure out the password constraints for the DB Password. It doesn't tell you what they are. Does anyone know?

질문됨 일 년 전313회 조회
2개 답변
0

You should be able to open the CF template in a text editor to check the constraints. I won't know which template you are referring to, but two of the sample templates I checked have the following defined ie. between 8 to 41 characters and alpha numeric

`"DBPassword" : { "NoEcho": "true", "Description" : "The WordPress database admin account password", "Type": "String", "MinLength": "8", "MaxLength": "41", "AllowedPattern" : "[a-zA-Z0-9]*", "ConstraintDescription" : "must contain only alphanumeric characters." }

--Syd `

profile picture
Syd
답변함 일 년 전
0

Hey gingerbeer I feel your pain on this CloudFormation Wordpress setup. Password constraints can be a real head-scratcher. Here's a workaround: try creating a parameter in your CloudFormation template for the DB password, set the "AllowedPattern" to something like '[a-zA-Z0-9]*' for letters and numbers only. That should give you some leeway without getting too restrictive.

Also, make sure to check the AWS documentation for the specific database engine you're using. They usually have guidelines on password requirements.

On a personal note, I've faced a similar snag before. What worked for me was tweaking the password in the template until it matched the constraints. Trial and error, my friend.

Hang in there... Building stuff in the cloud can be a puzzle, but the satisfaction of solving it is worth it.

dara
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠