aws-deployment-framework
aws-deployment-framework copied to clipboard
feat: set codecommit repository description
We want to set the CodeCommit description from the deployment map. And looking at the ADF codebase it is partially implemented already. So I figured that I would complete the feature ;-) since we want to make use of it.
The implementation is really simple, see: #469
But I noticed that the codecommit:UpdateRepository
action is part of the IAM permissions for the adf-automation-role
. But this permission does not exist at all. You have codecommit:UpdateRepositoryName
and codecommit:UpdateRepositoryDescription
.
Changing a repository name is tricky, so that should not be there (I think) but the codecommit:UpdateRepository
action should be changed to codecommit:UpdateRepositoryDescription
IMHO.