@pulumi/gitlab 5.1.0-alpha.1685165842 → 6.0.0-alpha.1685643149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/README.md +3 -3
  2. package/deployKey.d.ts +8 -0
  3. package/deployKey.js +2 -0
  4. package/deployKey.js.map +1 -1
  5. package/deployToken.d.ts +8 -0
  6. package/deployToken.js +2 -0
  7. package/deployToken.js.map +1 -1
  8. package/getGroupVariable.d.ts +4 -0
  9. package/getGroupVariable.js.map +1 -1
  10. package/getInstanceVariable.d.ts +4 -0
  11. package/getInstanceVariable.js.map +1 -1
  12. package/getProject.d.ts +0 -4
  13. package/getProject.js.map +1 -1
  14. package/getProjectIssue.d.ts +2 -2
  15. package/getProjectIssue.js +2 -2
  16. package/getProjectVariable.d.ts +4 -0
  17. package/getProjectVariable.js.map +1 -1
  18. package/groupAccessToken.d.ts +4 -4
  19. package/groupLabel.d.ts +8 -0
  20. package/groupLabel.js +2 -0
  21. package/groupLabel.js.map +1 -1
  22. package/groupLdapLink.d.ts +34 -30
  23. package/groupLdapLink.js +12 -21
  24. package/groupLdapLink.js.map +1 -1
  25. package/groupVariable.d.ts +12 -0
  26. package/groupVariable.js +3 -3
  27. package/groupVariable.js.map +1 -1
  28. package/index.d.ts +27 -3
  29. package/index.js +47 -6
  30. package/index.js.map +1 -1
  31. package/instanceVariable.d.ts +12 -0
  32. package/instanceVariable.js +3 -3
  33. package/instanceVariable.js.map +1 -1
  34. package/integrationCustomIssueTracker.d.ts +134 -0
  35. package/integrationCustomIssueTracker.js +100 -0
  36. package/integrationCustomIssueTracker.js.map +1 -0
  37. package/integrationEmailsOnPush.d.ts +189 -0
  38. package/integrationEmailsOnPush.js +106 -0
  39. package/integrationEmailsOnPush.js.map +1 -0
  40. package/integrationExternalWiki.d.ts +129 -0
  41. package/integrationExternalWiki.js +96 -0
  42. package/integrationExternalWiki.js.map +1 -0
  43. package/integrationGithub.d.ts +150 -0
  44. package/integrationGithub.js +108 -0
  45. package/integrationGithub.js.map +1 -0
  46. package/integrationJira.d.ts +291 -0
  47. package/integrationJira.js +132 -0
  48. package/integrationJira.js.map +1 -0
  49. package/integrationMicrosoftTeams.d.ts +246 -0
  50. package/integrationMicrosoftTeams.js +115 -0
  51. package/integrationMicrosoftTeams.js.map +1 -0
  52. package/integrationPipelinesEmail.d.ts +115 -0
  53. package/integrationPipelinesEmail.js +92 -0
  54. package/integrationPipelinesEmail.js.map +1 -0
  55. package/integrationSlack.d.ts +358 -0
  56. package/integrationSlack.js +133 -0
  57. package/integrationSlack.js.map +1 -0
  58. package/label.d.ts +10 -27
  59. package/label.js +4 -27
  60. package/label.js.map +1 -1
  61. package/package.json +2 -2
  62. package/package.json.dev +2 -2
  63. package/personalAccessToken.d.ts +4 -4
  64. package/pipelineSchedule.d.ts +8 -0
  65. package/pipelineSchedule.js +2 -0
  66. package/pipelineSchedule.js.map +1 -1
  67. package/pipelineTrigger.d.ts +8 -0
  68. package/pipelineTrigger.js +2 -0
  69. package/pipelineTrigger.js.map +1 -1
  70. package/project.d.ts +0 -12
  71. package/project.js +0 -2
  72. package/project.js.map +1 -1
  73. package/projectAccessToken.d.ts +4 -4
  74. package/projectFreezePeriod.d.ts +7 -7
  75. package/projectFreezePeriod.js +5 -5
  76. package/projectFreezePeriod.js.map +1 -1
  77. package/projectIssueBoard.d.ts +0 -52
  78. package/projectIssueBoard.js +0 -52
  79. package/projectIssueBoard.js.map +1 -1
  80. package/projectLabel.d.ts +124 -0
  81. package/{managedLicense.js → projectLabel.js} +31 -26
  82. package/projectLabel.js.map +1 -0
  83. package/projectLevelMrApprovals.d.ts +7 -7
  84. package/projectLevelMrApprovals.js +5 -5
  85. package/projectLevelMrApprovals.js.map +1 -1
  86. package/projectMembership.d.ts +8 -8
  87. package/projectMembership.js +6 -6
  88. package/projectMembership.js.map +1 -1
  89. package/projectShareGroup.d.ts +7 -7
  90. package/projectShareGroup.js +5 -5
  91. package/projectShareGroup.js.map +1 -1
  92. package/projectVariable.d.ts +12 -0
  93. package/projectVariable.js +3 -3
  94. package/projectVariable.js.map +1 -1
  95. package/serviceCustomIssueTracker.d.ts +3 -1
  96. package/serviceCustomIssueTracker.js +3 -1
  97. package/serviceCustomIssueTracker.js.map +1 -1
  98. package/serviceEmailsOnPush.d.ts +2 -0
  99. package/serviceEmailsOnPush.js +2 -0
  100. package/serviceEmailsOnPush.js.map +1 -1
  101. package/serviceExternalWiki.d.ts +2 -0
  102. package/serviceExternalWiki.js +2 -0
  103. package/serviceExternalWiki.js.map +1 -1
  104. package/serviceGithub.d.ts +3 -1
  105. package/serviceGithub.js +3 -1
  106. package/serviceGithub.js.map +1 -1
  107. package/serviceJira.d.ts +3 -1
  108. package/serviceJira.js +3 -1
  109. package/serviceJira.js.map +1 -1
  110. package/serviceMicrosoftTeams.d.ts +3 -1
  111. package/serviceMicrosoftTeams.js +3 -1
  112. package/serviceMicrosoftTeams.js.map +1 -1
  113. package/servicePipelinesEmail.d.ts +2 -0
  114. package/servicePipelinesEmail.js +2 -0
  115. package/servicePipelinesEmail.js.map +1 -1
  116. package/serviceSlack.d.ts +2 -0
  117. package/serviceSlack.js +2 -0
  118. package/serviceSlack.js.map +1 -1
  119. package/types/output.d.ts +3 -1
  120. package/managedLicense.d.ts +0 -109
  121. package/managedLicense.js.map +0 -1
