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 7 months ago
Relevant content
- asked 9 months ago
- asked 5 months ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago