Impossible add IAM role to Amazon CodeCatalyst space

0

Hi dear support. Could you help to add normal IAM role to Amazon CodeCatalyst space?

When I try to do it, I can see messages

  • The IAM role could not be added to your space, roleArn can not be empty

I tried to use 'Create CodeCatalyst development administrator role in IAM' - doesn't work then tried add by 'Add an existing role you have created in IAM' - doesn't work.

I removed and created roles by this page, but it doesn't work https://docs.aws.amazon.com/codecatalyst/latest/userguide/ipa-iam-roles.html#ipa-iam-roles-service-role

Could you help me please with these roles?

  • Can you please add some screenshots of your problem?

    Did you check if you have any SCPs that probihit you using your CodeCtalyst region?

  • I have the same problem here. When trying "Create CodeCatalyst development administrator role in IAM" in "Add IAM role to Amazon CodeCatalyst space" screen in AWS Management Console, I got the following error message :   The IAM role could not be added to your space roleArn can not be empty   It seems there's something wrong with AWS backend API. I could find the 400 status code returned from the following API which was called from AWS management console when I see the developer tool of my web browser:   POST https://codecatalyst.us-west-2.amazonaws.com/v1/connections/abc/iam-roles {"roleArn":"arn:aws:iam::abc:role/service-role/CodeCatalystWorkflowDevelopmentRole-abc","authorizationTypes":["SERVICE","RUNNER"],"clientToken":"abc"}

    400 Bad Request {"message":"roleArn can not be empty","reason":"CANNOT_PARSE","fieldList":[{"name":"roleArn","message":"roleArn can not be empty"}],"status":400}

  • Same problem here, even create the policy for role myself didn't work.

    "roleArn can not be empty"

    I saw the post request actually did send the roleArn(and it's not empty), but get 400 error.

profile picture
Veblife
asked 8 months ago245 views
1 Answer
0

We're sorry to hear about the issue you've encountered. Our team is actively looking into it. In the meantime, could you please confirm if you were able to add IAM roles to other spaces or if you are facing this issue consistently?

Your input is greatly appreciated.

AWS
EXPERT
answered 8 months 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.

Guidelines for Answering Questions