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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南