Org policy restricting DB instance types, creating auto scaling target fails

0

I have a terraform script that is standing up an RDS instance with auto scaling. This script works in our production account but does not work in our sandbox account. The RDS instance launches, but the autoscaling returns this error:

Error: creating Application AutoScaling Target (cluster:___): ValidationException: User is missing the following permissions: rds:CreateDBInstance

Since I am able to create the instance itself, I'm pretty sure that's not the issue. But, in our sandbox account, we have an org policy that only allows burstable EC2 and DB instance types. I saw this article that describes that in order to create the policy, a preflight call is made to create the DB instance with an invalid parameter: https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_permission_validation.html - my guess is that this preflight call is using an instance type that is forbidden by my org policy.

Has anyone encountered this issue, and if so, is there a way to define what instance type the preflight call uses?

jonb
質問済み 1ヶ月前285ビュー
2回答
1

Hello.

I think the following stackoverflow question is close to your situation.
I saw an answer that said the issue was resolved by contacting AWS Support.
https://stackoverflow.com/questions/77966844/aws-rds-custom-oracle-instance-creation-fails-due-to-missing-iam-permissions-ho

Therefore, I recommend that you open a case with AWS Support under "Account and billing" and inquire.
Inquiries under "Account and billing" can be made free of charge.
https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

profile picture
エキスパート
回答済み 1ヶ月前
0

Thanks - I will reach out to AWS support and see if they can resolve it.

jonb
回答済み 1ヶ月前

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

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

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

関連するコンテンツ