1 Answer
- Newest
- Most votes
- Most comments
0
You cannot attach a role with "Principal": { "Service": "codedeploy.amazonaws.com" }
to your EC2 instance. You need to create a separate role that EC2 instance can assume. A sample guide to create a role for EC2 instance can be found at this page.
answered 8 months ago
Relevant content
- asked 6 months ago
- asked 10 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago