@pulumi/gitlab 9.12.0-alpha.1782457766 → 10.0.0
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.
- package/README.md +2 -2
- package/applicationSettings.d.ts +48 -18
- package/applicationSettings.d.ts.map +1 -1
- package/applicationSettings.js +8 -2
- package/applicationSettings.js.map +1 -1
- package/branchProtection.d.ts +48 -52
- package/branchProtection.d.ts.map +1 -1
- package/branchProtection.js +30 -24
- package/branchProtection.js.map +1 -1
- package/getGroup.d.ts +114 -2
- package/getGroup.d.ts.map +1 -1
- package/getGroup.js.map +1 -1
- package/getGroupHook.d.ts +40 -6
- package/getGroupHook.d.ts.map +1 -1
- package/getGroupHook.js.map +1 -1
- package/getGroupLabel.d.ts +125 -0
- package/getGroupLabel.d.ts.map +1 -0
- package/getGroupLabel.js +93 -0
- package/getGroupLabel.js.map +1 -0
- package/getGroupLabels.d.ts +74 -0
- package/getGroupLabels.d.ts.map +1 -0
- package/getGroupLabels.js +79 -0
- package/getGroupLabels.js.map +1 -0
- package/getGroupProtectedBranch.d.ts +82 -0
- package/getGroupProtectedBranch.d.ts.map +1 -0
- package/getGroupProtectedBranch.js +61 -0
- package/getGroupProtectedBranch.js.map +1 -0
- package/getGroupProtectedBranches.d.ts +54 -0
- package/getGroupProtectedBranches.d.ts.map +1 -0
- package/getGroupProtectedBranches.js +59 -0
- package/getGroupProtectedBranches.js.map +1 -0
- package/getProject.d.ts +355 -57
- package/getProject.d.ts.map +1 -1
- package/getProject.js +0 -6
- package/getProject.js.map +1 -1
- package/getProjectHook.d.ts +36 -6
- package/getProjectHook.d.ts.map +1 -1
- package/getProjectHook.js.map +1 -1
- package/getProjectMembership.d.ts +4 -40
- package/getProjectMembership.d.ts.map +1 -1
- package/getProjectMembership.js +0 -6
- package/getProjectMembership.js.map +1 -1
- package/getProjectProtectedBranch.d.ts +8 -21
- package/getProjectProtectedBranch.d.ts.map +1 -1
- package/getProjectProtectedBranch.js +0 -4
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +1 -10
- package/getProjectProtectedBranches.d.ts.map +1 -1
- package/getProjectProtectedBranches.js +0 -2
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectServiceAccount.d.ts +97 -0
- package/getProjectServiceAccount.d.ts.map +1 -0
- package/getProjectServiceAccount.js +89 -0
- package/getProjectServiceAccount.js.map +1 -0
- package/getProjects.d.ts +22 -10
- package/getProjects.d.ts.map +1 -1
- package/getProjects.js +2 -0
- package/getProjects.js.map +1 -1
- package/getSystemHook.d.ts +111 -0
- package/getSystemHook.d.ts.map +1 -0
- package/getSystemHook.js +81 -0
- package/getSystemHook.js.map +1 -0
- package/getSystemHooks.d.ts +50 -0
- package/getSystemHooks.d.ts.map +1 -0
- package/getSystemHooks.js +73 -0
- package/getSystemHooks.js.map +1 -0
- package/group.d.ts +12 -0
- package/group.d.ts.map +1 -1
- package/group.js +2 -0
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +3 -3
- package/groupBranchProtection.d.ts +185 -0
- package/groupBranchProtection.d.ts.map +1 -0
- package/groupBranchProtection.js +146 -0
- package/groupBranchProtection.js.map +1 -0
- package/groupCluster.d.ts +1 -1
- package/groupCluster.js +1 -1
- package/groupDeployToken.d.ts +3 -3
- package/groupHook.d.ts +75 -3
- package/groupHook.d.ts.map +1 -1
- package/groupHook.js +15 -1
- package/groupHook.js.map +1 -1
- package/{integrationHarbor.d.ts → groupIntegrationHarbor.d.ts} +39 -43
- package/groupIntegrationHarbor.d.ts.map +1 -0
- package/{integrationHarbor.js → groupIntegrationHarbor.js} +30 -34
- package/groupIntegrationHarbor.js.map +1 -0
- package/groupSamlLink.d.ts +3 -3
- package/groupSavedReply.d.ts +78 -0
- package/groupSavedReply.d.ts.map +1 -0
- package/{deployToken.js → groupSavedReply.js} +19 -45
- package/groupSavedReply.js.map +1 -0
- package/groupServiceAccount.d.ts +12 -0
- package/groupServiceAccount.d.ts.map +1 -1
- package/groupServiceAccount.js +2 -0
- package/groupServiceAccount.js.map +1 -1
- package/groupServiceAccountAccessToken.d.ts +3 -3
- package/index.d.ts +45 -48
- package/index.d.ts.map +1 -1
- package/index.js +67 -86
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +1 -1
- package/instanceCluster.js +1 -1
- package/integrationSlack.d.ts +0 -18
- package/integrationSlack.d.ts.map +1 -1
- package/integrationSlack.js +0 -2
- package/integrationSlack.js.map +1 -1
- package/memberRole.d.ts +3 -3
- package/package.json +2 -2
- package/personalAccessToken.d.ts +3 -3
- package/project.d.ts +36 -234
- package/project.d.ts.map +1 -1
- package/project.js +6 -26
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +3 -3
- package/projectCluster.d.ts +1 -1
- package/projectCluster.js +1 -1
- package/projectDeployToken.d.ts +3 -3
- package/projectHook.d.ts +103 -0
- package/projectHook.d.ts.map +1 -1
- package/projectHook.js +30 -1
- package/projectHook.js.map +1 -1
- package/projectIntegrationDatadog.d.ts +200 -0
- package/projectIntegrationDatadog.d.ts.map +1 -0
- package/{integrationGithub.js → projectIntegrationDatadog.js} +44 -45
- package/projectIntegrationDatadog.js.map +1 -0
- package/{integrationMicrosoftTeams.d.ts → projectIntegrationGoogleChat.d.ts} +35 -95
- package/projectIntegrationGoogleChat.d.ts.map +1 -0
- package/{integrationMicrosoftTeams.js → projectIntegrationGoogleChat.js} +12 -50
- package/projectIntegrationGoogleChat.js.map +1 -0
- package/projectIntegrationJira.d.ts +12 -12
- package/projectJobTokenScopes.d.ts +5 -21
- package/projectJobTokenScopes.d.ts.map +1 -1
- package/projectJobTokenScopes.js +6 -3
- package/projectJobTokenScopes.js.map +1 -1
- package/projectLabel.d.ts +12 -0
- package/projectLabel.d.ts.map +1 -1
- package/projectLabel.js +2 -0
- package/projectLabel.js.map +1 -1
- package/projectLevelMrApprovals.d.ts +21 -3
- package/projectLevelMrApprovals.d.ts.map +1 -1
- package/projectLevelMrApprovals.js +2 -0
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMergeRequestNote.d.ts +3 -3
- package/projectProtectedEnvironment.d.ts +4 -22
- package/projectProtectedEnvironment.d.ts.map +1 -1
- package/projectProtectedEnvironment.js +1 -3
- package/projectProtectedEnvironment.js.map +1 -1
- package/projectPushMirror.d.ts +12 -0
- package/projectPushMirror.d.ts.map +1 -1
- package/projectPushMirror.js +2 -0
- package/projectPushMirror.js.map +1 -1
- package/projectSavedReply.d.ts +78 -0
- package/projectSavedReply.d.ts.map +1 -0
- package/{label.js → projectSavedReply.js} +16 -24
- package/projectSavedReply.js.map +1 -0
- package/projectServiceAccount.d.ts +152 -0
- package/projectServiceAccount.d.ts.map +1 -0
- package/{integrationPipelinesEmail.js → projectServiceAccount.js} +42 -35
- package/projectServiceAccount.js.map +1 -0
- package/projectShareGroup.d.ts +2 -20
- package/projectShareGroup.d.ts.map +1 -1
- package/projectShareGroup.js +3 -2
- package/projectShareGroup.js.map +1 -1
- package/projectTargetBranchRule.d.ts +1 -1
- package/projectTargetBranchRule.js +1 -1
- package/systemHook.d.ts +50 -6
- package/systemHook.d.ts.map +1 -1
- package/systemHook.js +9 -1
- package/systemHook.js.map +1 -1
- package/types/input.d.ts +95 -249
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1168 -168
- package/types/output.d.ts.map +1 -1
- package/userImpersonationToken.d.ts +3 -3
- package/userSavedReply.d.ts +66 -0
- package/userSavedReply.d.ts.map +1 -0
- package/userSavedReply.js +82 -0
- package/userSavedReply.js.map +1 -0
- package/deployToken.d.ts +0 -147
- package/deployToken.d.ts.map +0 -1
- package/deployToken.js.map +0 -1
- package/integrationCustomIssueTracker.d.ts +0 -142
- package/integrationCustomIssueTracker.d.ts.map +0 -1
- package/integrationCustomIssueTracker.js +0 -130
- package/integrationCustomIssueTracker.js.map +0 -1
- package/integrationEmailsOnPush.d.ts +0 -198
- package/integrationEmailsOnPush.d.ts.map +0 -1
- package/integrationEmailsOnPush.js +0 -137
- package/integrationEmailsOnPush.js.map +0 -1
- package/integrationExternalWiki.d.ts +0 -137
- package/integrationExternalWiki.d.ts.map +0 -1
- package/integrationExternalWiki.js +0 -126
- package/integrationExternalWiki.js.map +0 -1
- package/integrationGithub.d.ts +0 -156
- package/integrationGithub.d.ts.map +0 -1
- package/integrationGithub.js.map +0 -1
- package/integrationHarbor.d.ts.map +0 -1
- package/integrationHarbor.js.map +0 -1
- package/integrationJenkins.d.ts +0 -190
- package/integrationJenkins.d.ts.map +0 -1
- package/integrationJenkins.js +0 -138
- package/integrationJenkins.js.map +0 -1
- package/integrationJira.d.ts +0 -299
- package/integrationJira.d.ts.map +0 -1
- package/integrationJira.js +0 -159
- package/integrationJira.js.map +0 -1
- package/integrationMattermost.d.ts +0 -352
- package/integrationMattermost.d.ts.map +0 -1
- package/integrationMattermost.js +0 -163
- package/integrationMattermost.js.map +0 -1
- package/integrationMicrosoftTeams.d.ts.map +0 -1
- package/integrationMicrosoftTeams.js.map +0 -1
- package/integrationPipelinesEmail.d.ts +0 -123
- package/integrationPipelinesEmail.d.ts.map +0 -1
- package/integrationPipelinesEmail.js.map +0 -1
- package/integrationRedmine.d.ts +0 -136
- package/integrationRedmine.d.ts.map +0 -1
- package/integrationRedmine.js +0 -131
- package/integrationRedmine.js.map +0 -1
- package/integrationTelegram.d.ts +0 -253
- package/integrationTelegram.d.ts.map +0 -1
- package/integrationTelegram.js +0 -184
- package/integrationTelegram.js.map +0 -1
- package/label.d.ts +0 -108
- package/label.d.ts.map +0 -1
- package/label.js.map +0 -1
- package/projectMirror.d.ts +0 -166
- package/projectMirror.d.ts.map +0 -1
- package/projectMirror.js +0 -131
- package/projectMirror.js.map +0 -1
- package/runner.d.ts +0 -188
- package/runner.d.ts.map +0 -1
- package/runner.js +0 -122
- package/runner.js.map +0 -1
|
@@ -56,7 +56,7 @@ export declare class ProjectIntegrationJira extends pulumi.CustomResource {
|
|
|
56
56
|
*/
|
|
57
57
|
readonly active: pulumi.Output<boolean>;
|
|
58
58
|
/**
|
|
59
|
-
* The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
|
|
59
|
+
* The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com. Required if jira*auth*type is 2.
|
|
60
60
|
*/
|
|
61
61
|
readonly apiUrl: pulumi.Output<string>;
|
|
62
62
|
/**
|
|
@@ -76,7 +76,7 @@ export declare class ProjectIntegrationJira extends pulumi.CustomResource {
|
|
|
76
76
|
*/
|
|
77
77
|
readonly issuesEnabled: pulumi.Output<boolean>;
|
|
78
78
|
/**
|
|
79
|
-
* The authentication method to be used with Jira. 0 means Basic Authentication. 1 means Jira personal access token. Defaults to 0.
|
|
79
|
+
* The authentication method to be used with Jira. 0 means Basic Authentication. 1 means Jira personal access token. 2 means Jira Cloud service accounts. Defaults to 0.
|
|
80
80
|
*/
|
|
81
81
|
readonly jiraAuthType: pulumi.Output<number>;
|
|
82
82
|
/**
|
|
@@ -100,7 +100,7 @@ export declare class ProjectIntegrationJira extends pulumi.CustomResource {
|
|
|
100
100
|
*/
|
|
101
101
|
readonly mergeRequestsEvents: pulumi.Output<boolean>;
|
|
102
102
|
/**
|
|
103
|
-
* The Jira API token, password, or personal access token to be used with Jira. When your authentication method is basic (jira*auth*type is 0), use an API token for Jira Cloud or a password for Jira Data Center or Jira Server. When your authentication method is a Jira personal access token (jira*auth*type is 1), use the personal access token.
|
|
103
|
+
* The Jira API token, password, or personal access token to be used with Jira. When your authentication method is basic (jira*auth*type is 0), use an API token for Jira Cloud or a password for Jira Data Center or Jira Server. When your authentication method is a Jira personal access token (jira*auth*type is 1), use the personal access token. When your authentication method is a Jira Cloud Service Account, use an API token.
|
|
104
104
|
*/
|
|
105
105
|
readonly password: pulumi.Output<string>;
|
|
106
106
|
/**
|
|
@@ -128,7 +128,7 @@ export declare class ProjectIntegrationJira extends pulumi.CustomResource {
|
|
|
128
128
|
*/
|
|
129
129
|
readonly useInheritedSettings: pulumi.Output<boolean>;
|
|
130
130
|
/**
|
|
131
|
-
* The email or username to be used with Jira. For Jira Cloud use an email, for Jira Data Center and Jira Server use a username. Required when using Basic authentication (jira*auth*type is 0).
|
|
131
|
+
* The email or username to be used with Jira. For Jira Cloud use an email, for Jira Data Center and Jira Server use a username. Required when using Basic authentication (jira*auth*type is 0). Should not be provided when using a Jira Cloud Service Account
|
|
132
132
|
*/
|
|
133
133
|
readonly username: pulumi.Output<string>;
|
|
134
134
|
/**
|
|
@@ -149,7 +149,7 @@ export interface ProjectIntegrationJiraState {
|
|
|
149
149
|
*/
|
|
150
150
|
active?: pulumi.Input<boolean | undefined>;
|
|
151
151
|
/**
|
|
152
|
-
* The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
|
|
152
|
+
* The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com. Required if jira*auth*type is 2.
|
|
153
153
|
*/
|
|
154
154
|
apiUrl?: pulumi.Input<string | undefined>;
|
|
155
155
|
/**
|
|
@@ -169,7 +169,7 @@ export interface ProjectIntegrationJiraState {
|
|
|
169
169
|
*/
|
|
170
170
|
issuesEnabled?: pulumi.Input<boolean | undefined>;
|
|
171
171
|
/**
|
|
172
|
-
* The authentication method to be used with Jira. 0 means Basic Authentication. 1 means Jira personal access token. Defaults to 0.
|
|
172
|
+
* The authentication method to be used with Jira. 0 means Basic Authentication. 1 means Jira personal access token. 2 means Jira Cloud service accounts. Defaults to 0.
|
|
173
173
|
*/
|
|
174
174
|
jiraAuthType?: pulumi.Input<number | undefined>;
|
|
175
175
|
/**
|
|
@@ -193,7 +193,7 @@ export interface ProjectIntegrationJiraState {
|
|
|
193
193
|
*/
|
|
194
194
|
mergeRequestsEvents?: pulumi.Input<boolean | undefined>;
|
|
195
195
|
/**
|
|
196
|
-
* The Jira API token, password, or personal access token to be used with Jira. When your authentication method is basic (jira*auth*type is 0), use an API token for Jira Cloud or a password for Jira Data Center or Jira Server. When your authentication method is a Jira personal access token (jira*auth*type is 1), use the personal access token.
|
|
196
|
+
* The Jira API token, password, or personal access token to be used with Jira. When your authentication method is basic (jira*auth*type is 0), use an API token for Jira Cloud or a password for Jira Data Center or Jira Server. When your authentication method is a Jira personal access token (jira*auth*type is 1), use the personal access token. When your authentication method is a Jira Cloud Service Account, use an API token.
|
|
197
197
|
*/
|
|
198
198
|
password?: pulumi.Input<string | undefined>;
|
|
199
199
|
/**
|
|
@@ -221,7 +221,7 @@ export interface ProjectIntegrationJiraState {
|
|
|
221
221
|
*/
|
|
222
222
|
useInheritedSettings?: pulumi.Input<boolean | undefined>;
|
|
223
223
|
/**
|
|
224
|
-
* The email or username to be used with Jira. For Jira Cloud use an email, for Jira Data Center and Jira Server use a username. Required when using Basic authentication (jira*auth*type is 0).
|
|
224
|
+
* The email or username to be used with Jira. For Jira Cloud use an email, for Jira Data Center and Jira Server use a username. Required when using Basic authentication (jira*auth*type is 0). Should not be provided when using a Jira Cloud Service Account
|
|
225
225
|
*/
|
|
226
226
|
username?: pulumi.Input<string | undefined>;
|
|
227
227
|
}
|
|
@@ -230,7 +230,7 @@ export interface ProjectIntegrationJiraState {
|
|
|
230
230
|
*/
|
|
231
231
|
export interface ProjectIntegrationJiraArgs {
|
|
232
232
|
/**
|
|
233
|
-
* The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
|
|
233
|
+
* The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com. Required if jira*auth*type is 2.
|
|
234
234
|
*/
|
|
235
235
|
apiUrl?: pulumi.Input<string | undefined>;
|
|
236
236
|
/**
|
|
@@ -246,7 +246,7 @@ export interface ProjectIntegrationJiraArgs {
|
|
|
246
246
|
*/
|
|
247
247
|
issuesEnabled?: pulumi.Input<boolean | undefined>;
|
|
248
248
|
/**
|
|
249
|
-
* The authentication method to be used with Jira. 0 means Basic Authentication. 1 means Jira personal access token. Defaults to 0.
|
|
249
|
+
* The authentication method to be used with Jira. 0 means Basic Authentication. 1 means Jira personal access token. 2 means Jira Cloud service accounts. Defaults to 0.
|
|
250
250
|
*/
|
|
251
251
|
jiraAuthType?: pulumi.Input<number | undefined>;
|
|
252
252
|
/**
|
|
@@ -270,7 +270,7 @@ export interface ProjectIntegrationJiraArgs {
|
|
|
270
270
|
*/
|
|
271
271
|
mergeRequestsEvents?: pulumi.Input<boolean | undefined>;
|
|
272
272
|
/**
|
|
273
|
-
* The Jira API token, password, or personal access token to be used with Jira. When your authentication method is basic (jira*auth*type is 0), use an API token for Jira Cloud or a password for Jira Data Center or Jira Server. When your authentication method is a Jira personal access token (jira*auth*type is 1), use the personal access token.
|
|
273
|
+
* The Jira API token, password, or personal access token to be used with Jira. When your authentication method is basic (jira*auth*type is 0), use an API token for Jira Cloud or a password for Jira Data Center or Jira Server. When your authentication method is a Jira personal access token (jira*auth*type is 1), use the personal access token. When your authentication method is a Jira Cloud Service Account, use an API token.
|
|
274
274
|
*/
|
|
275
275
|
password: pulumi.Input<string>;
|
|
276
276
|
/**
|
|
@@ -290,7 +290,7 @@ export interface ProjectIntegrationJiraArgs {
|
|
|
290
290
|
*/
|
|
291
291
|
useInheritedSettings?: pulumi.Input<boolean | undefined>;
|
|
292
292
|
/**
|
|
293
|
-
* The email or username to be used with Jira. For Jira Cloud use an email, for Jira Data Center and Jira Server use a username. Required when using Basic authentication (jira*auth*type is 0).
|
|
293
|
+
* The email or username to be used with Jira. For Jira Cloud use an email, for Jira Data Center and Jira Server use a username. Required when using Basic authentication (jira*auth*type is 0). Should not be provided when using a Jira Cloud Service Account
|
|
294
294
|
*/
|
|
295
295
|
username?: pulumi.Input<string | undefined>;
|
|
296
296
|
}
|
|
@@ -68,11 +68,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
68
68
|
*
|
|
69
69
|
* Importing using the CLI is supported with the following syntax:
|
|
70
70
|
*
|
|
71
|
-
* GitLab project job token scopes can be imported using an id made up of
|
|
71
|
+
* GitLab project job token scopes can be imported using an id made up of `{project}`, for example:
|
|
72
72
|
*
|
|
73
73
|
* ```sh
|
|
74
74
|
* $ pulumi import gitlab:index/projectJobTokenScopes:ProjectJobTokenScopes bar 123
|
|
75
75
|
* ```
|
|
76
|
+
*
|
|
77
|
+
* Where `project` may be the project ID or path with namespace depending on what you have in your config.
|
|
76
78
|
*/
|
|
77
79
|
export declare class ProjectJobTokenScopes extends pulumi.CustomResource {
|
|
78
80
|
/**
|
|
@@ -98,12 +100,6 @@ export declare class ProjectJobTokenScopes extends pulumi.CustomResource {
|
|
|
98
100
|
* The ID or full path of the project.
|
|
99
101
|
*/
|
|
100
102
|
readonly project: pulumi.Output<string>;
|
|
101
|
-
/**
|
|
102
|
-
* The ID of the project. Use `project` instead. To be removed in 19.0.
|
|
103
|
-
*
|
|
104
|
-
* @deprecated Use `project` instead. To be removed in 19.0.
|
|
105
|
-
*/
|
|
106
|
-
readonly projectId: pulumi.Output<number>;
|
|
107
103
|
/**
|
|
108
104
|
* A set of group IDs that are in the CI/CD job token inbound allowlist.
|
|
109
105
|
*/
|
|
@@ -119,7 +115,7 @@ export declare class ProjectJobTokenScopes extends pulumi.CustomResource {
|
|
|
119
115
|
* @param args The arguments to use to populate this resource's properties.
|
|
120
116
|
* @param opts A bag of options that control this resource's behavior.
|
|
121
117
|
*/
|
|
122
|
-
constructor(name: string, args
|
|
118
|
+
constructor(name: string, args: ProjectJobTokenScopesArgs, opts?: pulumi.CustomResourceOptions);
|
|
123
119
|
}
|
|
124
120
|
/**
|
|
125
121
|
* Input properties used for looking up and filtering ProjectJobTokenScopes resources.
|
|
@@ -133,12 +129,6 @@ export interface ProjectJobTokenScopesState {
|
|
|
133
129
|
* The ID or full path of the project.
|
|
134
130
|
*/
|
|
135
131
|
project?: pulumi.Input<string | undefined>;
|
|
136
|
-
/**
|
|
137
|
-
* The ID of the project. Use `project` instead. To be removed in 19.0.
|
|
138
|
-
*
|
|
139
|
-
* @deprecated Use `project` instead. To be removed in 19.0.
|
|
140
|
-
*/
|
|
141
|
-
projectId?: pulumi.Input<number | undefined>;
|
|
142
132
|
/**
|
|
143
133
|
* A set of group IDs that are in the CI/CD job token inbound allowlist.
|
|
144
134
|
*/
|
|
@@ -159,13 +149,7 @@ export interface ProjectJobTokenScopesArgs {
|
|
|
159
149
|
/**
|
|
160
150
|
* The ID or full path of the project.
|
|
161
151
|
*/
|
|
162
|
-
project
|
|
163
|
-
/**
|
|
164
|
-
* The ID of the project. Use `project` instead. To be removed in 19.0.
|
|
165
|
-
*
|
|
166
|
-
* @deprecated Use `project` instead. To be removed in 19.0.
|
|
167
|
-
*/
|
|
168
|
-
projectId?: pulumi.Input<number | undefined>;
|
|
152
|
+
project: pulumi.Input<string>;
|
|
169
153
|
/**
|
|
170
154
|
* A set of group IDs that are in the CI/CD job token inbound allowlist.
|
|
171
155
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectJobTokenScopes.d.ts","sourceRoot":"","sources":["../projectJobTokenScopes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"projectJobTokenScopes.d.ts","sourceRoot":"","sources":["../projectJobTokenScopes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qBAAqB;IAO5J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qBAAqB;IAOhE;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAA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AAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACvE"}
|
package/projectJobTokenScopes.js
CHANGED
|
@@ -97,11 +97,13 @@ const utilities = __importStar(require("./utilities"));
|
|
|
97
97
|
*
|
|
98
98
|
* Importing using the CLI is supported with the following syntax:
|
|
99
99
|
*
|
|
100
|
-
* GitLab project job token scopes can be imported using an id made up of
|
|
100
|
+
* GitLab project job token scopes can be imported using an id made up of `{project}`, for example:
|
|
101
101
|
*
|
|
102
102
|
* ```sh
|
|
103
103
|
* $ pulumi import gitlab:index/projectJobTokenScopes:ProjectJobTokenScopes bar 123
|
|
104
104
|
* ```
|
|
105
|
+
*
|
|
106
|
+
* Where `project` may be the project ID or path with namespace depending on what you have in your config.
|
|
105
107
|
*/
|
|
106
108
|
class ProjectJobTokenScopes extends pulumi.CustomResource {
|
|
107
109
|
/**
|
|
@@ -135,15 +137,16 @@ class ProjectJobTokenScopes extends pulumi.CustomResource {
|
|
|
135
137
|
const state = argsOrState;
|
|
136
138
|
resourceInputs["enabled"] = state?.enabled;
|
|
137
139
|
resourceInputs["project"] = state?.project;
|
|
138
|
-
resourceInputs["projectId"] = state?.projectId;
|
|
139
140
|
resourceInputs["targetGroupIds"] = state?.targetGroupIds;
|
|
140
141
|
resourceInputs["targetProjectIds"] = state?.targetProjectIds;
|
|
141
142
|
}
|
|
142
143
|
else {
|
|
143
144
|
const args = argsOrState;
|
|
145
|
+
if (args?.project === undefined && !opts.urn) {
|
|
146
|
+
throw new Error("Missing required property 'project'");
|
|
147
|
+
}
|
|
144
148
|
resourceInputs["enabled"] = args?.enabled;
|
|
145
149
|
resourceInputs["project"] = args?.project;
|
|
146
|
-
resourceInputs["projectId"] = args?.projectId;
|
|
147
150
|
resourceInputs["targetGroupIds"] = args?.targetGroupIds;
|
|
148
151
|
resourceInputs["targetProjectIds"] = args?.targetProjectIds;
|
|
149
152
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectJobTokenScopes.js","sourceRoot":"","sources":["../projectJobTokenScopes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectJobTokenScopes.js","sourceRoot":"","sources":["../projectJobTokenScopes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0DAA0D,CAAC;IAEjG;;;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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;SAChE;aAAM;YACH,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA1EL,sDA2EC"}
|
package/projectLabel.d.ts
CHANGED
|
@@ -74,6 +74,10 @@ export declare class ProjectLabel extends pulumi.CustomResource {
|
|
|
74
74
|
* The name of the label.
|
|
75
75
|
*/
|
|
76
76
|
readonly name: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The priority of the label. Must be greater or equal than zero or null to remove the priority.
|
|
79
|
+
*/
|
|
80
|
+
readonly priority: pulumi.Output<number | undefined>;
|
|
77
81
|
/**
|
|
78
82
|
* The name or id of the project to add the label to.
|
|
79
83
|
*/
|
|
@@ -111,6 +115,10 @@ export interface ProjectLabelState {
|
|
|
111
115
|
* The name of the label.
|
|
112
116
|
*/
|
|
113
117
|
name?: pulumi.Input<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* The priority of the label. Must be greater or equal than zero or null to remove the priority.
|
|
120
|
+
*/
|
|
121
|
+
priority?: pulumi.Input<number | undefined>;
|
|
114
122
|
/**
|
|
115
123
|
* The name or id of the project to add the label to.
|
|
116
124
|
*/
|
|
@@ -132,6 +140,10 @@ export interface ProjectLabelArgs {
|
|
|
132
140
|
* The name of the label.
|
|
133
141
|
*/
|
|
134
142
|
name?: pulumi.Input<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* The priority of the label. Must be greater or equal than zero or null to remove the priority.
|
|
145
|
+
*/
|
|
146
|
+
priority?: pulumi.Input<number | undefined>;
|
|
135
147
|
/**
|
|
136
148
|
* The name or id of the project to add the label to.
|
|
137
149
|
*/
|
package/projectLabel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectLabel.d.ts","sourceRoot":"","sources":["../projectLabel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,YAAY;IAO1I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,YAAY;IAOvD;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD;;OAEG;IAC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AM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
|
package/projectLabel.js
CHANGED
|
@@ -102,6 +102,7 @@ class ProjectLabel extends pulumi.CustomResource {
|
|
|
102
102
|
resourceInputs["description"] = state?.description;
|
|
103
103
|
resourceInputs["labelId"] = state?.labelId;
|
|
104
104
|
resourceInputs["name"] = state?.name;
|
|
105
|
+
resourceInputs["priority"] = state?.priority;
|
|
105
106
|
resourceInputs["project"] = state?.project;
|
|
106
107
|
}
|
|
107
108
|
else {
|
|
@@ -115,6 +116,7 @@ class ProjectLabel extends pulumi.CustomResource {
|
|
|
115
116
|
resourceInputs["color"] = args?.color;
|
|
116
117
|
resourceInputs["description"] = args?.description;
|
|
117
118
|
resourceInputs["name"] = args?.name;
|
|
119
|
+
resourceInputs["priority"] = args?.priority;
|
|
118
120
|
resourceInputs["project"] = args?.project;
|
|
119
121
|
resourceInputs["colorHex"] = undefined /*out*/;
|
|
120
122
|
resourceInputs["labelId"] = undefined /*out*/;
|
package/projectLabel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectLabel.js","sourceRoot":"","sources":["../projectLabel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG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AC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,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;;AA/FL,oCAgGC"}
|
|
@@ -70,9 +70,15 @@ export declare class ProjectLevelMrApprovals extends pulumi.CustomResource {
|
|
|
70
70
|
*/
|
|
71
71
|
readonly project: pulumi.Output<string>;
|
|
72
72
|
/**
|
|
73
|
-
* Set to `true` to require authentication to approve merge requests.
|
|
73
|
+
* Set to `true` to require authentication to approve merge requests. Deprecated, to be removed in 20.0. Use `requireReauthenticationToApprove` instead.
|
|
74
|
+
*
|
|
75
|
+
* @deprecated Deprecated, to be removed in 20.0. Use `requireReauthenticationToApprove` instead.
|
|
74
76
|
*/
|
|
75
77
|
readonly requirePasswordToApprove: pulumi.Output<boolean>;
|
|
78
|
+
/**
|
|
79
|
+
* If true, requires approver to reauthenticate before adding the approval.
|
|
80
|
+
*/
|
|
81
|
+
readonly requireReauthenticationToApprove: pulumi.Output<boolean>;
|
|
76
82
|
/**
|
|
77
83
|
* Set to `true` to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
|
|
78
84
|
*/
|
|
@@ -111,9 +117,15 @@ export interface ProjectLevelMrApprovalsState {
|
|
|
111
117
|
*/
|
|
112
118
|
project?: pulumi.Input<string | undefined>;
|
|
113
119
|
/**
|
|
114
|
-
* Set to `true` to require authentication to approve merge requests.
|
|
120
|
+
* Set to `true` to require authentication to approve merge requests. Deprecated, to be removed in 20.0. Use `requireReauthenticationToApprove` instead.
|
|
121
|
+
*
|
|
122
|
+
* @deprecated Deprecated, to be removed in 20.0. Use `requireReauthenticationToApprove` instead.
|
|
115
123
|
*/
|
|
116
124
|
requirePasswordToApprove?: pulumi.Input<boolean | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* If true, requires approver to reauthenticate before adding the approval.
|
|
127
|
+
*/
|
|
128
|
+
requireReauthenticationToApprove?: pulumi.Input<boolean | undefined>;
|
|
117
129
|
/**
|
|
118
130
|
* Set to `true` to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
|
|
119
131
|
*/
|
|
@@ -144,9 +156,15 @@ export interface ProjectLevelMrApprovalsArgs {
|
|
|
144
156
|
*/
|
|
145
157
|
project: pulumi.Input<string>;
|
|
146
158
|
/**
|
|
147
|
-
* Set to `true` to require authentication to approve merge requests.
|
|
159
|
+
* Set to `true` to require authentication to approve merge requests. Deprecated, to be removed in 20.0. Use `requireReauthenticationToApprove` instead.
|
|
160
|
+
*
|
|
161
|
+
* @deprecated Deprecated, to be removed in 20.0. Use `requireReauthenticationToApprove` instead.
|
|
148
162
|
*/
|
|
149
163
|
requirePasswordToApprove?: pulumi.Input<boolean | undefined>;
|
|
164
|
+
/**
|
|
165
|
+
* If true, requires approver to reauthenticate before adding the approval.
|
|
166
|
+
*/
|
|
167
|
+
requireReauthenticationToApprove?: pulumi.Input<boolean | undefined>;
|
|
150
168
|
/**
|
|
151
169
|
* Set to `true` to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
|
|
152
170
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectLevelMrApprovals.d.ts","sourceRoot":"","sources":["../projectLevelMrApprovals.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;I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AAgC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACzD;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAClE;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,yCAAyC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9E;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAChE;;OAEG;IACH,sCAAsC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,gCAAgC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACzD;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAClE"}
|
|
@@ -101,6 +101,7 @@ class ProjectLevelMrApprovals extends pulumi.CustomResource {
|
|
|
101
101
|
resourceInputs["mergeRequestsDisableCommittersApproval"] = state?.mergeRequestsDisableCommittersApproval;
|
|
102
102
|
resourceInputs["project"] = state?.project;
|
|
103
103
|
resourceInputs["requirePasswordToApprove"] = state?.requirePasswordToApprove;
|
|
104
|
+
resourceInputs["requireReauthenticationToApprove"] = state?.requireReauthenticationToApprove;
|
|
104
105
|
resourceInputs["resetApprovalsOnPush"] = state?.resetApprovalsOnPush;
|
|
105
106
|
resourceInputs["selectiveCodeOwnerRemovals"] = state?.selectiveCodeOwnerRemovals;
|
|
106
107
|
}
|
|
@@ -114,6 +115,7 @@ class ProjectLevelMrApprovals extends pulumi.CustomResource {
|
|
|
114
115
|
resourceInputs["mergeRequestsDisableCommittersApproval"] = args?.mergeRequestsDisableCommittersApproval;
|
|
115
116
|
resourceInputs["project"] = args?.project;
|
|
116
117
|
resourceInputs["requirePasswordToApprove"] = args?.requirePasswordToApprove;
|
|
118
|
+
resourceInputs["requireReauthenticationToApprove"] = args?.requireReauthenticationToApprove;
|
|
117
119
|
resourceInputs["resetApprovalsOnPush"] = args?.resetApprovalsOnPush;
|
|
118
120
|
resourceInputs["selectiveCodeOwnerRemovals"] = args?.selectiveCodeOwnerRemovals;
|
|
119
121
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectLevelMrApprovals.js","sourceRoot":"","sources":["../projectLevelMrApprovals.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8DAA8D,CAAC;IAErG;;;OAGG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SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AApGL,0DAqGC"}
|
|
@@ -57,7 +57,7 @@ export declare class ProjectMergeRequestNote extends pulumi.CustomResource {
|
|
|
57
57
|
*/
|
|
58
58
|
readonly body: pulumi.Output<string>;
|
|
59
59
|
/**
|
|
60
|
-
* The creation date of the merge request note. Using this field requires the token used with the provider to either be an Admin, or
|
|
60
|
+
* The creation date of the merge request note. Using this field requires the token used with the provider to either be an Admin, or have a Project or Group Owner role.
|
|
61
61
|
*/
|
|
62
62
|
readonly createdAt: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
@@ -110,7 +110,7 @@ export interface ProjectMergeRequestNoteState {
|
|
|
110
110
|
*/
|
|
111
111
|
body?: pulumi.Input<string | undefined>;
|
|
112
112
|
/**
|
|
113
|
-
* The creation date of the merge request note. Using this field requires the token used with the provider to either be an Admin, or
|
|
113
|
+
* The creation date of the merge request note. Using this field requires the token used with the provider to either be an Admin, or have a Project or Group Owner role.
|
|
114
114
|
*/
|
|
115
115
|
createdAt?: pulumi.Input<string | undefined>;
|
|
116
116
|
/**
|
|
@@ -155,7 +155,7 @@ export interface ProjectMergeRequestNoteArgs {
|
|
|
155
155
|
*/
|
|
156
156
|
body: pulumi.Input<string>;
|
|
157
157
|
/**
|
|
158
|
-
* The creation date of the merge request note. Using this field requires the token used with the provider to either be an Admin, or
|
|
158
|
+
* The creation date of the merge request note. Using this field requires the token used with the provider to either be an Admin, or have a Project or Group Owner role.
|
|
159
159
|
*/
|
|
160
160
|
createdAt?: pulumi.Input<string | undefined>;
|
|
161
161
|
/**
|
|
@@ -4,7 +4,7 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* The `gitlab.ProjectProtectedEnvironment` resource manages the lifecycle of a protected environment in a project.
|
|
6
6
|
*
|
|
7
|
-
* > In order to use a user or group in the `
|
|
7
|
+
* > In order to use a user or group in the `deployAccessLevelsAttribute` configuration,
|
|
8
8
|
* you need to make sure that users have access to the project and groups must have this project shared.
|
|
9
9
|
* You may use the `gitlab.ProjectMembership` and `gitlabProjectSharedGroup` resources to achieve this.
|
|
10
10
|
* Unfortunately, the GitLab API does not complain about users and groups without access to the project and just ignores those.
|
|
@@ -45,13 +45,7 @@ export declare class ProjectProtectedEnvironment extends pulumi.CustomResource {
|
|
|
45
45
|
*/
|
|
46
46
|
readonly approvalRules: pulumi.Output<outputs.ProjectProtectedEnvironmentApprovalRule[]>;
|
|
47
47
|
/**
|
|
48
|
-
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `
|
|
49
|
-
*
|
|
50
|
-
* @deprecated Use `deployAccessLevelsAttribute` instead. To be removed in 19.0.
|
|
51
|
-
*/
|
|
52
|
-
readonly deployAccessLevels: pulumi.Output<outputs.ProjectProtectedEnvironmentDeployAccessLevel[] | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `deployAccessLevels` should be one of `userId`, `groupId` or `accessLevel`.
|
|
48
|
+
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `deployAccessLevelsAttribute` should be one of `userId`, `groupId` or `accessLevel`.
|
|
55
49
|
*/
|
|
56
50
|
readonly deployAccessLevelsAttributes: pulumi.Output<outputs.ProjectProtectedEnvironmentDeployAccessLevelsAttribute[] | undefined>;
|
|
57
51
|
/**
|
|
@@ -80,13 +74,7 @@ export interface ProjectProtectedEnvironmentState {
|
|
|
80
74
|
*/
|
|
81
75
|
approvalRules?: pulumi.Input<pulumi.Input<inputs.ProjectProtectedEnvironmentApprovalRule>[] | undefined>;
|
|
82
76
|
/**
|
|
83
|
-
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `
|
|
84
|
-
*
|
|
85
|
-
* @deprecated Use `deployAccessLevelsAttribute` instead. To be removed in 19.0.
|
|
86
|
-
*/
|
|
87
|
-
deployAccessLevels?: pulumi.Input<pulumi.Input<inputs.ProjectProtectedEnvironmentDeployAccessLevel>[] | undefined>;
|
|
88
|
-
/**
|
|
89
|
-
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `deployAccessLevels` should be one of `userId`, `groupId` or `accessLevel`.
|
|
77
|
+
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `deployAccessLevelsAttribute` should be one of `userId`, `groupId` or `accessLevel`.
|
|
90
78
|
*/
|
|
91
79
|
deployAccessLevelsAttributes?: pulumi.Input<pulumi.Input<inputs.ProjectProtectedEnvironmentDeployAccessLevelsAttribute>[] | undefined>;
|
|
92
80
|
/**
|
|
@@ -107,13 +95,7 @@ export interface ProjectProtectedEnvironmentArgs {
|
|
|
107
95
|
*/
|
|
108
96
|
approvalRules?: pulumi.Input<pulumi.Input<inputs.ProjectProtectedEnvironmentApprovalRule>[] | undefined>;
|
|
109
97
|
/**
|
|
110
|
-
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `
|
|
111
|
-
*
|
|
112
|
-
* @deprecated Use `deployAccessLevelsAttribute` instead. To be removed in 19.0.
|
|
113
|
-
*/
|
|
114
|
-
deployAccessLevels?: pulumi.Input<pulumi.Input<inputs.ProjectProtectedEnvironmentDeployAccessLevel>[] | undefined>;
|
|
115
|
-
/**
|
|
116
|
-
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `deployAccessLevels` should be one of `userId`, `groupId` or `accessLevel`.
|
|
98
|
+
* Array of access levels allowed to deploy, with each described by a hash. Elements in the `deployAccessLevelsAttribute` should be one of `userId`, `groupId` or `accessLevel`.
|
|
117
99
|
*/
|
|
118
100
|
deployAccessLevelsAttributes?: pulumi.Input<pulumi.Input<inputs.ProjectProtectedEnvironmentDeployAccessLevelsAttribute>[] | undefined>;
|
|
119
101
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectProtectedEnvironment.d.ts","sourceRoot":"","sources":["../projectProtectedEnvironment.ts"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AAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sDAAsD,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACvI;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
|
|
@@ -31,7 +31,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* The `gitlab.ProjectProtectedEnvironment` resource manages the lifecycle of a protected environment in a project.
|
|
33
33
|
*
|
|
34
|
-
* > In order to use a user or group in the `
|
|
34
|
+
* > In order to use a user or group in the `deployAccessLevelsAttribute` configuration,
|
|
35
35
|
* you need to make sure that users have access to the project and groups must have this project shared.
|
|
36
36
|
* You may use the `gitlab.ProjectMembership` and `gitlabProjectSharedGroup` resources to achieve this.
|
|
37
37
|
* Unfortunately, the GitLab API does not complain about users and groups without access to the project and just ignores those.
|
|
@@ -82,7 +82,6 @@ class ProjectProtectedEnvironment extends pulumi.CustomResource {
|
|
|
82
82
|
if (opts.id) {
|
|
83
83
|
const state = argsOrState;
|
|
84
84
|
resourceInputs["approvalRules"] = state?.approvalRules;
|
|
85
|
-
resourceInputs["deployAccessLevels"] = state?.deployAccessLevels;
|
|
86
85
|
resourceInputs["deployAccessLevelsAttributes"] = state?.deployAccessLevelsAttributes;
|
|
87
86
|
resourceInputs["environment"] = state?.environment;
|
|
88
87
|
resourceInputs["project"] = state?.project;
|
|
@@ -96,7 +95,6 @@ class ProjectProtectedEnvironment extends pulumi.CustomResource {
|
|
|
96
95
|
throw new Error("Missing required property 'project'");
|
|
97
96
|
}
|
|
98
97
|
resourceInputs["approvalRules"] = args?.approvalRules;
|
|
99
|
-
resourceInputs["deployAccessLevels"] = args?.deployAccessLevels;
|
|
100
98
|
resourceInputs["deployAccessLevelsAttributes"] = args?.deployAccessLevelsAttributes;
|
|
101
99
|
resourceInputs["environment"] = args?.environment;
|
|
102
100
|
resourceInputs["project"] = args?.project;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectProtectedEnvironment.js","sourceRoot":"","sources":["../projectProtectedEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sEAAsE,CAAC;IAE7G;;;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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;
|
|
1
|
+
{"version":3,"file":"projectProtectedEnvironment.js","sourceRoot":"","sources":["../projectProtectedEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA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,8BAA8B,CAAC,GAAG,IAAI,EAAE,4BAA4B,CAAC;YACpF,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AA7EL,kEA8EC"}
|
package/projectPushMirror.d.ts
CHANGED
|
@@ -58,6 +58,10 @@ export declare class ProjectPushMirror extends pulumi.CustomResource {
|
|
|
58
58
|
* Determines if the mirror is enabled.
|
|
59
59
|
*/
|
|
60
60
|
readonly enabled: pulumi.Output<boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* SSH host keys in bare format (`ssh-ed25519 AAAA...`) or full knownHosts format (`hostname ssh-ed25519 AAAA...`). Bare keys use the hostname from the mirror URL. This is a write-only attribute; the API converts host keys to the internal `sshKnownHosts` representation and does not return them.
|
|
63
|
+
*/
|
|
64
|
+
readonly hostKeys: pulumi.Output<string[] | undefined>;
|
|
61
65
|
/**
|
|
62
66
|
* Determines if divergent refs are skipped.
|
|
63
67
|
*/
|
|
@@ -103,6 +107,10 @@ export interface ProjectPushMirrorState {
|
|
|
103
107
|
* Determines if the mirror is enabled.
|
|
104
108
|
*/
|
|
105
109
|
enabled?: pulumi.Input<boolean | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* SSH host keys in bare format (`ssh-ed25519 AAAA...`) or full knownHosts format (`hostname ssh-ed25519 AAAA...`). Bare keys use the hostname from the mirror URL. This is a write-only attribute; the API converts host keys to the internal `sshKnownHosts` representation and does not return them.
|
|
112
|
+
*/
|
|
113
|
+
hostKeys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
106
114
|
/**
|
|
107
115
|
* Determines if divergent refs are skipped.
|
|
108
116
|
*/
|
|
@@ -140,6 +148,10 @@ export interface ProjectPushMirrorArgs {
|
|
|
140
148
|
* Determines if the mirror is enabled.
|
|
141
149
|
*/
|
|
142
150
|
enabled?: pulumi.Input<boolean | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* SSH host keys in bare format (`ssh-ed25519 AAAA...`) or full knownHosts format (`hostname ssh-ed25519 AAAA...`). Bare keys use the hostname from the mirror URL. This is a write-only attribute; the API converts host keys to the internal `sshKnownHosts` representation and does not return them.
|
|
153
|
+
*/
|
|
154
|
+
hostKeys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
143
155
|
/**
|
|
144
156
|
* Determines if divergent refs are skipped.
|
|
145
157
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectPushMirror.d.ts","sourceRoot":"","sources":["../projectPushMirror.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,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
|
|
|
95
95
|
const state = argsOrState;
|
|
96
96
|
resourceInputs["authMethod"] = state?.authMethod;
|
|
97
97
|
resourceInputs["enabled"] = state?.enabled;
|
|
98
|
+
resourceInputs["hostKeys"] = state?.hostKeys;
|
|
98
99
|
resourceInputs["keepDivergentRefs"] = state?.keepDivergentRefs;
|
|
99
100
|
resourceInputs["mirrorBranchRegex"] = state?.mirrorBranchRegex;
|
|
100
101
|
resourceInputs["mirrorId"] = state?.mirrorId;
|
|
@@ -112,6 +113,7 @@ class ProjectPushMirror extends pulumi.CustomResource {
|
|
|
112
113
|
}
|
|
113
114
|
resourceInputs["authMethod"] = args?.authMethod;
|
|
114
115
|
resourceInputs["enabled"] = args?.enabled;
|
|
116
|
+
resourceInputs["hostKeys"] = args?.hostKeys;
|
|
115
117
|
resourceInputs["keepDivergentRefs"] = args?.keepDivergentRefs;
|
|
116
118
|
resourceInputs["mirrorBranchRegex"] = args?.mirrorBranchRegex;
|
|
117
119
|
resourceInputs["onlyProtectedBranches"] = args?.onlyProtectedBranches;
|
package/projectPushMirror.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectPushMirror.js","sourceRoot":"","sources":["../projectPushMirror.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,kDAAkD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