Create Stack - Permissions - No Roles showing - many exist in IAM ?????

0

I am trying to do a Create Stack and when I get to the Permissions NONE of the Roles I have created will show in the IAM role name? I have created numerous roles in every single category allowed except SAML and Web identity.

What do I need to do to any of my roles to get then to appear in the drop down on the Permissions? All I see is No Roles???

Please help.

Thanks, David Miller

2回答
2
承認された回答

Hello there,

I understand you would like to create a CloudFormation stack but you are not able to see any IAM role for CloudFormation to use for all operations performed on the stack.

For you to be able to see an IAM role when launching a CloudFormation stack, you must have an IAM service role that trusts the CloudFormation service. Instead of using your account credentials, CloudFormation then uses the role's credentials to create your stack.

The CloudFormation console will only be able to display roles that are created to be assumed by the CloudFormation service. Any other IAM roles not trusting the CloudFormation service will not show up on the drop down since it will not be useful for the service to use it for launching or managing your resources.

Please refer here for more on CloudFormation service role : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html

Should you continue to encounter challenges please feel free to open a case from the account facing this issue so that you can share more information that would allow AWS Support access to the resources for further troubleshooting.

[+] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/GettingStarted.Walkthrough.html [+] https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html

AWS
サポートエンジニア
回答済み 1ヶ月前
profile picture
エキスパート
A_J
レビュー済み 1ヶ月前
1

Hi

Check your Trusted policy have the cloudofmration "Service": "cloudformation.amazonaws.com"

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Service": "cloudformation.amazonaws.com"
      },
      "Action": "sts:AssumeRole"
    }
  ]
}
profile picture
エキスパート
GK
回答済み 1ヶ月前
profile picture
エキスパート
A_J
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