1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a 4 ans
Contenus pertinents
- demandé il y a 8 mois
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 6 mois