Для роли добавляем полиси AWSCodeCommitReadOnly
далее под юзером jenkins например делаем:
git config --global credential.helper '!aws codecommit credential-helper $@'
git config --global credential.UseHttpPath true
и далее будет доступен вариант
git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/terraform
далее под юзером jenkins например делаем:
git config --global credential.helper '!aws codecommit credential-helper $@'
git config --global credential.UseHttpPath true
и далее будет доступен вариант
git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/terraform
Комментариев нет:
Отправить комментарий