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
已提问 8 个月前254 查看次数
1 回答
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
专家
已回答 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则