@pulumi/harness 0.9.1 → 0.9.2

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.
@@ -10,6 +10,46 @@ const utilities = require("../utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const example = new harness.platform.Infrastructure("example", {
18
+ * identifier: "identifier",
19
+ * name: "name",
20
+ * orgId: "orgIdentifer",
21
+ * projectId: "projectIdentifier",
22
+ * envId: "environmentIdentifier",
23
+ * type: "KubernetesDirect",
24
+ * deploymentType: "Kubernetes",
25
+ * gitDetails: {
26
+ * branchName: "branchName",
27
+ * commitMessage: "commitMessage",
28
+ * filePath: "filePath",
29
+ * connectorRef: "connectorRef",
30
+ * storeType: "REMOTE",
31
+ * repoName: "repoName",
32
+ * },
33
+ * yaml: `infrastructureDefinition:
34
+ * name: name
35
+ * identifier: identifier
36
+ * description: \\"\\"
37
+ * tags:
38
+ * asda: \\"\\"
39
+ * orgIdentifier: orgIdentifer
40
+ * projectIdentifier: projectIdentifier
41
+ * environmentRef: environmentIdentifier
42
+ * deploymentType: Kubernetes
43
+ * type: KubernetesDirect
44
+ * spec:
45
+ * connectorRef: account.gfgf
46
+ * namespace: asdasdsa
47
+ * releaseName: release-<+INFRA_KEY>
48
+ * allowSimultaneousDeployments: false
49
+ * `,
50
+ * });
51
+ * ```
52
+ *
13
53
  * ## Import
14
54
  *
15
55
  * The `pulumi import` command can be used, for example:
@@ -1 +1 @@
1
- {"version":3,"file":"infrastructure.js","sourceRoot":"","sources":["../../platform/infrastructure.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;O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c,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA7HL,wCA8HC;AAhHG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
@@ -0,0 +1,440 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for creating a WinRM credential secret.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as harness from "@pulumi/harness";
12
+ *
13
+ * // ============================================================================
14
+ * // ACCOUNT LEVEL TESTS (3 scenarios)
15
+ * // ============================================================================
16
+ * // 1. Account-level NTLM
17
+ * const accountNtlmPassword = new harness.platform.SecretText("account_ntlm_password", {
18
+ * identifier: "account_ntlm_password_v3",
19
+ * name: "account_ntlm_password_v3",
20
+ * description: "Password for account-level NTLM",
21
+ * secretManagerIdentifier: "harnessSecretManager",
22
+ * valueType: "Inline",
23
+ * value: "account_ntlm_pass",
24
+ * });
25
+ * const accountNtlm = new harness.platform.SecretWinrm("account_ntlm", {
26
+ * identifier: "account_ntlm_v3",
27
+ * name: "Account NTLM v3",
28
+ * description: "Account-level WinRM with NTLM",
29
+ * tags: [
30
+ * "scope:account",
31
+ * "auth:ntlm",
32
+ * ],
33
+ * port: 5986,
34
+ * ntlm: {
35
+ * domain: "example.com",
36
+ * username: "admin",
37
+ * passwordRef: pulumi.interpolate`account.${accountNtlmPassword.id}`,
38
+ * useSsl: true,
39
+ * skipCertCheck: false,
40
+ * useNoProfile: true,
41
+ * },
42
+ * });
43
+ * // 2. Account-level Kerberos with KeyTab
44
+ * const accountKerberosKeytab = new harness.platform.SecretWinrm("account_kerberos_keytab", {
45
+ * identifier: "account_kerberos_keytab_v3",
46
+ * name: "Account Kerberos KeyTab v3",
47
+ * description: "Account-level WinRM with Kerberos KeyTab",
48
+ * tags: [
49
+ * "scope:account",
50
+ * "auth:kerberos-keytab",
51
+ * ],
52
+ * port: 5986,
53
+ * kerberos: {
54
+ * principal: "service@EXAMPLE.COM",
55
+ * realm: "EXAMPLE.COM",
56
+ * tgtGenerationMethod: "KeyTabFilePath",
57
+ * useSsl: true,
58
+ * skipCertCheck: true,
59
+ * useNoProfile: true,
60
+ * tgtKeyTabFilePathSpec: {
61
+ * keyPath: "/etc/krb5.keytab",
62
+ * },
63
+ * },
64
+ * });
65
+ * // 3. Account-level Kerberos with Password
66
+ * const accountKerberosPassword1 = new harness.platform.SecretText("account_kerberos_password_1", {
67
+ * identifier: "account_kerb_pass_20251111",
68
+ * name: "account_kerb_pass_20251111",
69
+ * description: "Password for account-level Kerberos",
70
+ * secretManagerIdentifier: "harnessSecretManager",
71
+ * valueType: "Inline",
72
+ * value: "account_kerberos_pass",
73
+ * });
74
+ * const accountKerberosPassword1SecretWinrm = new harness.platform.SecretWinrm("account_kerberos_password_1", {
75
+ * identifier: "account_kerb_winrm_20251111",
76
+ * name: "Account Kerberos WinRM 20251111",
77
+ * description: "Account-level WinRM with Kerberos Password",
78
+ * tags: [
79
+ * "scope:account",
80
+ * "auth:kerberos-password",
81
+ * ],
82
+ * port: 5986,
83
+ * kerberos: {
84
+ * principal: "user@EXAMPLE.COM",
85
+ * realm: "EXAMPLE.COM",
86
+ * tgtGenerationMethod: "Password",
87
+ * useSsl: true,
88
+ * skipCertCheck: false,
89
+ * useNoProfile: true,
90
+ * tgtPasswordSpec: {
91
+ * passwordRef: pulumi.interpolate`account.${accountKerberosPassword1.id}`,
92
+ * },
93
+ * },
94
+ * });
95
+ * // ============================================================================
96
+ * // ORGANIZATION LEVEL TESTS (3 scenarios)
97
+ * // ============================================================================
98
+ * // 4. Org-level NTLM
99
+ * const orgNtlmPassword = new harness.platform.SecretText("org_ntlm_password", {
100
+ * identifier: "org_ntlm_password_v3",
101
+ * name: "org_ntlm_password_v3",
102
+ * description: "Password for org-level NTLM",
103
+ * orgId: "default",
104
+ * secretManagerIdentifier: "harnessSecretManager",
105
+ * valueType: "Inline",
106
+ * value: "org_ntlm_pass",
107
+ * });
108
+ * const orgNtlm = new harness.platform.SecretWinrm("org_ntlm", {
109
+ * identifier: "org_ntlm_v3",
110
+ * name: "Org NTLM v3",
111
+ * description: "Org-level WinRM with NTLM",
112
+ * orgId: "default",
113
+ * tags: [
114
+ * "scope:org",
115
+ * "auth:ntlm",
116
+ * ],
117
+ * port: 5985,
118
+ * ntlm: {
119
+ * domain: "org.example.com",
120
+ * username: "orgadmin",
121
+ * passwordRef: pulumi.interpolate`org.${orgNtlmPassword.id}`,
122
+ * useSsl: false,
123
+ * skipCertCheck: false,
124
+ * useNoProfile: true,
125
+ * },
126
+ * });
127
+ * // 5. Org-level Kerberos with KeyTab
128
+ * const orgKerberosKeytab = new harness.platform.SecretWinrm("org_kerberos_keytab", {
129
+ * identifier: "org_kerberos_keytab_v3",
130
+ * name: "Org Kerberos KeyTab v3",
131
+ * description: "Org-level WinRM with Kerberos KeyTab",
132
+ * orgId: "default",
133
+ * tags: [
134
+ * "scope:org",
135
+ * "auth:kerberos-keytab",
136
+ * ],
137
+ * port: 5986,
138
+ * kerberos: {
139
+ * principal: "orgservice@EXAMPLE.COM",
140
+ * realm: "EXAMPLE.COM",
141
+ * tgtGenerationMethod: "KeyTabFilePath",
142
+ * useSsl: true,
143
+ * skipCertCheck: true,
144
+ * useNoProfile: true,
145
+ * tgtKeyTabFilePathSpec: {
146
+ * keyPath: "/etc/org.keytab",
147
+ * },
148
+ * },
149
+ * });
150
+ * // 6. Org-level Kerberos with Password
151
+ * const orgKerberosPassword = new harness.platform.SecretText("org_kerberos_password", {
152
+ * identifier: "org_kerb_pass_v3",
153
+ * name: "org_kerb_pass_v3",
154
+ * description: "Password for org-level Kerberos",
155
+ * orgId: "default",
156
+ * secretManagerIdentifier: "harnessSecretManager",
157
+ * valueType: "Inline",
158
+ * value: "org_kerberos_pass",
159
+ * });
160
+ * const orgKerberosPasswordSecretWinrm = new harness.platform.SecretWinrm("org_kerberos_password", {
161
+ * identifier: "org_kerb_winrm_v3",
162
+ * name: "Org Kerberos WinRM v3",
163
+ * description: "Org-level WinRM with Kerberos Password",
164
+ * orgId: "default",
165
+ * tags: [
166
+ * "scope:org",
167
+ * "auth:kerberos-password",
168
+ * ],
169
+ * port: 5986,
170
+ * kerberos: {
171
+ * principal: "orguser@EXAMPLE.COM",
172
+ * realm: "EXAMPLE.COM",
173
+ * tgtGenerationMethod: "Password",
174
+ * useSsl: true,
175
+ * skipCertCheck: false,
176
+ * useNoProfile: true,
177
+ * tgtPasswordSpec: {
178
+ * passwordRef: pulumi.interpolate`org.${orgKerberosPassword.id}`,
179
+ * },
180
+ * },
181
+ * });
182
+ * // ============================================================================
183
+ * // PROJECT LEVEL TESTS (3 scenarios)
184
+ * // ============================================================================
185
+ * // 7. Project-level NTLM
186
+ * const projectNtlmPassword = new harness.platform.SecretText("project_ntlm_password", {
187
+ * identifier: "proj_ntlm_pass_v3",
188
+ * name: "proj_ntlm_pass_v3",
189
+ * description: "Password for project-level NTLM",
190
+ * orgId: "default",
191
+ * projectId: "winrm_support_terraform",
192
+ * secretManagerIdentifier: "harnessSecretManager",
193
+ * valueType: "Inline",
194
+ * value: "project_ntlm_pass",
195
+ * });
196
+ * const projectNtlm = new harness.platform.SecretWinrm("project_ntlm", {
197
+ * identifier: "proj_ntlm_winrm_v3",
198
+ * name: "Project NTLM WinRM v3",
199
+ * description: "Project-level WinRM with NTLM",
200
+ * orgId: "default",
201
+ * projectId: "winrm_support_terraform",
202
+ * tags: [
203
+ * "scope:project",
204
+ * "auth:ntlm",
205
+ * ],
206
+ * port: 5986,
207
+ * ntlm: {
208
+ * domain: "project.example.com",
209
+ * username: "projectadmin",
210
+ * passwordRef: projectNtlmPassword.id,
211
+ * useSsl: true,
212
+ * skipCertCheck: false,
213
+ * useNoProfile: false,
214
+ * },
215
+ * });
216
+ * // 8. Project-level Kerberos with KeyTab
217
+ * const projectKerberosKeytab = new harness.platform.SecretWinrm("project_kerberos_keytab", {
218
+ * identifier: "proj_kerb_keytab_v3",
219
+ * name: "Project Kerberos KeyTab v3",
220
+ * description: "Project-level WinRM with Kerberos KeyTab",
221
+ * orgId: "default",
222
+ * projectId: "winrm_support_terraform",
223
+ * tags: [
224
+ * "scope:project",
225
+ * "auth:kerberos-keytab",
226
+ * ],
227
+ * port: 5986,
228
+ * kerberos: {
229
+ * principal: "projectservice@EXAMPLE.COM",
230
+ * realm: "EXAMPLE.COM",
231
+ * tgtGenerationMethod: "KeyTabFilePath",
232
+ * useSsl: false,
233
+ * skipCertCheck: false,
234
+ * useNoProfile: false,
235
+ * tgtKeyTabFilePathSpec: {
236
+ * keyPath: "/etc/project.keytab",
237
+ * },
238
+ * },
239
+ * });
240
+ * // 9. Project-level Kerberos with Password
241
+ * const projectKerberosPassword = new harness.platform.SecretText("project_kerberos_password", {
242
+ * identifier: "proj_kerb_pass_v3",
243
+ * name: "proj_kerb_pass_v3",
244
+ * description: "Password for project-level Kerberos",
245
+ * orgId: "default",
246
+ * projectId: "winrm_support_terraform",
247
+ * secretManagerIdentifier: "harnessSecretManager",
248
+ * valueType: "Inline",
249
+ * value: "project_kerberos_pass",
250
+ * });
251
+ * const projectKerberosPasswordSecretWinrm = new harness.platform.SecretWinrm("project_kerberos_password", {
252
+ * identifier: "proj_kerb_winrm_v3",
253
+ * name: "Project Kerberos WinRM v3",
254
+ * description: "Project-level WinRM with Kerberos Password",
255
+ * orgId: "default",
256
+ * projectId: "winrm_support_terraform",
257
+ * tags: [
258
+ * "scope:project",
259
+ * "auth:kerberos-password",
260
+ * ],
261
+ * port: 5986,
262
+ * kerberos: {
263
+ * principal: "projectuser@EXAMPLE.COM",
264
+ * realm: "EXAMPLE.COM",
265
+ * tgtGenerationMethod: "Password",
266
+ * useSsl: false,
267
+ * skipCertCheck: true,
268
+ * useNoProfile: true,
269
+ * tgtPasswordSpec: {
270
+ * passwordRef: projectKerberosPassword.id,
271
+ * },
272
+ * },
273
+ * });
274
+ * ```
275
+ *
276
+ * ## Import
277
+ *
278
+ * The `pulumi import` command can be used, for example:
279
+ *
280
+ * Import account level WinRM credential
281
+ *
282
+ * ```sh
283
+ * $ pulumi import harness:platform/secretWinrm:SecretWinrm example <winrm_credential_id>
284
+ * ```
285
+ *
286
+ * Import organization level WinRM credential
287
+ *
288
+ * ```sh
289
+ * $ pulumi import harness:platform/secretWinrm:SecretWinrm example <org_id>/<winrm_credential_id>
290
+ * ```
291
+ *
292
+ * Import project level WinRM credential
293
+ *
294
+ * ```sh
295
+ * $ pulumi import harness:platform/secretWinrm:SecretWinrm example <org_id>/<project_id>/<winrm_credential_id>
296
+ * ```
297
+ */
298
+ export declare class SecretWinrm extends pulumi.CustomResource {
299
+ /**
300
+ * Get an existing SecretWinrm resource's state with the given name, ID, and optional extra
301
+ * properties used to qualify the lookup.
302
+ *
303
+ * @param name The _unique_ name of the resulting resource.
304
+ * @param id The _unique_ provider ID of the resource to lookup.
305
+ * @param state Any extra arguments used during the lookup.
306
+ * @param opts Optional settings to control the behavior of the CustomResource.
307
+ */
308
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretWinrmState, opts?: pulumi.CustomResourceOptions): SecretWinrm;
309
+ /**
310
+ * Returns true if the given object is an instance of SecretWinrm. This is designed to work even
311
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
312
+ */
313
+ static isInstance(obj: any): obj is SecretWinrm;
314
+ /**
315
+ * Description of the resource.
316
+ */
317
+ readonly description: pulumi.Output<string | undefined>;
318
+ /**
319
+ * Unique identifier of the resource.
320
+ */
321
+ readonly identifier: pulumi.Output<string>;
322
+ /**
323
+ * Kerberos authentication scheme
324
+ */
325
+ readonly kerberos: pulumi.Output<outputs.platform.SecretWinrmKerberos | undefined>;
326
+ /**
327
+ * Name of the resource.
328
+ */
329
+ readonly name: pulumi.Output<string>;
330
+ /**
331
+ * NTLM authentication scheme
332
+ */
333
+ readonly ntlm: pulumi.Output<outputs.platform.SecretWinrmNtlm | undefined>;
334
+ /**
335
+ * Unique identifier of the organization.
336
+ */
337
+ readonly orgId: pulumi.Output<string | undefined>;
338
+ /**
339
+ * WinRM port. Default is 5986 for HTTPS, 5985 for HTTP.
340
+ */
341
+ readonly port: pulumi.Output<number | undefined>;
342
+ /**
343
+ * Unique identifier of the project.
344
+ */
345
+ readonly projectId: pulumi.Output<string | undefined>;
346
+ /**
347
+ * Tags to associate with the resource.
348
+ */
349
+ readonly tags: pulumi.Output<string[] | undefined>;
350
+ /**
351
+ * Create a SecretWinrm resource with the given unique name, arguments, and options.
352
+ *
353
+ * @param name The _unique_ name of the resource.
354
+ * @param args The arguments to use to populate this resource's properties.
355
+ * @param opts A bag of options that control this resource's behavior.
356
+ */
357
+ constructor(name: string, args: SecretWinrmArgs, opts?: pulumi.CustomResourceOptions);
358
+ }
359
+ /**
360
+ * Input properties used for looking up and filtering SecretWinrm resources.
361
+ */
362
+ export interface SecretWinrmState {
363
+ /**
364
+ * Description of the resource.
365
+ */
366
+ description?: pulumi.Input<string>;
367
+ /**
368
+ * Unique identifier of the resource.
369
+ */
370
+ identifier?: pulumi.Input<string>;
371
+ /**
372
+ * Kerberos authentication scheme
373
+ */
374
+ kerberos?: pulumi.Input<inputs.platform.SecretWinrmKerberos>;
375
+ /**
376
+ * Name of the resource.
377
+ */
378
+ name?: pulumi.Input<string>;
379
+ /**
380
+ * NTLM authentication scheme
381
+ */
382
+ ntlm?: pulumi.Input<inputs.platform.SecretWinrmNtlm>;
383
+ /**
384
+ * Unique identifier of the organization.
385
+ */
386
+ orgId?: pulumi.Input<string>;
387
+ /**
388
+ * WinRM port. Default is 5986 for HTTPS, 5985 for HTTP.
389
+ */
390
+ port?: pulumi.Input<number>;
391
+ /**
392
+ * Unique identifier of the project.
393
+ */
394
+ projectId?: pulumi.Input<string>;
395
+ /**
396
+ * Tags to associate with the resource.
397
+ */
398
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
399
+ }
400
+ /**
401
+ * The set of arguments for constructing a SecretWinrm resource.
402
+ */
403
+ export interface SecretWinrmArgs {
404
+ /**
405
+ * Description of the resource.
406
+ */
407
+ description?: pulumi.Input<string>;
408
+ /**
409
+ * Unique identifier of the resource.
410
+ */
411
+ identifier: pulumi.Input<string>;
412
+ /**
413
+ * Kerberos authentication scheme
414
+ */
415
+ kerberos?: pulumi.Input<inputs.platform.SecretWinrmKerberos>;
416
+ /**
417
+ * Name of the resource.
418
+ */
419
+ name?: pulumi.Input<string>;
420
+ /**
421
+ * NTLM authentication scheme
422
+ */
423
+ ntlm?: pulumi.Input<inputs.platform.SecretWinrmNtlm>;
424
+ /**
425
+ * Unique identifier of the organization.
426
+ */
427
+ orgId?: pulumi.Input<string>;
428
+ /**
429
+ * WinRM port. Default is 5986 for HTTPS, 5985 for HTTP.
430
+ */
431
+ port?: pulumi.Input<number>;
432
+ /**
433
+ * Unique identifier of the project.
434
+ */
435
+ projectId?: pulumi.Input<string>;
436
+ /**
437
+ * Tags to associate with the resource.
438
+ */
439
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
440
+ }