@@ -0,0 +1,124 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The `gitlab.ProjectLabel` resource allows to manage the lifecycle of a project label.
4
+ *
5
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/labels.html#project-labels)
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as gitlab from "@pulumi/gitlab";
12
+ *
13
+ * const fixme = new gitlab.ProjectLabel("fixme", {
14
+ * project: "example",
15
+ * description: "issue with failing tests",
16
+ * color: "#ffcc00",
17
+ * });
18
+ * // Scoped label
19
+ * const devopsCreate = new gitlab.ProjectLabel("devopsCreate", {
20
+ * project: gitlab_project.example.id,
21
+ * description: "issue for creating infrastructure resources",
22
+ * color: "#ffa500",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Gitlab Project labels can be imported using an id made up of `{project_id}:{group_label_id}`, e.g.
29
+ *
30
+ * ```sh
31
+ * $ pulumi import gitlab:index/projectLabel:ProjectLabel example 12345:fixme
32
+ * ```
33
+ */
34
+ export declare class ProjectLabel extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing ProjectLabel resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectLabelState, opts?: pulumi.CustomResourceOptions): ProjectLabel;
45
+ /**
46
+ * Returns true if the given object is an instance of ProjectLabel. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is ProjectLabel;
50
+ /**
51
+ * The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
52
+ */
53
+ readonly color: pulumi.Output<string>;
54
+ /**
55
+ * The description of the label.
56
+ */
57
+ readonly description: pulumi.Output<string | undefined>;
58
+ /**
59
+ * The id of the project label.
60
+ */
61
+ readonly labelId: pulumi.Output<number>;
62
+ /**
63
+ * The name of the label.
64
+ */
65
+ readonly name: pulumi.Output<string>;
66
+ /**
67
+ * The name or id of the project to add the label to.
68
+ */
69
+ readonly project: pulumi.Output<string>;
70
+ /**
71
+ * Create a ProjectLabel resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name: string, args: ProjectLabelArgs, opts?: pulumi.CustomResourceOptions);
78
+ }
79
+ /**
80
+ * Input properties used for looking up and filtering ProjectLabel resources.
81
+ */
82
+ export interface ProjectLabelState {
83
+ /**
84
+ * The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
85
+ */
86
+ color?: pulumi.Input<string>;
87
+ /**
88
+ * The description of the label.
89
+ */
90
+ description?: pulumi.Input<string>;
91
+ /**
92
+ * The id of the project label.
93
+ */
94
+ labelId?: pulumi.Input<number>;
95
+ /**
96
+ * The name of the label.
97
+ */
98
+ name?: pulumi.Input<string>;
99
+ /**
100
+ * The name or id of the project to add the label to.
101
+ */
102
+ project?: pulumi.Input<string>;
103
+ }
104
+ /**
105
+ * The set of arguments for constructing a ProjectLabel resource.
106
+ */
107
+ export interface ProjectLabelArgs {
108
+ /**
109
+ * The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
110
+ */
111
+ color: pulumi.Input<string>;
112
+ /**
113
+ * The description of the label.
114
+ */
115
+ description?: pulumi.Input<string>;
116
+ /**
117
+ * The name of the label.
118
+ */
119
+ name?: pulumi.Input<string>;
120
+ /**
121
+ * The name or id of the project to add the label to.
122
+ */
123
+ project: pulumi.Input<string>;
124
+ }
@@ -2,15 +2,13 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.ManagedLicense = void 0;
5
+ exports.ProjectLabel = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * The `gitlab.ManagedLicense` resource allows to manage the lifecycle of a managed license.
9
+ * The `gitlab.ProjectLabel` resource allows to manage the lifecycle of a project label.
10
10
  *
11
- * > This resource requires a GitLab Enterprise instance.
12
- *
13
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/managed_licenses.html)
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/labels.html#project-labels)
14
12
  *
