When do I need to have CAPABILITY_NAMED_IAM

前端 未结 2 671
走了就别回头了
走了就别回头了 2021-01-04 19:53

I was editing my CloudFormation templates and suddenly AWS tells me I need CAPABILITY_NAMED_IAM. I am curious as to which change triggers this?

What is

2条回答
  •  半阙折子戏
    2021-01-04 20:49

    You've added a resource of type AWS::IAM::Role to your resources section. This tells CloudFormation to create an IAM Role. In order to create IAM resources, you need to supply CAPABILITY_IAM or CAPABILITY_NAMED_IAM. It's an acknowledgement from you to CloudFormation that you understand that you are creating resources that can affect permissions in your AWS account.

提交回复
热议问题