GitLab v9.3.0 published on Monday, Sep 29, 2025 by Pulumi
gitlab.getProjectTags
The gitlab.getProjectTags data source allows details of project tags to be retrieved by some search criteria.
Upstream API: GitLab REST API docs
Using getProjectTags
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProjectTags(args: GetProjectTagsArgs, opts?: InvokeOptions): Promise<GetProjectTagsResult>
function getProjectTagsOutput(args: GetProjectTagsOutputArgs, opts?: InvokeOptions): Output<GetProjectTagsResult>def get_project_tags(order_by: Optional[str] = None,
project: Optional[str] = None,
search: Optional[str] = None,
sort: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectTagsResult
def get_project_tags_output(order_by: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
search: Optional[pulumi.Input[str]] = None,
sort: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectTagsResult]func GetProjectTags(ctx *Context, args *GetProjectTagsArgs, opts ...InvokeOption) (*GetProjectTagsResult, error)
func GetProjectTagsOutput(ctx *Context, args *GetProjectTagsOutputArgs, opts ...InvokeOption) GetProjectTagsResultOutput> Note: This function is named GetProjectTags in the Go SDK.
public static class GetProjectTags
{
public static Task<GetProjectTagsResult> InvokeAsync(GetProjectTagsArgs args, InvokeOptions? opts = null)
public static Output<GetProjectTagsResult> Invoke(GetProjectTagsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectTagsResult> getProjectTags(GetProjectTagsArgs args, InvokeOptions options)
public static Output<GetProjectTagsResult> getProjectTags(GetProjectTagsArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getProjectTags:getProjectTags
arguments:
# arguments dictionaryThe following arguments are supported:
- Project string
- The ID or URL-encoded path of the project owned by the authenticated user.
- Order
By string - Return tags ordered by
nameorupdatedfields. Default isupdated. - Search string
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - Sort string
- Return tags sorted in
ascordescorder. Default isdesc.
- Project string
- The ID or URL-encoded path of the project owned by the authenticated user.
- Order
By string - Return tags ordered by
nameorupdatedfields. Default isupdated. - Search string
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - Sort string
- Return tags sorted in
ascordescorder. Default isdesc.
- project String
- The ID or URL-encoded path of the project owned by the authenticated user.
- order
By String - Return tags ordered by
nameorupdatedfields. Default isupdated. - search String
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - sort String
- Return tags sorted in
ascordescorder. Default isdesc.
- project string
- The ID or URL-encoded path of the project owned by the authenticated user.
- order
By string - Return tags ordered by
nameorupdatedfields. Default isupdated. - search string
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - sort string
- Return tags sorted in
ascordescorder. Default isdesc.
- project str
- The ID or URL-encoded path of the project owned by the authenticated user.
- order_
by str - Return tags ordered by
nameorupdatedfields. Default isupdated. - search str
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - sort str
- Return tags sorted in
ascordescorder. Default isdesc.
- project String
- The ID or URL-encoded path of the project owned by the authenticated user.
- order
By String - Return tags ordered by
nameorupdatedfields. Default isupdated. - search String
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - sort String
- Return tags sorted in
ascordescorder. Default isdesc.
getProjectTags Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Project string
- The ID or URL-encoded path of the project owned by the authenticated user.
-
List<Pulumi.
Git Lab. Outputs. Get Project Tags Tag> - List of repository tags from a project.
- Order
By string - Return tags ordered by
nameorupdatedfields. Default isupdated. - Search string
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - Sort string
- Return tags sorted in
ascordescorder. Default isdesc.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project string
- The ID or URL-encoded path of the project owned by the authenticated user.
-
[]Get
Project Tags Tag - List of repository tags from a project.
- Order
By string - Return tags ordered by
nameorupdatedfields. Default isupdated. - Search string
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - Sort string
- Return tags sorted in
ascordescorder. Default isdesc.
- id String
- The provider-assigned unique ID for this managed resource.
- project String
- The ID or URL-encoded path of the project owned by the authenticated user.
-
List<Get
Project Tags Tag> - List of repository tags from a project.
- order
By String - Return tags ordered by
nameorupdatedfields. Default isupdated. - search String
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - sort String
- Return tags sorted in
ascordescorder. Default isdesc.
- id string
- The provider-assigned unique ID for this managed resource.
- project string
- The ID or URL-encoded path of the project owned by the authenticated user.
-
Get
Project Tags Tag[] - List of repository tags from a project.
- order
By string - Return tags ordered by
nameorupdatedfields. Default isupdated. - search string
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - sort string
- Return tags sorted in
ascordescorder. Default isdesc.
- id str
- The provider-assigned unique ID for this managed resource.
- project str
- The ID or URL-encoded path of the project owned by the authenticated user.
-
Sequence[Get
Project Tags Tag] - List of repository tags from a project.
- order_
by str - Return tags ordered by
nameorupdatedfields. Default isupdated. - search str
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - sort str
- Return tags sorted in
ascordescorder. Default isdesc.
- id String
- The provider-assigned unique ID for this managed resource.
- project String
- The ID or URL-encoded path of the project owned by the authenticated user.
- List<Property Map>
- List of repository tags from a project.
- order
By String - Return tags ordered by
nameorupdatedfields. Default isupdated. - search String
- Return list of tags matching the search criteria. You can use
^termandterm$to find tags that begin and end withtermrespectively. No other regular expressions are supported. - sort String
- Return tags sorted in
ascordescorder. Default isdesc.
Supporting Types
GetProjectTagsTag
- Commits
List<Pulumi.
Git Lab. Inputs. Get Project Tags Tag Commit> - The commit associated with the tag.
- Message string
- The message of the annotated tag.
- Name string
- The name of a tag.
- Protected bool
- Bool, true if tag has tag protection.
- Releases
List<Pulumi.
Git Lab. Inputs. Get Project Tags Tag Release> - The release associated with the tag.
- Target string
- The unique id assigned to the commit by Gitlab.
- Commits
[]Get
Project Tags Tag Commit - The commit associated with the tag.
- Message string
- The message of the annotated tag.
- Name string
- The name of a tag.
- Protected bool
- Bool, true if tag has tag protection.
- Releases
[]Get
Project Tags Tag Release - The release associated with the tag.
- Target string
- The unique id assigned to the commit by Gitlab.
- commits
List<Get
Project Tags Tag Commit> - The commit associated with the tag.
- message String
- The message of the annotated tag.
- name String
- The name of a tag.
- protected_ Boolean
- Bool, true if tag has tag protection.
- releases
List<Get
Project Tags Tag Release> - The release associated with the tag.
- target String
- The unique id assigned to the commit by Gitlab.
- commits
Get
Project Tags Tag Commit[] - The commit associated with the tag.
- message string
- The message of the annotated tag.
- name string
- The name of a tag.
- protected boolean
- Bool, true if tag has tag protection.
- releases
Get
Project Tags Tag Release[] - The release associated with the tag.
- target string
- The unique id assigned to the commit by Gitlab.
- commits
Sequence[Get
Project Tags Tag Commit] - The commit associated with the tag.
- message str
- The message of the annotated tag.
- name str
- The name of a tag.
- protected bool
- Bool, true if tag has tag protection.
- releases
Sequence[Get
Project Tags Tag Release] - The release associated with the tag.
- target str
- The unique id assigned to the commit by Gitlab.
- commits List<Property Map>
- The commit associated with the tag.
- message String
- The message of the annotated tag.
- name String
- The name of a tag.
- protected Boolean
- Bool, true if tag has tag protection.
- releases List<Property Map>
- The release associated with the tag.
- target String
- The unique id assigned to the commit by Gitlab.
GetProjectTagsTagCommit
- string
- The email of the author.
- string
- The name of the author.
- string
- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- Committed
Date string - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- Committer
Email string - The email of the user that committed.
- Committer
Name string - The name of the user that committed.
- Id string
- The unique id assigned to the commit by Gitlab.
- Message string
- The commit message
- Parent
Ids List<string> - The id of the parents of the commit
- Short
Id string - The short id assigned to the commit by Gitlab.
- Title string
- The title of the commit
- string
- The email of the author.
- string
- The name of the author.
- string
- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- Committed
Date string - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- Committer
Email string - The email of the user that committed.
- Committer
Name string - The name of the user that committed.
- Id string
- The unique id assigned to the commit by Gitlab.
- Message string
- The commit message
- Parent
Ids []string - The id of the parents of the commit
- Short
Id string - The short id assigned to the commit by Gitlab.
- Title string
- The title of the commit
- String
- The email of the author.
- String
- The name of the author.
- String
- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- committed
Date String - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- committer
Email String - The email of the user that committed.
- committer
Name String - The name of the user that committed.
- id String
- The unique id assigned to the commit by Gitlab.
- message String
- The commit message
- parent
Ids List<String> - The id of the parents of the commit
- short
Id String - The short id assigned to the commit by Gitlab.
- title String
- The title of the commit
- string
- The email of the author.
- string
- The name of the author.
- string
- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- committed
Date string - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- committer
Email string - The email of the user that committed.
- committer
Name string - The name of the user that committed.
- id string
- The unique id assigned to the commit by Gitlab.
- message string
- The commit message
- parent
Ids string[] - The id of the parents of the commit
- short
Id string - The short id assigned to the commit by Gitlab.
- title string
- The title of the commit
- str
- The email of the author.
- str
- The name of the author.
- str
- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- committed_
date str - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- committer_
email str - The email of the user that committed.
- committer_
name str - The name of the user that committed.
- id str
- The unique id assigned to the commit by Gitlab.
- message str
- The commit message
- parent_
ids Sequence[str] - The id of the parents of the commit
- short_
id str - The short id assigned to the commit by Gitlab.
- title str
- The title of the commit
- String
- The email of the author.
- String
- The name of the author.
- String
- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- committed
Date String - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- committer
Email String - The email of the user that committed.
- committer
Name String - The name of the user that committed.
- id String
- The unique id assigned to the commit by Gitlab.
- message String
- The commit message
- parent
Ids List<String> - The id of the parents of the commit
- short
Id String - The short id assigned to the commit by Gitlab.
- title String
- The title of the commit
GetProjectTagsTagRelease
- Description string
- The description of release.
- Tag
Name string - The name of the tag.
- Description string
- The description of release.
- Tag
Name string - The name of the tag.
- description String
- The description of release.
- tag
Name String - The name of the tag.
- description string
- The description of release.
- tag
Name string - The name of the tag.
- description str
- The description of release.
- tag_
name str - The name of the tag.
- description String
- The description of release.
- tag
Name String - The name of the tag.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlabTerraform Provider.
