Support deploy_key permissions in gitlab_branch_protection

Created by: dhrapson

Feature Description

The Gitlab UI supports the selection of Deploy Keys from the same Project as part of setting up Branch Protection in the context of being allowed to push to a protected branch (see https://docs.gitlab.com/ee/user/project/protected_branches.html#allow-deploy-keys-to-push-to-a-protected-branch). It would be great if the gitlab_branch_protection resource did so too.

Do you want to implement this?

  • I would like to implement this myself 👷
Edited by Timo Furrer