Couldn't add RDS to the Elastic Beanstalk environment

1

While I'm trying to add RDS to the Elastic Beanstalk I'm getting this error:

Creating security group failed Reason: Properties validation failed for resource AWSEBRDSDBSecurityGroup with message: #/SecurityGroupIngress: expected type: JSONArray, found: JSONObject

I tried several times, found some solutions on stackoverflow like adding AmazoneRDSServiceRolePolicy role and but all attempts were unsuccessful with the same error. I've also check the CloudFormation logs but it is the same error without any additional description.

Any ideas?

  • Can you share how you define SecurityGroupIngress in CloudFormation?

  • @alatech I didn't define anything in the CloudFormation, I've only used the Elastic Beanstalk UI but here is the definition and also it seems there is no RDS related definition at all. https://prnt.sc/YLgeCwt-lNHa

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

Hello,

Yes, it's the default CloudFormation template used by Elastic Beanstalk to create an associated RDS that seems to be the problem. I think this is a bug that should be fixed on the aws side, right? I mean we should be able to attach an RDS to the environment without having to fix the default CloudFormation template.

Thanks

답변함 일 년 전
0

I think you are dealing with key value pair data within your CloudFormation template. Since I do not have your template, I advise you to go through this blog post - which talks about several tweaks which can be used inside a CloudFormation template, specifically Ctrl + F for Use Dictionaries as Stack Parameter this might help you.

profile picture
Shankar
답변함 일 년 전
  • Actually, I didn't define or build any template in CloudFormation. I've just used Elastic Beanstalk Console. However, I've searched the generated template but everything seems okay about the link that you sent

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

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

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

관련 콘텐츠