terraform-provider-gitlab
terraform-provider-gitlab copied to clipboard
Add support for GitLab Applications
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
It would be nice to be able to have support for GitLab Applications.
New or Affected Resource(s)
- gitlab_application
Potential Terraform Configuration
resource "gitlab_application" "example" {
name = "My App"
callback_uri = "https://example.com/login/callback"
scopes = [
"api"
]
confidential = true
}
Not shown here but the secret from the exported attributes should probably be encrypted using a PGP key like for https://www.terraform.io/docs/providers/aws/r/iam_access_key.html.
References
- GitLab Actions: https://docs.gitlab.com/ee/api/applications.html
- Go GitLab client API: https://godoc.org/github.com/xanzy/go-gitlab#Application
@steinybot hi, did you mean Add support for Gitlab Application not Github ? 😃
Oops, yes I did.
@steinybot I've found that Gitlab Application can be managed only by admin users looks like it can not be used within gitlab.com only with self-hosted.
also Gitlab API doesn't provide an endpoint to update the application
Hi, any chance this could be added now in order to support group-level applications which were introduced in Gitlab 13.11? https://docs.gitlab.com/ee/integration/oauth_provider.html#group-owned-applications