@pulumi/harness 0.9.3 → 0.9.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/harness",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "A Pulumi package for creating and managing Harness resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,7 +23,7 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "harness",
26
- "version": "0.9.3",
26
+ "version": "0.9.4",
27
27
  "server": "github://api.github.com/pulumi"
28
28
  }
29
29
  }
@@ -48,11 +48,11 @@ export interface GetHarRegistryArgs {
48
48
  /**
49
49
  * Parent reference for the registry
50
50
  */
51
- parentRef?: string;
51
+ parentRef: string;
52
52
  /**
53
53
  * Space reference for the registry
54
54
  */
55
- spaceRef?: string;
55
+ spaceRef: string;
56
56
  }
57
57
  /**
58
58
  * A collection of values returned by getHarRegistry.
@@ -93,11 +93,11 @@ export interface GetHarRegistryResult {
93
93
  /**
94
94
  * Parent reference for the registry
95
95
  */
96
- readonly parentRef?: string;
96
+ readonly parentRef: string;
97
97
  /**
98
98
  * Space reference for the registry
99
99
  */
100
- readonly spaceRef?: string;
100
+ readonly spaceRef: string;
101
101
  /**
102
102
  * URL of the registry
103
103
  */
@@ -150,9 +150,9 @@ export interface GetHarRegistryOutputArgs {
150
150
  /**
151
151
  * Parent reference for the registry
152
152
  */
153
- parentRef?: pulumi.Input<string>;
153
+ parentRef: pulumi.Input<string>;
154
154
  /**
155
155
  * Space reference for the registry
156
156
  */
157
- spaceRef?: pulumi.Input<string>;
157
+ spaceRef: pulumi.Input<string>;
158
158
  }
