Bird
0
0

You receive the error InvalidParameterException: Role ARN is missing when creating an EKS cluster. What should you do to fix this?

medium📝 Troubleshoot Q6 of 15
AWS - EKS
You receive the error InvalidParameterException: Role ARN is missing when creating an EKS cluster. What should you do to fix this?
ARemove the <code>--role-arn</code> parameter to use default permissions
BSpecify a valid IAM role ARN with the <code>--role-arn</code> parameter during cluster creation
CCreate the cluster without specifying any IAM roles
DUse the <code>--node-role</code> parameter instead of <code>--role-arn</code>
Step-by-Step Solution
Solution:
  1. Step 1: Identify cause of error

    The error indicates the required IAM role ARN was not provided.
  2. Step 2: Correct the command

    Include the --role-arn parameter with a valid IAM role ARN that EKS can assume.
  3. Final Answer:

    Specify a valid IAM role ARN with the --role-arn parameter during cluster creation -> Option B
  4. Quick Check:

    Always provide role ARN when creating EKS clusters [OK]
Quick Trick: Provide IAM role ARN with --role-arn flag [OK]
Common Mistakes:
  • Omitting the role ARN parameter
  • Using incorrect parameter names
  • Assuming default roles are assigned automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes