1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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
respondido há 4 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 6 meses