published on Thursday, Nov 5, 2026 by dimeskigj
published on Thursday, Nov 5, 2026 by dimeskigj
Beta. A Dokploy GitLab OAuth integration. Configure OAuth manually in GitLab and Dokploy; readiness does not verify connectivity or authorization.
Create GitLabIntegration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GitLabIntegration(name: string, args: GitLabIntegrationArgs, opts?: CustomResourceOptions);@overload
def GitLabIntegration(resource_name: str,
args: GitLabIntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GitLabIntegration(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
application_secret: Optional[str] = None,
name: Optional[str] = None,
redirect_uri: Optional[str] = None,
gitlab_internal_url: Optional[str] = None,
gitlab_url: Optional[str] = None,
group_name: Optional[str] = None)func NewGitLabIntegration(ctx *Context, name string, args GitLabIntegrationArgs, opts ...ResourceOption) (*GitLabIntegration, error)public GitLabIntegration(string name, GitLabIntegrationArgs args, CustomResourceOptions? opts = null)
public GitLabIntegration(String name, GitLabIntegrationArgs args)
public GitLabIntegration(String name, GitLabIntegrationArgs args, CustomResourceOptions options)
type: dokploy:GitLabIntegration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dokploy_git_lab_integration" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GitLabIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GitLabIntegrationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GitLabIntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GitLabIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GitLabIntegrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gitLabIntegrationResource = new Dokploy.GitLabIntegration("gitLabIntegrationResource", new()
{
ApplicationId = "string",
ApplicationSecret = "string",
Name = "string",
RedirectUri = "string",
GitlabInternalUrl = "string",
GitlabUrl = "string",
GroupName = "string",
});
example, err := dokploy.NewGitLabIntegration(ctx, "gitLabIntegrationResource", &dokploy.GitLabIntegrationArgs{
ApplicationId: pulumi.String("string"),
ApplicationSecret: pulumi.String("string"),
Name: pulumi.String("string"),
RedirectUri: pulumi.String("string"),
GitlabInternalUrl: pulumi.String("string"),
GitlabUrl: pulumi.String("string"),
GroupName: pulumi.String("string"),
})
resource "dokploy_git_lab_integration" "gitLabIntegrationResource" {
lifecycle {
create_before_destroy = true
}
application_id = "string"
application_secret = "string"
name = "string"
redirect_uri = "string"
gitlab_internal_url = "string"
gitlab_url = "string"
group_name = "string"
}
var gitLabIntegrationResource = new GitLabIntegration("gitLabIntegrationResource", GitLabIntegrationArgs.builder()
.applicationId("string")
.applicationSecret("string")
.name("string")
.redirectUri("string")
.gitlabInternalUrl("string")
.gitlabUrl("string")
.groupName("string")
.build());
git_lab_integration_resource = dokploy.GitLabIntegration("gitLabIntegrationResource",
application_id="string",
application_secret="string",
name="string",
redirect_uri="string",
gitlab_internal_url="string",
gitlab_url="string",
group_name="string")
const gitLabIntegrationResource = new dokploy.GitLabIntegration("gitLabIntegrationResource", {
applicationId: "string",
applicationSecret: "string",
name: "string",
redirectUri: "string",
gitlabInternalUrl: "string",
gitlabUrl: "string",
groupName: "string",
});
type: dokploy:GitLabIntegration
properties:
applicationId: string
applicationSecret: string
gitlabInternalUrl: string
gitlabUrl: string
groupName: string
name: string
redirectUri: string
GitLabIntegration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GitLabIntegration resource accepts the following input properties:
- Application
Id string - The GitLab OAuth application ID.
- Application
Secret string - The GitLab OAuth application secret.
- Name string
- The integration name.
- Redirect
Uri string - The OAuth callback URI configured for the application.
- Gitlab
Internal stringUrl - An optional internal GitLab URL override, which may include basic-auth credentials.
- Gitlab
Url string - The public GitLab base URL; defaults to https://gitlab.com.
- Group
Name string - The optional GitLab group name; defaults to an empty string.
- Application
Id string - The GitLab OAuth application ID.
- Application
Secret string - The GitLab OAuth application secret.
- Name string
- The integration name.
- Redirect
Uri string - The OAuth callback URI configured for the application.
- Gitlab
Internal stringUrl - An optional internal GitLab URL override, which may include basic-auth credentials.
- Gitlab
Url string - The public GitLab base URL; defaults to https://gitlab.com.
- Group
Name string - The optional GitLab group name; defaults to an empty string.
- application_
id string - The GitLab OAuth application ID.
- application_
secret string - The GitLab OAuth application secret.
- name string
- The integration name.
- redirect_
uri string - The OAuth callback URI configured for the application.
- gitlab_
internal_ stringurl - An optional internal GitLab URL override, which may include basic-auth credentials.
- gitlab_
url string - The public GitLab base URL; defaults to https://gitlab.com.
- group_
name string - The optional GitLab group name; defaults to an empty string.
- application
Id String - The GitLab OAuth application ID.
- application
Secret String - The GitLab OAuth application secret.
- name String
- The integration name.
- redirect
Uri String - The OAuth callback URI configured for the application.
- gitlab
Internal StringUrl - An optional internal GitLab URL override, which may include basic-auth credentials.
- gitlab
Url String - The public GitLab base URL; defaults to https://gitlab.com.
- group
Name String - The optional GitLab group name; defaults to an empty string.
- application
Id string - The GitLab OAuth application ID.
- application
Secret string - The GitLab OAuth application secret.
- name string
- The integration name.
- redirect
Uri string - The OAuth callback URI configured for the application.
- gitlab
Internal stringUrl - An optional internal GitLab URL override, which may include basic-auth credentials.
- gitlab
Url string - The public GitLab base URL; defaults to https://gitlab.com.
- group
Name string - The optional GitLab group name; defaults to an empty string.
- application_
id str - The GitLab OAuth application ID.
- application_
secret str - The GitLab OAuth application secret.
- name str
- The integration name.
- redirect_
uri str - The OAuth callback URI configured for the application.
- gitlab_
internal_ strurl - An optional internal GitLab URL override, which may include basic-auth credentials.
- gitlab_
url str - The public GitLab base URL; defaults to https://gitlab.com.
- group_
name str - The optional GitLab group name; defaults to an empty string.
- application
Id String - The GitLab OAuth application ID.
- application
Secret String - The GitLab OAuth application secret.
- name String
- The integration name.
- redirect
Uri String - The OAuth callback URI configured for the application.
- gitlab
Internal StringUrl - An optional internal GitLab URL override, which may include basic-auth credentials.
- gitlab
Url String - The public GitLab base URL; defaults to https://gitlab.com.
- group
Name String - The optional GitLab group name; defaults to an empty string.
Outputs
All input properties are implicitly available as output properties. Additionally, the GitLabIntegration resource produces the following output properties:
- Git
Provider stringId - The Dokploy Git provider ID associated with this integration.
- Gitlab
Id string - The stable GitLab integration ID used as the Pulumi resource identity.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Configured bool - Whether access and refresh tokens are present; this does not indicate connectivity or authorization validity.
- Organization
Id string - The Dokploy organization ID associated with this integration.
- Git
Provider stringId - The Dokploy Git provider ID associated with this integration.
- Gitlab
Id string - The stable GitLab integration ID used as the Pulumi resource identity.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Configured bool - Whether access and refresh tokens are present; this does not indicate connectivity or authorization validity.
- Organization
Id string - The Dokploy organization ID associated with this integration.
- git_
provider_ stringid - The Dokploy Git provider ID associated with this integration.
- gitlab_
id string - The stable GitLab integration ID used as the Pulumi resource identity.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
configured bool - Whether access and refresh tokens are present; this does not indicate connectivity or authorization validity.
- organization_
id string - The Dokploy organization ID associated with this integration.
- git
Provider StringId - The Dokploy Git provider ID associated with this integration.
- gitlab
Id String - The stable GitLab integration ID used as the Pulumi resource identity.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Configured Boolean - Whether access and refresh tokens are present; this does not indicate connectivity or authorization validity.
- organization
Id String - The Dokploy organization ID associated with this integration.
- git
Provider stringId - The Dokploy Git provider ID associated with this integration.
- gitlab
Id string - The stable GitLab integration ID used as the Pulumi resource identity.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Configured boolean - Whether access and refresh tokens are present; this does not indicate connectivity or authorization validity.
- organization
Id string - The Dokploy organization ID associated with this integration.
- git_
provider_ strid - The Dokploy Git provider ID associated with this integration.
- gitlab_
id str - The stable GitLab integration ID used as the Pulumi resource identity.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
configured bool - Whether access and refresh tokens are present; this does not indicate connectivity or authorization validity.
- organization_
id str - The Dokploy organization ID associated with this integration.
- git
Provider StringId - The Dokploy Git provider ID associated with this integration.
- gitlab
Id String - The stable GitLab integration ID used as the Pulumi resource identity.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Configured Boolean - Whether access and refresh tokens are present; this does not indicate connectivity or authorization validity.
- organization
Id String - The Dokploy organization ID associated with this integration.
Look up Existing GitLabIntegration Resource
Get an existing GitLabIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): GitLabIntegration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> GitLabIntegrationfunc GetGitLabIntegration(ctx *Context, name string, id IDInput, state *GitLabIntegrationState, opts ...ResourceOption) (*GitLabIntegration, error)public static GitLabIntegration Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static GitLabIntegration get(String name, Output<String> id, CustomResourceOptions options)resources: existingGitLabIntegration: type: dokploy:GitLabIntegration get: id: ${id}import {
to = dokploy_git_lab_integration.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state GitLabIntegrationState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- dokploy dimeskigj/pulumi-dokploy
- License
- Apache-2.0
published on Thursday, Nov 5, 2026 by dimeskigj