- Newest
- Most votes
- Most comments
Hi, You say above than you cannot assgn roles.
Can you at least add policies to an existing role like User: arn:aws:sts::045032096600:assumed-role/AWSLabsUser-ryXaegPwBVXT21qFGqGUdC/d110efa4-47d4-4e28-9bc7-f3eda51f5514 ?
If yes, just attach a new policy allowing rds:CreateDBInstance to this role and you should be able to move on.
Best,
Didier
Hi, Yes I tried - no permissions
User: arn:aws:sts::045032096600:assumed-role/AWSLabsUser-ryXaegPwBVXT21qFGqGUdC/d110efa4-47d4-4e28-9bc7-f3eda51f5514 Action: iam:CreatePolicy Context: no identity-based policy allows the action
I also do not have even permission to view current role - User: arn:aws:sts::045032096600:assumed-role/AWSLabsUser-ryXaegPwBVXT21qFGqGUdC/d110efa4-47d4-4e28-9bc7-f3eda51f5514 Action: iam:GetRole Context: an identity-based policy explicitly denies the action
The error you're encountering suggests that the IAM role or user you're using (AWSLabsUser) doesn't have the necessary permissions to create an RDS database instance. This is likely due to the lab environment having restricted permissions for security reasons.
To resolve this issue, you should:
-
Double-check that you're following the lab instructions exactly as provided. Sometimes labs use specific naming conventions or have pre-configured resources that you need to use.
-
Verify if there are any specific IAM roles or policies mentioned in the lab instructions that you need to assume or use for this particular task.
-
If the lab provides a way to view or modify IAM permissions, look for policies related to RDS and ensure that the "rds:CreateDBInstance" action is allowed for the role you're using.
-
Check if there are any prerequisites or setup steps that you might have missed, which could include granting necessary permissions.
-
If you're certain you've followed all instructions correctly, reach out to the lab provider's support team. They may need to adjust the permissions in the lab environment or provide you with additional guidance specific to their setup.
Remember that in a real-world scenario, you would need to ensure that your IAM user or role has the appropriate permissions to create RDS instances. This typically involves attaching a policy that includes the "rds:CreateDBInstance" permission, along with any other necessary RDS-related actions.
If the issue persists after trying these steps, it's best to contact the lab provider or the certification program support for assistance, as they can provide specific guidance tailored to their lab environment and certification requirements.
Sources
Troubleshoot missing permission errors in CloudFormation | AWS re:Post
Resolve IAM permission errors in CloudFormation | AWS re:Post
I checked all of the above. also my user do not have permissions to assign new roles.
Relevant content
asked a year ago

I was having the same issue following the instructions. I tried changing the user permissions but was unable to.
What did work was changing the size from db.t3.xlarge to a smaller size. Adding the answer here as the issue still exists.