mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-11 22:00:21 -04:00
912 B
912 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| gitlab | GitLab: gitlab_deploy_key | docs-gitlab-resource-deploy_key | Creates and manages deploy keys for GitLab projects |
gitlab_deploy_key
This resource allows you to create and manage deploy keys for your GitLab projects.
Example Usage
resource "gitlab_deploy_key" "example" {
project = "example/deploying"
title = "Example deploy key"
key = "ssh-rsa AAAA..."
}
Argument Reference
The following arguments are supported:
-
project- (Required, string) The name or id of the project to add the deploy key to. -
title- (Required, string) A title to describe the deploy key with. -
key- (Required, string) The public ssh key body. -
can_push- (Optional, boolean) Allow this deploy key to be used to push changes to the project. Defaults tofalse. NOTE:: this cannot currently be managed.