Skip to content

Simulearn DynamoDB Table creation denied

0

Following along the Simulearn and I am unable to create a table in DynamoDB seems I am missing IAM access. User: arn:aws:sts::644229720188:assumed-role/AWSLabsUser-ePRc3c3CHqK2BFW2CM9Ca9/e642ffa7-99e9-4513-a710-c60142a692d0 is not authorized to perform: dynamodb:CreateTable on resource: arn:aws:dynamodb:us-east-1:644229720188:table/labTable because no identity-based policy allows the dynamodb:CreateTable action! Enter image description here

2 Answers
6
Accepted Answer

To me, this looks like a strict resource-naming issue common in AWS Sandbox/Simulearn environments.

The IAM policy attached to your temporary lab role (AWSLabsUser-...) only permits you to create DynamoDB tables with the exact name specified in the lab instructions (e.g., Music, Orders, etc.).

Because you tried to name the table labTable, the security policy blocked the action because it didn't match the allowed resource ARN pattern.

try to fix it by Go back to the specific step in your Simulearn instructions and look for the exact name required for the DynamoDB table. Delete your current draft, recreate the table using that exact case-sensitive name, and it will bypass the IAM error.

EXPERT

answered a month ago

AWS
EXPERT

reviewed a month ago

1

Maybe double check in case you have missed a previous step. I haven't done this specific simu-learn, but from the other activities I did, I realised I did some steps quickly and missed a step.

EXPERT

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.