@pulumi/harness 0.11.2 → 0.11.3
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/autostopping/awsAlb.d.ts +7 -24
- package/autostopping/awsAlb.js +0 -9
- package/autostopping/awsAlb.js.map +1 -1
- package/autostopping/awsProxy.d.ts +6 -23
- package/autostopping/awsProxy.js +0 -9
- package/autostopping/awsProxy.js.map +1 -1
- package/autostopping/azureGateway.d.ts +9 -12
- package/autostopping/azureGateway.js +0 -5
- package/autostopping/azureGateway.js.map +1 -1
- package/autostopping/azureProxy.d.ts +6 -10
- package/autostopping/azureProxy.js +0 -6
- package/autostopping/azureProxy.js.map +1 -1
- package/autostopping/gcpProxy.d.ts +6 -10
- package/autostopping/gcpProxy.js +0 -6
- package/autostopping/gcpProxy.js.map +1 -1
- package/autostopping/getAwsAlb.d.ts +6 -21
- package/autostopping/getAwsAlb.js +0 -4
- package/autostopping/getAwsAlb.js.map +1 -1
- package/autostopping/getAwsProxy.d.ts +6 -21
- package/autostopping/getAwsProxy.js +0 -4
- package/autostopping/getAwsProxy.js.map +1 -1
- package/autostopping/getAzureGateway.d.ts +9 -12
- package/autostopping/getAzureGateway.js +0 -2
- package/autostopping/getAzureGateway.js.map +1 -1
- package/autostopping/getAzureProxy.d.ts +6 -9
- package/autostopping/getAzureProxy.js +0 -2
- package/autostopping/getAzureProxy.js.map +1 -1
- package/autostopping/getGcpProxy.d.ts +6 -9
- package/autostopping/getGcpProxy.js +0 -2
- package/autostopping/getGcpProxy.js.map +1 -1
- package/cluster/orchestrator.d.ts +28 -0
- package/cluster/orchestrator.js +28 -0
- package/cluster/orchestrator.js.map +1 -1
- package/encryptedText.d.ts +0 -1
- package/encryptedText.js +0 -1
- package/encryptedText.js.map +1 -1
- package/package.json +2 -2
- package/platform/environmentClustersMapping.d.ts +4 -0
- package/platform/environmentClustersMapping.js +4 -0
- package/platform/environmentClustersMapping.js.map +1 -1
- package/platform/getAzureKeyVaultConnector.d.ts +14 -0
- package/platform/getAzureKeyVaultConnector.js +14 -0
- package/platform/getAzureKeyVaultConnector.js.map +1 -1
- package/platform/getDelegateList.d.ts +9 -3
- package/platform/getDelegateList.js +6 -0
- package/platform/getDelegateList.js.map +1 -1
- package/platform/getInfraModule.d.ts +59 -9
- package/platform/getInfraModule.js +10 -0
- package/platform/getInfraModule.js.map +1 -1
- package/platform/getInfraModuleTesting.d.ts +9 -0
- package/platform/getInfraModuleTesting.js.map +1 -1
- package/platform/getInfraVariableSet.d.ts +18 -0
- package/platform/getInfraVariableSet.js.map +1 -1
- package/platform/getTerraformCloudConnector.d.ts +10 -0
- package/platform/getTerraformCloudConnector.js +4 -0
- package/platform/getTerraformCloudConnector.js.map +1 -1
- package/platform/getWorkspace.d.ts +18 -0
- package/platform/getWorkspace.js.map +1 -1
- package/platform/harRegistry.d.ts +8 -4
- package/platform/harRegistry.js +8 -4
- package/platform/harRegistry.js.map +1 -1
- package/platform/infraModule.d.ts +93 -0
- package/platform/infraModule.js +23 -0
- package/platform/infraModule.js.map +1 -1
- package/platform/infraModuleTesting.d.ts +11 -0
- package/platform/infraModuleTesting.js +2 -0
- package/platform/infraModuleTesting.js.map +1 -1
- package/platform/infraVariableSet.d.ts +18 -0
- package/platform/infraVariableSet.js.map +1 -1
- package/platform/monitoredService.d.ts +3 -3
- package/platform/monitoredService.js +3 -3
- package/platform/terraformCloudConnector.d.ts +19 -1
- package/platform/terraformCloudConnector.js +1 -1
- package/platform/terraformCloudConnector.js.map +1 -1
- package/platform/token.d.ts +6 -13
- package/platform/token.js +6 -13
- package/platform/token.js.map +1 -1
- package/platform/workspace.d.ts +36 -0
- package/platform/workspace.js.map +1 -1
- package/platformApiKey.d.ts +6 -13
- package/platformApiKey.js +6 -13
- package/platformApiKey.js.map +1 -1
- package/service/discoveryAgent.d.ts +0 -1
- package/service/discoveryAgent.js +0 -1
- package/service/discoveryAgent.js.map +1 -1
- package/types/output.d.ts +28 -0
- package/yamlConfig.d.ts +1 -1
- package/yamlConfig.js +1 -1
package/platform/workspace.d.ts
CHANGED
|
@@ -161,7 +161,13 @@ export declare class Workspace extends pulumi.CustomResource {
|
|
|
161
161
|
* Provider connector is the reference to the connector for the infrastructure provider - this way of defining connector will be deprecated in the coming releases, use connector as block set.
|
|
162
162
|
*/
|
|
163
163
|
readonly providerConnector: pulumi.Output<string | undefined>;
|
|
164
|
+
/**
|
|
165
|
+
* Provisioner type defines the provisioning tool to use (terraform or opentofu)
|
|
166
|
+
*/
|
|
164
167
|
readonly provisionerType: pulumi.Output<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Provisioner version defines the provisioner version to use. The latest version of Opentofu should always be supported, Terraform is only supported up to version 1.5.7.
|
|
170
|
+
*/
|
|
165
171
|
readonly provisionerVersion: pulumi.Output<string>;
|
|
166
172
|
/**
|
|
167
173
|
* Repository is the name of the repository to fetch the code from.
|
|
@@ -191,7 +197,13 @@ export declare class Workspace extends pulumi.CustomResource {
|
|
|
191
197
|
* Tags to associate with the resource.
|
|
192
198
|
*/
|
|
193
199
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* Terraform variables files configured on the workspace (see below for nested schema)
|
|
202
|
+
*/
|
|
194
203
|
readonly terraformVariableFiles: pulumi.Output<outputs.platform.WorkspaceTerraformVariableFile[] | undefined>;
|
|
204
|
+
/**
|
|
205
|
+
* Terraform variables configured on the workspace. Terraform variable keys must be unique within the workspace. (see below for nested schema)
|
|
206
|
+
*/
|
|
195
207
|
readonly terraformVariables: pulumi.Output<outputs.platform.WorkspaceTerraformVariable[] | undefined>;
|
|
196
208
|
/**
|
|
197
209
|
* Variable sets to use.
|
|
@@ -252,7 +264,13 @@ export interface WorkspaceState {
|
|
|
252
264
|
* Provider connector is the reference to the connector for the infrastructure provider - this way of defining connector will be deprecated in the coming releases, use connector as block set.
|
|
253
265
|
*/
|
|
254
266
|
providerConnector?: pulumi.Input<string>;
|
|
267
|
+
/**
|
|
268
|
+
* Provisioner type defines the provisioning tool to use (terraform or opentofu)
|
|
269
|
+
*/
|
|
255
270
|
provisionerType?: pulumi.Input<string>;
|
|
271
|
+
/**
|
|
272
|
+
* Provisioner version defines the provisioner version to use. The latest version of Opentofu should always be supported, Terraform is only supported up to version 1.5.7.
|
|
273
|
+
*/
|
|
256
274
|
provisionerVersion?: pulumi.Input<string>;
|
|
257
275
|
/**
|
|
258
276
|
* Repository is the name of the repository to fetch the code from.
|
|
@@ -282,7 +300,13 @@ export interface WorkspaceState {
|
|
|
282
300
|
* Tags to associate with the resource.
|
|
283
301
|
*/
|
|
284
302
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
303
|
+
/**
|
|
304
|
+
* Terraform variables files configured on the workspace (see below for nested schema)
|
|
305
|
+
*/
|
|
285
306
|
terraformVariableFiles?: pulumi.Input<pulumi.Input<inputs.platform.WorkspaceTerraformVariableFile>[]>;
|
|
307
|
+
/**
|
|
308
|
+
* Terraform variables configured on the workspace. Terraform variable keys must be unique within the workspace. (see below for nested schema)
|
|
309
|
+
*/
|
|
286
310
|
terraformVariables?: pulumi.Input<pulumi.Input<inputs.platform.WorkspaceTerraformVariable>[]>;
|
|
287
311
|
/**
|
|
288
312
|
* Variable sets to use.
|
|
@@ -335,7 +359,13 @@ export interface WorkspaceArgs {
|
|
|
335
359
|
* Provider connector is the reference to the connector for the infrastructure provider - this way of defining connector will be deprecated in the coming releases, use connector as block set.
|
|
336
360
|
*/
|
|
337
361
|
providerConnector?: pulumi.Input<string>;
|
|
362
|
+
/**
|
|
363
|
+
* Provisioner type defines the provisioning tool to use (terraform or opentofu)
|
|
364
|
+
*/
|
|
338
365
|
provisionerType: pulumi.Input<string>;
|
|
366
|
+
/**
|
|
367
|
+
* Provisioner version defines the provisioner version to use. The latest version of Opentofu should always be supported, Terraform is only supported up to version 1.5.7.
|
|
368
|
+
*/
|
|
339
369
|
provisionerVersion: pulumi.Input<string>;
|
|
340
370
|
/**
|
|
341
371
|
* Repository is the name of the repository to fetch the code from.
|
|
@@ -365,7 +395,13 @@ export interface WorkspaceArgs {
|
|
|
365
395
|
* Tags to associate with the resource.
|
|
366
396
|
*/
|
|
367
397
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
398
|
+
/**
|
|
399
|
+
* Terraform variables files configured on the workspace (see below for nested schema)
|
|
400
|
+
*/
|
|
368
401
|
terraformVariableFiles?: pulumi.Input<pulumi.Input<inputs.platform.WorkspaceTerraformVariableFile>[]>;
|
|
402
|
+
/**
|
|
403
|
+
* Terraform variables configured on the workspace. Terraform variable keys must be unique within the workspace. (see below for nested schema)
|
|
404
|
+
*/
|
|
369
405
|
terraformVariables?: pulumi.Input<pulumi.Input<inputs.platform.WorkspaceTerraformVariable>[]>;
|
|
370
406
|
/**
|
|
371
407
|
* Variable sets to use.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../platform/workspace.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqGG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,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,C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AAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA9ML,8BA+MC;AAjMG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
|
package/platformApiKey.d.ts
CHANGED
|
@@ -6,22 +6,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* The `pulumi import` command can be used, for example:
|
|
8
8
|
*
|
|
9
|
-
* Import account level apikey
|
|
10
|
-
*
|
|
11
9
|
* ```sh
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* # Import account level apikey
|
|
11
|
+
* terraform import harness_platform_apikey <parent_id>/<apikey_id>/<apikey_type>
|
|
14
12
|
*
|
|
15
|
-
* Import org level apikey
|
|
13
|
+
* # Import org level apikey
|
|
14
|
+
* terraform import harness_platform_apikey <org_id>/<parent_id>/<apikey_id>/<apikey_type>
|
|
16
15
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* Import project level apikey
|
|
22
|
-
*
|
|
23
|
-
* ```sh
|
|
24
|
-
* $ pulumi import harness:index/platformApiKey:PlatformApiKey harness_platform_apikey <org_id>/<project_id>/<parent_id>/<apikey_id>/<apikey_type>
|
|
16
|
+
* # Import project level apikey
|
|
17
|
+
* terraform import harness_platform_apikey <org_id>/<project_id>/<parent_id>/<apikey_id>/<apikey_type>
|
|
25
18
|
* ```
|
|
26
19
|
*/
|
|
27
20
|
export declare class PlatformApiKey extends pulumi.CustomResource {
|
package/platformApiKey.js
CHANGED
|
@@ -12,22 +12,15 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* The `pulumi import` command can be used, for example:
|
|
14
14
|
*
|
|
15
|
-
* Import account level apikey
|
|
16
|
-
*
|
|
17
15
|
* ```sh
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
* # Import account level apikey
|
|
17
|
+
* terraform import harness_platform_apikey <parent_id>/<apikey_id>/<apikey_type>
|
|
20
18
|
*
|
|
21
|
-
* Import org level apikey
|
|
19
|
+
* # Import org level apikey
|
|
20
|
+
* terraform import harness_platform_apikey <org_id>/<parent_id>/<apikey_id>/<apikey_type>
|
|
22
21
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* Import project level apikey
|
|
28
|
-
*
|
|
29
|
-
* ```sh
|
|
30
|
-
* $ pulumi import harness:index/platformApiKey:PlatformApiKey harness_platform_apikey <org_id>/<project_id>/<parent_id>/<apikey_id>/<apikey_type>
|
|
22
|
+
* # Import project level apikey
|
|
23
|
+
* terraform import harness_platform_apikey <org_id>/<project_id>/<parent_id>/<apikey_id>/<apikey_type>
|
|
31
24
|
* ```
|
|
32
25
|
*/
|
|
33
26
|
class PlatformApiKey extends pulumi.CustomResource {
|
package/platformApiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platformApiKey.js","sourceRoot":"","sources":["../platformApiKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"platformApiKey.js","sourceRoot":"","sources":["../platformApiKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CA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,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;;AAvHL,wCAwHC;AA1GG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discoveryAgent.js","sourceRoot":"","sources":["../../service/discoveryAgent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"discoveryAgent.js","sourceRoot":"","sources":["../../service/discoveryAgent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyJG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;I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espace platform {
|
|
|
5866
5866
|
* Account that owns the module
|
|
5867
5867
|
*/
|
|
5868
5868
|
account: string;
|
|
5869
|
+
/**
|
|
5870
|
+
* Repository connector orgoanization
|
|
5871
|
+
*/
|
|
5872
|
+
connectorOrg: string;
|
|
5873
|
+
/**
|
|
5874
|
+
* Repository connector project
|
|
5875
|
+
*/
|
|
5876
|
+
connectorProject: string;
|
|
5869
5877
|
/**
|
|
5870
5878
|
* Timestamp when the module was created
|
|
5871
5879
|
*/
|
|
@@ -5882,6 +5890,22 @@ export declare namespace platform {
|
|
|
5882
5890
|
* Name of the module
|
|
5883
5891
|
*/
|
|
5884
5892
|
name: string;
|
|
5893
|
+
/**
|
|
5894
|
+
* Onboarding Pipeline identifier.
|
|
5895
|
+
*/
|
|
5896
|
+
onboardingPipeline?: string;
|
|
5897
|
+
/**
|
|
5898
|
+
* Onboarding Pipeline organization.
|
|
5899
|
+
*/
|
|
5900
|
+
onboardingPipelineOrg?: string;
|
|
5901
|
+
/**
|
|
5902
|
+
* Onboarding Pipeline project.
|
|
5903
|
+
*/
|
|
5904
|
+
onboardingPipelineProject?: string;
|
|
5905
|
+
/**
|
|
5906
|
+
* Sync the project automatically.
|
|
5907
|
+
*/
|
|
5908
|
+
onboardingPipelineSync?: boolean;
|
|
5885
5909
|
/**
|
|
5886
5910
|
* Organization that owns the module
|
|
5887
5911
|
*/
|
|
@@ -5914,6 +5938,10 @@ export declare namespace platform {
|
|
|
5914
5938
|
* Repository URL
|
|
5915
5939
|
*/
|
|
5916
5940
|
repositoryUrl: string;
|
|
5941
|
+
/**
|
|
5942
|
+
* How to store the artifact.
|
|
5943
|
+
*/
|
|
5944
|
+
storageType: string;
|
|
5917
5945
|
/**
|
|
5918
5946
|
* Timestamp when the module was last synced
|
|
5919
5947
|
*/
|
package/yamlConfig.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
* Importing a global config only using the yaml path
|
|
28
28
|
*
|
|
29
29
|
* ```sh
|
|
30
|
-
*
|
|
30
|
+
* terraform import harness_yaml_config.k8s_cloudprovider "Setup/Cloud Providers/kubernetes.yaml"
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
33
|
* Importing a service which requires both the application id and the yaml path.
|
package/yamlConfig.js
CHANGED
|
@@ -33,7 +33,7 @@ const utilities = require("./utilities");
|
|
|
33
33
|
* Importing a global config only using the yaml path
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
|
-
*
|
|
36
|
+
* terraform import harness_yaml_config.k8s_cloudprovider "Setup/Cloud Providers/kubernetes.yaml"
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
39
|
* Importing a service which requires both the application id and the yaml path.
|