15
13
  * ## Example Usage
16
14
  *
@@ -18,27 +16,30 @@ const utilities = require("./utilities");
18
16
  * import * as pulumi from "@pulumi/pulumi";
19
17
  * import * as gitlab from "@pulumi/gitlab";
20
18
  *
21
- * const foo = new gitlab.Project("foo", {
22
- * description: "Lorem Ipsum",
23
- * visibilityLevel: "public",
19
+ * const fixme = new gitlab.ProjectLabel("fixme", {
20
+ * project: "example",
21
+ * description: "issue with failing tests",
22
+ * color: "#ffcc00",
24
23
  * });
25
- * const mit = new gitlab.ManagedLicense("mit", {
26
- * project: foo.id,
27
- * approvalStatus: "allowed",
24
+ * // Scoped label
25
+ * const devopsCreate = new gitlab.ProjectLabel("devopsCreate", {
26
+ * project: gitlab_project.example.id,
27
+ * description: "issue for creating infrastructure resources",
28
+ * color: "#ffa500",
28
29
  * });
29
30
  * ```
30
31
  *
31
32
  * ## Import
32
33
  *
33
- * You can import this resource with an id made up of `{project-id}:{license-id}`, e.g.
34
+ * Gitlab Project labels can be imported using an id made up of `{project_id}:{group_label_id}`, e.g.
34
35
  *
35
36
  * ```sh
36
- * $ pulumi import gitlab:index/managedLicense:ManagedLicense foo 1:2
37
+ * $ pulumi import gitlab:index/projectLabel:ProjectLabel example 12345:fixme
37
38
  * ```
38
39
  */
39
- class ManagedLicense extends pulumi.CustomResource {
40
+ class ProjectLabel extends pulumi.CustomResource {
40
41
  /**
41
- * Get an existing ManagedLicense resource's state with the given name, ID, and optional extra
42
+ * Get an existing ProjectLabel resource's state with the given name, ID, and optional extra
42
43
  * properties used to qualify the lookup.
43
44
  *
44
45
  * @param name The _unique_ name of the resulting resource.
@@ -47,44 +48,48 @@ class ManagedLicense extends pulumi.CustomResource {
47
48
  * @param opts Optional settings to control the behavior of the CustomResource.
48
49
  */
49
50
  static get(name, id, state, opts) {
50
- return new ManagedLicense(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ return new ProjectLabel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
52
  }
52
53
  /**
53
- * Returns true if the given object is an instance of ManagedLicense. This is designed to work even
54
+ * Returns true if the given object is an instance of ProjectLabel. This is designed to work even
54
55
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
56
  */
56
57
  static isInstance(obj) {
57
58
  if (obj === undefined || obj === null) {
58
59
  return false;
59
60
  }
60
- return obj['__pulumiType'] === ManagedLicense.__pulumiType;
61
+ return obj['__pulumiType'] === ProjectLabel.__pulumiType;
61
62
  }
62
63
  constructor(name, argsOrState, opts) {
63
64
  let resourceInputs = {};
64
65
  opts = opts || {};
65
66
  if (opts.id) {
66
67
  const state = argsOrState;
67
- resourceInputs["approvalStatus"] = state ? state.approvalStatus : undefined;
68
+ resourceInputs["color"] = state ? state.color : undefined;
69
+ resourceInputs["description"] = state ? state.description : undefined;
70
+ resourceInputs["labelId"] = state ? state.labelId : undefined;
68
71
  resourceInputs["name"] = state ? state.name : undefined;
69
72
  resourceInputs["project"] = state ? state.project : undefined;
70
73
  }
71
74
  else {
72
75
  const args = argsOrState;
73
- if ((!args || args.approvalStatus === undefined) && !opts.urn) {
74
- throw new Error("Missing required property 'approvalStatus'");
76
+ if ((!args || args.color === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'color'");
75
78
  }
76
79
  if ((!args || args.project === undefined) && !opts.urn) {
77
80
  throw new Error("Missing required property 'project'");
78
81
  }
79
- resourceInputs["approvalStatus"] = args ? args.approvalStatus : undefined;
82
+ resourceInputs["color"] = args ? args.color : undefined;
83
+ resourceInputs["description"] = args ? args.description : undefined;
80
84
  resourceInputs["name"] = args ? args.name : undefined;
81
85
  resourceInputs["project"] = args ? args.project : undefined;
86
+ resourceInputs["labelId"] = undefined /*out*/;
82
87
  }
83
88
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
- super(ManagedLicense.__pulumiType, name, resourceInputs, opts);
89
+ super(ProjectLabel.__pulumiType, name, resourceInputs, opts);
85
90
  }
86
91
  }
87
- exports.ManagedLicense = ManagedLicense;
92
+ exports.ProjectLabel = ProjectLabel;
88
93
  /** @internal */
89
- ManagedLicense.__pulumiType = 'gitlab:index/managedLicense:ManagedLicense';
90
- //# sourceMappingURL=managedLicense.js.map
94
+ ProjectLabel.__pulumiType = 'gitlab:index/projectLabel:ProjectLabel';
95
+ //# sourceMappingURL=projectLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectLabel.js","sourceRoot":"","sources":["../projectLabel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC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MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAnFL,oCAoFC;AAtEG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  *
15
15
  * const fooProject = new gitlab.Project("fooProject", {description: "My example project"});
16
16
  * const fooProjectLevelMrApprovals = new gitlab.ProjectLevelMrApprovals("fooProjectLevelMrApprovals", {
17
- * projectId: fooProject.id,
17
+ * project: fooProject.id,
18
18
  * resetApprovalsOnPush: true,
19
19
  * disableOverridingApproversPerMergeRequest: false,
20
20
  * mergeRequestsAuthorApproval: false,
@@ -63,9 +63,9 @@ export declare class ProjectLevelMrApprovals extends pulumi.CustomResource {
63
63
  */
64
64
  readonly mergeRequestsDisableCommittersApproval: pulumi.Output<boolean | undefined>;
65
65
  /**
66
- * The ID of the project to change MR approval configuration.
66
+ * The ID or URL-encoded path of a project to change MR approval configuration.
67
67
  */
68
- readonly projectId: pulumi.Output<number>;
68
+ readonly project: pulumi.Output<string>;
69
69
  /**
70
70
  * Set to `true` if you want to require authentication when approving a merge request.
71
71
  */
@@ -100,9 +100,9 @@ export interface ProjectLevelMrApprovalsState {
100
100
  */
101
101
  mergeRequestsDisableCommittersApproval?: pulumi.Input<boolean>;
102
102
  /**
103
- * The ID of the project to change MR approval configuration.
103
+ * The ID or URL-encoded path of a project to change MR approval configuration.
104
104
  */
105
- projectId?: pulumi.Input<number>;
105
+ project?: pulumi.Input<string>;
106
106
  /**
107
107
  * Set to `true` if you want to require authentication when approving a merge request.
108
108
  */
@@ -129,9 +129,9 @@ export interface ProjectLevelMrApprovalsArgs {
129
129
  */
130
130
  mergeRequestsDisableCommittersApproval?: pulumi.Input<boolean>;
131
131
  /**
132
- * The ID of the project to change MR approval configuration.
132
+ * The ID or URL-encoded path of a project to change MR approval configuration.
133
133
  */
134
- projectId: pulumi.Input<number>;
134
+ project: pulumi.Input<string>;
135
135
  /**
136
136
  * Set to `true` if you want to require authentication when approving a merge request.
137
137
  */
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
20
20
  *
21
21
  * const fooProject = new gitlab.Project("fooProject", {description: "My example project"});
22
22
  * const fooProjectLevelMrApprovals = new gitlab.ProjectLevelMrApprovals("fooProjectLevelMrApprovals", {
23
- * projectId: fooProject.id,
23
+ * project: fooProject.id,
24
24
  * resetApprovalsOnPush: true,
25
25
  * disableOverridingApproversPerMergeRequest: false,
26
26
  * mergeRequestsAuthorApproval: false,
@@ -71,19 +71,19 @@ class ProjectLevelMrApprovals extends pulumi.CustomResource {
71
71
  resourceInputs["disableOverridingApproversPerMergeRequest"] = state ? state.disableOverridingApproversPerMergeRequest : undefined;
72
72
  resourceInputs["mergeRequestsAuthorApproval"] = state ? state.mergeRequestsAuthorApproval : undefined;
73
73
  resourceInputs["mergeRequestsDisableCommittersApproval"] = state ? state.mergeRequestsDisableCommittersApproval : undefined;
74
- resourceInputs["projectId"] = state ? state.projectId : undefined;
74
+ resourceInputs["project"] = state ? state.project : undefined;
75
75
  resourceInputs["requirePasswordToApprove"] = state ? state.requirePasswordToApprove : undefined;
76
76
  resourceInputs["resetApprovalsOnPush"] = state ? state.resetApprovalsOnPush : undefined;
77
77
  }
78
78
  else {
79
79
  const args = argsOrState;
80
- if ((!args || args.projectId === undefined) && !opts.urn) {
81
- throw new Error("Missing required property 'projectId'");
80
+ if ((!args || args.project === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'project'");
82
82
  }
83
83
  resourceInputs["disableOverridingApproversPerMergeRequest"] = args ? args.disableOverridingApproversPerMergeRequest : undefined;
84
84
  resourceInputs["mergeRequestsAuthorApproval"] = args ? args.mergeRequestsAuthorApproval : undefined;
85
85
  resourceInputs["mergeRequestsDisableCommittersApproval"] = args ? args.mergeRequestsDisableCommittersApproval : undefined;
86
- resourceInputs["projectId"] = args ? args.projectId : undefined;
86
+ resourceInputs["project"] = args ? args.project : undefined;
87
87
  resourceInputs["requirePasswordToApprove"] = args ? args.requirePasswordToApprove : undefined;
88
88
  resourceInputs["resetApprovalsOnPush"] = args ? args.resetApprovalsOnPush : undefined;
89
89
  }
@@ -1 +1 @@
1
- {"version":3,"file":"projectLevelMrApprovals.js","sourceRoot":"","sources":["../projectLevelMrApprovals.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,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AAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,2CAA2C,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yCAAyC,CAAC,CAAC,CAAC,SAAS,CAAC;YAChI,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,cAAc,CAAC,wCAAwC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1H,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;SACzF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAtFL,0DAuFC;AAzEG,gBAAgB;AACO,oCAAY,GAAG,8DAA8D,CAAC"}
@@ -14,13 +14,13 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  *
15
15
  * const test = new gitlab.ProjectMembership("test", {
16
16
  * accessLevel: "guest",
17
- * projectId: "12345",
17
+ * project: "12345",
18
18
  * userId: 1337,
19
19
  * });
20
20
  * const example = new gitlab.ProjectMembership("example", {
21
21
  * accessLevel: "guest",
22
22
  * expiresAt: "2022-12-31",
23
- * projectId: "67890",
23
+ * project: "67890",
24
24
  * userId: 1234,
25
25
  * });
26
26
  * ```
@@ -58,9 +58,9 @@ export declare class ProjectMembership extends pulumi.CustomResource {
58
58
  */
59
59
  readonly expiresAt: pulumi.Output<string | undefined>;
60
60
  /**
61
- * The id of the project.
61
+ * The ID or URL-encoded path of the project.
62
62
  */
63
- readonly projectId: pulumi.Output<string>;
63
+ readonly project: pulumi.Output<string>;
64
64
  /**
65
65
  * The id of the user.
66
66
  */
@@ -87,9 +87,9 @@ export interface ProjectMembershipState {
87
87
  */
88
88
  expiresAt?: pulumi.Input<string>;
89
89
  /**
90
- * The id of the project.
90
+ * The ID or URL-encoded path of the project.
91
91
  */
92
- projectId?: pulumi.Input<string>;
92
+ project?: pulumi.Input<string>;
93
93
  /**
94
94
  * The id of the user.
95
95
  */
@@ -108,9 +108,9 @@ export interface ProjectMembershipArgs {
108
108
  */
109
109
  expiresAt?: pulumi.Input<string>;
110
110
  /**
111
- * The id of the project.
111
+ * The ID or URL-encoded path of the project.
112
112
  */
113
- projectId: pulumi.Input<string>;
113
+ project: pulumi.Input<string>;
114
114
  /**
115
115
  * The id of the user.
116
116
  */
@@ -20,13 +20,13 @@ const utilities = require("./utilities");
20
20
  *
21
21
  * const test = new gitlab.ProjectMembership("test", {
22
22
  * accessLevel: "guest",
23
- * projectId: "12345",
23
+ * project: "12345",
24
24
  * userId: 1337,
25
25
  * });
26
26
  * const example = new gitlab.ProjectMembership("example", {
27
27
  * accessLevel: "guest",
28
28
  * expiresAt: "2022-12-31",
29
- * projectId: "67890",
29
+ * project: "67890",
30
30
  * userId: 1234,
31
31
  * });
32
32
  * ```
@@ -69,7 +69,7 @@ class ProjectMembership extends pulumi.CustomResource {
69
69
  const state = argsOrState;
70
70
  resourceInputs["accessLevel"] = state ? state.accessLevel : undefined;
71
71
  resourceInputs["expiresAt"] = state ? state.expiresAt : undefined;
72
- resourceInputs["projectId"] = state ? state.projectId : undefined;
72
+ resourceInputs["project"] = state ? state.project : undefined;
73
73
  resourceInputs["userId"] = state ? state.userId : undefined;
74
74
  }
75
75
  else {
@@ -77,15 +77,15 @@ class ProjectMembership extends pulumi.CustomResource {
77
77
  if ((!args || args.accessLevel === undefined) && !opts.urn) {
78
78
  throw new Error("Missing required property 'accessLevel'");
79
79
  }
80
- if ((!args || args.projectId === undefined) && !opts.urn) {
81
- throw new Error("Missing required property 'projectId'");
80
+ if ((!args || args.project === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'project'");
82
82
  }
83
83
  if ((!args || args.userId === undefined) && !opts.urn) {
84
84
  throw new Error("Missing required property 'userId'");
85
85
  }
86
86
  resourceInputs["accessLevel"] = args ? args.accessLevel : undefined;
87
87
  resourceInputs["expiresAt"] = args ? args.expiresAt : undefined;
88
- resourceInputs["projectId"] = args ? args.projectId : undefined;
88
+ resourceInputs["project"] = args ? args.project : undefined;
89
89
  resourceInputs["userId"] = args ? args.userId : undefined;
90
90
  }
91
91
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"projectMembership.js","sourceRoot":"","sources":["../projectMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO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I,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAhFL,8CAiFC;AAnEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  * const test = new gitlab.ProjectShareGroup("test", {
14
14
  * groupAccess: "guest",
15
15
  * groupId: 1337,
16
- * projectId: "12345",
16
+ * project: "12345",
17
17
  * });
18
18
  * ```
19
19
  *
@@ -56,9 +56,9 @@ export declare class ProjectShareGroup extends pulumi.CustomResource {
56
56
  */
57
57
  readonly groupId: pulumi.Output<number>;
58
58
  /**
59
- * The id of the project.
59
+ * The ID or URL-encoded path of the project.
60
60
  */
61
- readonly projectId: pulumi.Output<string>;
61
+ readonly project: pulumi.Output<string>;
62
62
  /**
63
63
  * Create a ProjectShareGroup resource with the given unique name, arguments, and options.
64
64
  *
@@ -87,9 +87,9 @@ export interface ProjectShareGroupState {
87
87
  */
88
88
  groupId?: pulumi.Input<number>;
89
89
  /**
90
- * The id of the project.
90
+ * The ID or URL-encoded path of the project.
91
91
  */
92
- projectId?: pulumi.Input<string>;
92
+ project?: pulumi.Input<string>;
93
93
  }
94
94
  /**
95
95
  * The set of arguments for constructing a ProjectShareGroup resource.
@@ -110,7 +110,7 @@ export interface ProjectShareGroupArgs {
110
110
  */
111
111
  groupId: pulumi.Input<number>;
112
112
  /**
113
- * The id of the project.
113
+ * The ID or URL-encoded path of the project.
114
114
  */
115
- projectId: pulumi.Input<string>;
115
+ project: pulumi.Input<string>;
116
116
  }
@@ -19,7 +19,7 @@ const utilities = require("./utilities");
19
19
  * const test = new gitlab.ProjectShareGroup("test", {
20
20
  * groupAccess: "guest",
21
21
  * groupId: 1337,
22
- * projectId: "12345",
22
+ * project: "12345",
23
23
  * });
24
24
  * ```
25
25
  *
@@ -62,20 +62,20 @@ class ProjectShareGroup extends pulumi.CustomResource {
62
62
  resourceInputs["accessLevel"] = state ? state.accessLevel : undefined;
63
63
  resourceInputs["groupAccess"] = state ? state.groupAccess : undefined;
64
64
  resourceInputs["groupId"] = state ? state.groupId : undefined;
65
- resourceInputs["projectId"] = state ? state.projectId : undefined;
65
+ resourceInputs["project"] = state ? state.project : undefined;
66
66
  }
67
67
  else {
68
68
  const args = argsOrState;
69
69
  if ((!args || args.groupId === undefined) && !opts.urn) {
70
70
  throw new Error("Missing required property 'groupId'");
71
71
  }
72
- if ((!args || args.projectId === undefined) && !opts.urn) {
73
- throw new Error("Missing required property 'projectId'");
72
+ if ((!args || args.project === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'project'");
74
74
  }
75
75
  resourceInputs["accessLevel"] = args ? args.accessLevel : undefined;
76
76
  resourceInputs["groupAccess"] = args ? args.groupAccess : undefined;
77
77
  resourceInputs["groupId"] = args ? args.groupId : undefined;
78
- resourceInputs["projectId"] = args ? args.projectId : undefined;
78
+ resourceInputs["project"] = args ? args.project : undefined;
79
79
  }
80
80
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
81
  super(ProjectShareGroup.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"projectShareGroup.js","sourceRoot":"","sources":["../projectShareGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA6BD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,K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ed only to pipelines running on protected branches and tags. Defaults to `false`.
65
65
  */
66
66
  readonly protected: pulumi.Output<boolean | undefined>;
67
+ /**
68
+ * Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
69
+ */
70
+ readonly raw: pulumi.Output<boolean | undefined>;
67
71
  /**
68
72
  * The value of the variable.
69
73
  */
@@ -105,6 +109,10 @@ export interface ProjectVariableState {
105
109
  * If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
106
110
  */
107
111
  protected?: pulumi.Input<boolean>;
112
+ /**
113
+ * Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
114
+ */
115
+ raw?: pulumi.Input<boolean>;
108
116
  /**
109
117
  * The value of the variable.
110
118
  */
@@ -138,6 +146,10 @@ export interface ProjectVariableArgs {
138
146
  * If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
139
147
  */
140
148
  protected?: pulumi.Input<boolean>;
149
+ /**
150
+ * Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
151
+ */
152
+ raw?: pulumi.Input<boolean>;
141
153
  /**
142
154
  * The value of the variable.
143
155
  */
@@ -67,6 +67,7 @@ class ProjectVariable extends pulumi.CustomResource {
67
67
  resourceInputs["masked"] = state ? state.masked : undefined;
68
68
  resourceInputs["project"] = state ? state.project : undefined;
69
69
  resourceInputs["protected"] = state ? state.protected : undefined;
70
+ resourceInputs["raw"] = state ? state.raw : undefined;
70
71
  resourceInputs["value"] = state ? state.value : undefined;
71
72
  resourceInputs["variableType"] = state ? state.variableType : undefined;
72
73
  }
@@ -86,12 +87,11 @@ class ProjectVariable extends pulumi.CustomResource {
86
87
  resourceInputs["masked"] = args ? args.masked : undefined;
87
88
  resourceInputs["project"] = args ? args.project : undefined;
88
89
  resourceInputs["protected"] = args ? args.protected : undefined;
89
- resourceInputs["value"] = (args === null || args === void 0 ? void 0 : args.value) ? pulumi.secret(args.value) : undefined;
90
+ resourceInputs["raw"] = args ? args.raw : undefined;
91
+ resourceInputs["value"] = args ? args.value : undefined;
90
92
  resourceInputs["variableType"] = args ? args.variableType : undefined;
91
93
  }
92
94
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
93
- const secretOpts = { additionalSecretOutputs: ["value"] };
94
- opts = pulumi.mergeOptions(opts, secretOpts);
95
95
  super(ProjectVariable.__pulumiType, name, resourceInputs, opts);
96
96
  }
97
97
  }
@@ -1 +1 @@
1
- {"version":3,"file":"projectVariable.js","sourceRoot":"","sources":["../projectVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF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AS,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxGL,0CAyGC;AA3FG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * The `gitlab.ServiceCustomIssueTracker` resource allows to manage the lifecycle of a project integration with Custom Issue Tracker.
4
4
  *
5
+ * > This resource is deprecated. use `gitlab.IntegrationCustomIssueTracker`instead!
6
+ *
5
7
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#custom-issue-tracker)
6
8
  *
7
9
  * ## Example Usage
@@ -23,7 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
23
25
  *
24
26
  * ## Import
25
27
  *
26
- * You can import a gitlab_service_external_wiki state using the project ID, e.g.
28
+ * You can import a gitlab_service_custom_issue_tracker state using the project ID, e.g.
27
29
  *
28
30
  * ```sh
29
31
  * $ pulumi import gitlab:index/serviceCustomIssueTracker:ServiceCustomIssueTracker tracker 1