@@ -22,6 +22,7 @@ export interface GetSecretFileArgs {
22
22
  * Unique identifier of the resource.
23
23
  */
24
24
  identifier: string;
25
+ kmsKeyId?: string;
25
26
  /**
26
27
  * Name of the resource.
27
28
  */
@@ -55,6 +56,7 @@ export interface GetSecretFileResult {
55
56
  * Unique identifier of the resource.
56
57
  */
57
58
  readonly identifier: string;
59
+ readonly kmsKeyId?: string;
58
60
  /**
59
61
  * Name of the resource.
60
62
  */
@@ -99,6 +101,7 @@ export interface GetSecretFileOutputArgs {
99
101
  * Unique identifier of the resource.
100
102
  */
101
103
  identifier: pulumi.Input<string>;
104
+ kmsKeyId?: pulumi.Input<string>;
102
105
  /**
103
106
  * Name of the resource.
104
107
  */
@@ -23,6 +23,7 @@ function getSecretFile(args, opts) {
23
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
24
  return pulumi.runtime.invoke("harness:platform/getSecretFile:getSecretFile", {
25
25
  "identifier": args.identifier,
26
+ "kmsKeyId": args.kmsKeyId,
26
27
  "name": args.name,
27
28
  "orgId": args.orgId,
28
29
  "projectId": args.projectId,
@@ -47,6 +48,7 @@ function getSecretFileOutput(args, opts) {
47
48
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
48
49
  return pulumi.runtime.invokeOutput("harness:platform/getSecretFile:getSecretFile", {
49
50
  "identifier": args.identifier,
51
+ "kmsKeyId": args.kmsKeyId,
50
52
  "name": args.name,
51
53
  "orgId": args.orgId,
52
54
  "projectId": args.projectId,
@@ -1 +1 @@
1
- {"version":3,"file":"getSecretFile.js","sourceRoot":"","sources":["../../platform/getSecretFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IA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AAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC"}
@@ -4,6 +4,8 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Resource for creating and managing Harness Registries.
6
6
  *
7
+ * **Note:** Both `parentRef` and `spaceRef` are required for registry creation.
8
+ *
7
9
  * ## Example Usage
8
10
  *
9
11
  * ```typescript
@@ -45,6 +47,16 @@ import * as outputs from "../types/output";
45
47
  * parentRef: "accountId/orgId/projectId",
46
48
  * });
47
49
  * ```
50
+ *
51
+ * ## Import
52
+ *
53
+ * ### After Import
54
+ *
55
+ * bash
56
+ *
57
+ * pulumi preview
58
+ *
59
+ * pulumi up
48
60
  */
49
61
  export declare class HarRegistry extends pulumi.CustomResource {
50
62
  /**
@@ -91,13 +103,13 @@ export declare class HarRegistry extends pulumi.CustomResource {
91
103
  */
92
104
  readonly packageType: pulumi.Output<string>;
93
105
  /**
94
- * Parent reference for the registry
106
+ * Parent reference for the registry (required for creation)
95
107
  */
96
- readonly parentRef: pulumi.Output<string | undefined>;
108
+ readonly parentRef: pulumi.Output<string>;
97
109
  /**
98
- * Space reference for the registry
110
+ * Space reference for the registry (required for creation)
99
111
  */
100
- readonly spaceRef: pulumi.Output<string | undefined>;
112
+ readonly spaceRef: pulumi.Output<string>;
101
113
  /**
102
114
  * URL of the registry
103
115
  */
@@ -144,11 +156,11 @@ export interface HarRegistryState {
144
156
  */
145
157
  packageType?: pulumi.Input<string>;
146
158
  /**
147
- * Parent reference for the registry
159
+ * Parent reference for the registry (required for creation)
148
160
  */
149
161
  parentRef?: pulumi.Input<string>;
150
162
  /**
151
- * Space reference for the registry
163
+ * Space reference for the registry (required for creation)
152
164
  */
153
165
  spaceRef?: pulumi.Input<string>;
154
166
  /**
@@ -185,11 +197,11 @@ export interface HarRegistryArgs {
185
197
  */
186
198
  packageType: pulumi.Input<string>;
187
199
  /**
188
- * Parent reference for the registry
200
+ * Parent reference for the registry (required for creation)
189
201
  */
190
- parentRef?: pulumi.Input<string>;
202
+ parentRef: pulumi.Input<string>;
191
203
  /**
192
- * Space reference for the registry
204
+ * Space reference for the registry (required for creation)
193
205
  */
194
- spaceRef?: pulumi.Input<string>;
206
+ spaceRef: pulumi.Input<string>;
195
207
  }
@@ -8,6 +8,8 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Resource for creating and managing Harness Registries.
10
10
  *
11
+ * **Note:** Both `parentRef` and `spaceRef` are required for registry creation.
12
+ *
11
13
  * ## Example Usage
12
14
  *
13
15
  * ```typescript
@@ -49,6 +51,16 @@ const utilities = require("../utilities");
49
51
  * parentRef: "accountId/orgId/projectId",
50
52
  * });
51
53
  * ```
54
+ *
55
+ * ## Import
56
+ *
57
+ * ### After Import
58
+ *
59
+ * bash
60
+ *
61
+ * pulumi preview
62
+ *
63
+ * pulumi up
52
64
  */
53
65
  class HarRegistry extends pulumi.CustomResource {
54
66
  /**
@@ -97,6 +109,12 @@ class HarRegistry extends pulumi.CustomResource {
97
109
  if (args?.packageType === undefined && !opts.urn) {
98
110
  throw new Error("Missing required property 'packageType'");
99
111
  }
112
+ if (args?.parentRef === undefined && !opts.urn) {
113
+ throw new Error("Missing required property 'parentRef'");
114
+ }
115
+ if (args?.spaceRef === undefined && !opts.urn) {
116
+ throw new Error("Missing required property 'spaceRef'");
117
+ }
100
118
  resourceInputs["allowedPatterns"] = args?.allowedPatterns;
101
119
  resourceInputs["blockedPatterns"] = args?.blockedPatterns;
102
120
  resourceInputs["configs"] = args?.configs;
@@ -1 +1 @@
1
- {"version":3,"file":"harRegistry.js","sourceRoot":"","sources":["../../platform/harRegistry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cA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C,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAvHL,kCAwHC;AA1GG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
@@ -68,6 +68,10 @@ export declare class SecretFile extends pulumi.CustomResource {
68
68
  * Unique identifier of the resource.
69
69
  */
70
70
  readonly identifier: pulumi.Output<string>;
71
+ /**
72
+ * Kms Key Id for encrypting the secret value
73
+ */
74
+ readonly kmsKeyId: pulumi.Output<string | undefined>;
71
75
  /**
72
76
  * Name of the resource.
73
77
  */
@@ -113,6 +117,10 @@ export interface SecretFileState {
113
117
  * Unique identifier of the resource.
114
118
  */
115
119
  identifier?: pulumi.Input<string>;
120
+ /**
121
+ * Kms Key Id for encrypting the secret value
122
+ */
123
+ kmsKeyId?: pulumi.Input<string>;
116
124
  /**
117
125
  * Name of the resource.
118
126
  */
@@ -150,6 +158,10 @@ export interface SecretFileArgs {
150
158
  * Unique identifier of the resource.
151
159
  */
152
160
  identifier: pulumi.Input<string>;
161
+ /**
162
+ * Kms Key Id for encrypting the secret value
163
+ */
164
+ kmsKeyId?: pulumi.Input<string>;
153
165
  /**
154
166
  * Name of the resource.
155
167
  */
@@ -77,6 +77,7 @@ class SecretFile extends pulumi.CustomResource {
77
77
  resourceInputs["description"] = state?.description;
78
78
  resourceInputs["filePath"] = state?.filePath;
79
79
  resourceInputs["identifier"] = state?.identifier;
80
+ resourceInputs["kmsKeyId"] = state?.kmsKeyId;
80
81
  resourceInputs["name"] = state?.name;
81
82
  resourceInputs["orgId"] = state?.orgId;
82
83
  resourceInputs["projectId"] = state?.projectId;
@@ -97,6 +98,7 @@ class SecretFile extends pulumi.CustomResource {
97
98
  resourceInputs["description"] = args?.description;
98
99
  resourceInputs["filePath"] = args?.filePath;
99
100
  resourceInputs["identifier"] = args?.identifier;
101
+ resourceInputs["kmsKeyId"] = args?.kmsKeyId;
100
102
  resourceInputs["name"] = args?.name;
101
103
  resourceInputs["orgId"] = args?.orgId;
102
104
  resourceInputs["projectId"] = args?.projectId;
@@ -1 +1 @@
1
- {"version":3,"file":"secretFile.js","sourceRoot":"","sources":["../../platform/secretFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAKD;;;OAG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etadataValueArgs>[]>;
5644
5644
  }
5645
5645
  interface GetSecretTextAdditionalMetadataValue {
5646
+ kmsKeyId?: string;
5646
5647
  version?: string;
5647
5648
  }
5648
5649
  interface GetSecretTextAdditionalMetadataValueArgs {
5650
+ kmsKeyId?: pulumi.Input<string>;
5649
5651
  version?: pulumi.Input<string>;
5650
5652
  }
5651
5653
  interface GetServiceGitDetails {
@@ -32951,7 +32953,7 @@ export declare namespace platform {
32951
32953
  */
32952
32954
  secretSpacePath?: pulumi.Input<string>;
32953
32955
  /**
32954
- * User name for UserPassword auth type
32956
+ * Username for UserPassword auth type
32955
32957
  */
32956
32958
  userName?: pulumi.Input<string>;
32957
32959
  }
@@ -34217,6 +34219,7 @@ export declare namespace platform {
34217
34219
  values?: pulumi.Input<pulumi.Input<inputs.platform.SecretTextAdditionalMetadataValue>[]>;
34218
34220
  }
34219
34221
  interface SecretTextAdditionalMetadataValue {
34222
+ kmsKeyId?: pulumi.Input<string>;
34220
34223
  version?: pulumi.Input<string>;
34221
34224
  }
34222
34225
  interface SecretWinrmKerberos {
package/types/output.d.ts CHANGED
@@ -6743,6 +6743,7 @@ export declare namespace platform {
6743
6743
  values?: outputs.platform.GetSecretTextAdditionalMetadataValue[];
6744
6744
  }
6745
6745
  interface GetSecretTextAdditionalMetadataValue {
6746
+ kmsKeyId?: string;
6746
6747
  version?: string;
6747
6748
  }
6748
6749
  interface GetSecretWinrmKerbero {
@@ -34144,7 +34145,7 @@ export declare namespace platform {
34144
34145
  */
34145
34146
  secretSpacePath?: string;
34146
34147
  /**
34147
- * User name for UserPassword auth type
34148
+ * Username for UserPassword auth type
34148
34149
  */
34149
34150
  userName?: string;
34150
34151
  }
@@ -35410,6 +35411,7 @@ export declare namespace platform {
35410
35411
  values?: outputs.platform.SecretTextAdditionalMetadataValue[];
35411
35412
  }
35412
35413
  interface SecretTextAdditionalMetadataValue {
35414
+ kmsKeyId?: string;
35413
35415
  version?: string;
35414
35416
  }
35415
35417
  interface SecretWinrmKerberos {