1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
This is not possible in CloudFormation today as there is no such resource. Also, if we consider CloudFormation had a resource to do this, it would just be a logical resource that attaches a policy to a role, just like how we have route to route table attachment. So your options are
- Use custom resource or
- Create a new role and attach an existing policy to it or
- Create a new policy and attach it to an existing role or
- Create both in CloudFormation
回答済み 4年前
関連するコンテンツ
- AWS公式更新しました 3年前