1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 4 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren