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

已提问 1 年前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

已回答 1 年前
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
已回答 1 年前
  • 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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则