gitlab_application (Resource)

The gitlab_application resource allows to manage the lifecycle of applications in gitlab.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_application" "oidc" {
  confidential = true
  scopes       = ["openid"]
  name         = "company_oidc"
  redirect_url = "https://mycompany.com"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# Gitlab applications can be imported with their id, e.g.
terraform import gitlab_application.example "1"

# NOTE: the secret and scopes cannot be imported