Step 1 – Open IAM : Open IAM
Step 2 – Open Roles : Click on Roles on Sidebar
Step 3 – Create Role : click on Create role
Step 4 – Start Creating role :
(i) Select trusted entity | Trusted entity type | AWS service |
Use case | CodeDeploy | |
(ii) Add permissions | Permissions policies | AWSCodeDeployRole |
(iii) Name, review, and create | Role name | <your-role-name> |
tags | <your-tags> |
(i) Select trusted entity :
(ii) Add permissions : Selected AWSCodeDeployRole , Click on Next
(iii) Name, review, and create : Review and Click on Create role
Once after clicking it , wait few seconds – Role is created
Now Go to CodeDeploy Application – Create Deployment group in- add role it