Request for IAM Permission in AWS KodeKloud Lab

I am currently working within the KodeKloud AWS lab environment and have encountered multiple Access Denied errors while attempting IAM-related actions, such as:

  • Creating a new IAM user (iam:CreateUser)
  • Attaching policies to a user (iam:AttachUserPolicy)
  • Listing attached policies (iam:ListAttachedUserPolicies)

It appears that my IAM user (kk_labs_user_995260) does not have the necessary permissions to perform these actions. I would appreciate your guidance on how to proceed, whether by adjusting the permissions or suggesting an alternative approach within the lab.

If possible, I would like access to the relevant IAM actions needed to complete my tasks. Please let me know if there are any restrictions or best practices I should follow.

Due to the need to secure the playgrounds, access to IAM is pretty limited. You can create a new IAM user if the name starts with “iamuser”. But you’re not allowed to get any more privileges than what the original user for the lab or playground already grants. See this post here for a bit more of a discussion.

Hi @SakshiAJ

The labs are usually designed with the appropriate permissions configured. However, if you encounter a permission error, there are typically two possible scenarios:

  1. You’re attempting an action that isn’t necessary to complete the lab question.
  2. The required permissions were not properly pre-configured in the lab environment.

To help us identify the issue, please share the lab link, the specific question you’re working on, and a screenshot showing what you’ve done so far.

where are the lab question for aws provided?

Please provide the link to a lab in your course, first of all. Each lab has multiple questions. This is what Raymond is referring to.

This is NOT the lab link. We mean the KodeKloud link that you use to get to a lab. You gave us the link for AWS; this won’t help us help you.

These are still AWS links. Which does not help. What lab did you use to get to the second link. It needs to be a link under https://learn.kodekloud.com.