The resources and data sources of the ews provider for Git. Setting up the provider: Terraform & OpenTofu.
Resources
dcloud_git_branch_protectionA branch protection rule of a repository: the branches matching branch_pattern need pull requests, approvals or status checks, refuse force pushes or deletion, or merge through a queue.
dcloud_git_deploy_keyAn SSH key with access to one repository only, read-only by default: what a CI system or a server clones with.
dcloud_git_repositoryA git repository, cloned and pushed over HTTPS (clone_url) or SSH. Deleting it deletes its history, pull requests and wiki.
dcloud_git_ssh_keyAn SSH public key of the IAM identity Terraform runs as (the access key's user), for git over SSH. A key can be registered once in the whole installation.
dcloud_git_tag_protectionA tag protection rule of a repository: creating, moving or deleting a tag matching pattern (e.g. v*) needs git:PushProtectedTag as well as git:PushRepository.
dcloud_git_webhookA repository webhook: events are POSTed to url, signed with secret when one is set (X-EWS-Signature).