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

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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