@pulumi/harness 0.9.4 → 0.9.5
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/getRuleEcs.d.ts +2 -2
- package/autostopping/getRuleEcs.js +2 -2
- package/autostopping/getRuleRds.d.ts +2 -2
- package/autostopping/getRuleRds.js +2 -2
- package/autostopping/getRuleScaleGroup.d.ts +2 -2
- package/autostopping/getRuleScaleGroup.js +2 -2
- package/autostopping/getRuleVm.d.ts +2 -2
- package/autostopping/getRuleVm.js +2 -2
- package/autostopping/ruleEcs.d.ts +1 -1
- package/autostopping/ruleEcs.js +1 -1
- package/autostopping/ruleRds.d.ts +1 -1
- package/autostopping/ruleRds.js +1 -1
- package/autostopping/ruleVm.d.ts +1 -1
- package/autostopping/ruleVm.js +1 -1
- package/cluster/getOrchestrator.d.ts +12 -0
- package/cluster/getOrchestrator.js +2 -0
- package/cluster/getOrchestrator.js.map +1 -1
- package/cluster/orchestrator.d.ts +12 -0
- package/cluster/orchestrator.js +2 -0
- package/cluster/orchestrator.js.map +1 -1
- package/package.json +2 -2
- package/platform/getGitopsAppProjectMapping.d.ts +4 -0
- package/platform/getGitopsAppProjectMapping.js.map +1 -1
- package/platform/gitopsAppProjectMapping.d.ts +13 -0
- package/platform/gitopsAppProjectMapping.js +3 -0
- package/platform/gitopsAppProjectMapping.js.map +1 -1
- package/platform/harRegistry.d.ts +2 -2
- package/platform/harRegistry.js +2 -2
- package/platform/infraModule.d.ts +12 -0
- package/platform/infraModule.js +2 -0
- package/platform/infraModule.js.map +1 -1
- package/platform/secretFile.d.ts +20 -0
- package/platform/secretFile.js +20 -0
- package/platform/secretFile.js.map +1 -1
- package/platform/secretText.d.ts +19 -0
- package/platform/secretText.js +19 -0
- package/platform/secretText.js.map +1 -1
- package/platform/triggers.d.ts +12 -0
- package/platform/triggers.js +2 -0
- package/platform/triggers.js.map +1 -1
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Data source for retrieving a Harness
|
|
5
|
+
* Data source for retrieving a Harness AutoStopping rule for ECS services.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*/
|
|
@@ -76,7 +76,7 @@ export interface GetRuleEcsResult {
|
|
|
76
76
|
readonly name: string;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Data source for retrieving a Harness
|
|
79
|
+
* Data source for retrieving a Harness AutoStopping rule for ECS services.
|
|
80
80
|
*
|
|
81
81
|
* ## Example Usage
|
|
82
82
|
*/
|
|
@@ -6,7 +6,7 @@ exports.getRuleEcsOutput = exports.getRuleEcs = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Data source for retrieving a Harness
|
|
9
|
+
* Data source for retrieving a Harness AutoStopping rule for ECS services.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*/
|
|
@@ -24,7 +24,7 @@ function getRuleEcs(args, opts) {
|
|
|
24
24
|
}
|
|
25
25
|
exports.getRuleEcs = getRuleEcs;
|
|
26
26
|
/**
|
|
27
|
-
* Data source for retrieving a Harness
|
|
27
|
+
* Data source for retrieving a Harness AutoStopping rule for ECS services.
|
|
28
28
|
*
|
|
29
29
|
* ## Example Usage
|
|
30
30
|
*/
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Data source for retrieving a Harness
|
|
5
|
+
* Data source for retrieving a Harness AutoStopping rule for RDS databases.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*/
|
|
@@ -68,7 +68,7 @@ export interface GetRuleRdsResult {
|
|
|
68
68
|
readonly tcps?: outputs.autostopping.GetRuleRdsTcp[];
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
* Data source for retrieving a Harness
|
|
71
|
+
* Data source for retrieving a Harness AutoStopping rule for RDS databases.
|
|
72
72
|
*
|
|
73
73
|
* ## Example Usage
|
|
74
74
|
*/
|
|
@@ -6,7 +6,7 @@ exports.getRuleRdsOutput = exports.getRuleRds = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Data source for retrieving a Harness
|
|
9
|
+
* Data source for retrieving a Harness AutoStopping rule for RDS databases.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*/
|
|
@@ -23,7 +23,7 @@ function getRuleRds(args, opts) {
|
|
|
23
23
|
}
|
|
24
24
|
exports.getRuleRds = getRuleRds;
|
|
25
25
|
/**
|
|
26
|
-
* Data source for retrieving a Harness
|
|
26
|
+
* Data source for retrieving a Harness AutoStopping rule for RDS databases.
|
|
27
27
|
*
|
|
28
28
|
* ## Example Usage
|
|
29
29
|
*/
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Data source for retrieving a Harness
|
|
5
|
+
* Data source for retrieving a Harness AutoStopping rule for Scaling Groups.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*/
|
|
@@ -90,7 +90,7 @@ export interface GetRuleScaleGroupResult {
|
|
|
90
90
|
readonly scaleGroup: outputs.autostopping.GetRuleScaleGroupScaleGroup;
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
|
-
* Data source for retrieving a Harness
|
|
93
|
+
* Data source for retrieving a Harness AutoStopping rule for Scaling Groups.
|
|
94
94
|
*
|
|
95
95
|
* ## Example Usage
|
|
96
96
|
*/
|
|
@@ -6,7 +6,7 @@ exports.getRuleScaleGroupOutput = exports.getRuleScaleGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Data source for retrieving a Harness
|
|
9
|
+
* Data source for retrieving a Harness AutoStopping rule for Scaling Groups.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*/
|
|
@@ -25,7 +25,7 @@ function getRuleScaleGroup(args, opts) {
|
|
|
25
25
|
}
|
|
26
26
|
exports.getRuleScaleGroup = getRuleScaleGroup;
|
|
27
27
|
/**
|
|
28
|
-
* Data source for retrieving a Harness
|
|
28
|
+
* Data source for retrieving a Harness AutoStopping rule for Scaling Groups.
|
|
29
29
|
*
|
|
30
30
|
* ## Example Usage
|
|
31
31
|
*/
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Data source for retrieving a Harness
|
|
5
|
+
* Data source for retrieving a Harness AutoStopping rule for VMs.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*/
|
|
@@ -92,7 +92,7 @@ export interface GetRuleVmResult {
|
|
|
92
92
|
readonly useSpot?: boolean;
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
|
-
* Data source for retrieving a Harness
|
|
95
|
+
* Data source for retrieving a Harness AutoStopping rule for VMs.
|
|
96
96
|
*
|
|
97
97
|
* ## Example Usage
|
|
98
98
|
*/
|
|
@@ -6,7 +6,7 @@ exports.getRuleVmOutput = exports.getRuleVm = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Data source for retrieving a Harness
|
|
9
|
+
* Data source for retrieving a Harness AutoStopping rule for VMs.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*/
|
|
@@ -26,7 +26,7 @@ function getRuleVm(args, opts) {
|
|
|
26
26
|
}
|
|
27
27
|
exports.getRuleVm = getRuleVm;
|
|
28
28
|
/**
|
|
29
|
-
* Data source for retrieving a Harness
|
|
29
|
+
* Data source for retrieving a Harness AutoStopping rule for VMs.
|
|
30
30
|
*
|
|
31
31
|
* ## Example Usage
|
|
32
32
|
*/
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Resource for creating a
|
|
5
|
+
* Resource for creating a AutoStopping rule for ECS services.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
package/autostopping/ruleEcs.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Resource for creating a
|
|
5
|
+
* Resource for creating a AutoStopping rule for RDS databases.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
package/autostopping/ruleRds.js
CHANGED
package/autostopping/ruleVm.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Resource for creating a
|
|
5
|
+
* Resource for creating a AutoStopping rule for VMs.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
package/autostopping/ruleVm.js
CHANGED
|
@@ -21,6 +21,10 @@ export interface GetOrchestratorArgs {
|
|
|
21
21
|
* Name of the Orchestrator
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Region of the k8s cluster
|
|
26
|
+
*/
|
|
27
|
+
region?: string;
|
|
24
28
|
}
|
|
25
29
|
/**
|
|
26
30
|
* A collection of values returned by getOrchestrator.
|
|
@@ -42,6 +46,10 @@ export interface GetOrchestratorResult {
|
|
|
42
46
|
* Name of the Orchestrator
|
|
43
47
|
*/
|
|
44
48
|
readonly name: string;
|
|
49
|
+
/**
|
|
50
|
+
* Region of the k8s cluster
|
|
51
|
+
*/
|
|
52
|
+
readonly region?: string;
|
|
45
53
|
}
|
|
46
54
|
/**
|
|
47
55
|
* Data source for retrieving a Harness ClusterOrchestrator.
|
|
@@ -65,4 +73,8 @@ export interface GetOrchestratorOutputArgs {
|
|
|
65
73
|
* Name of the Orchestrator
|
|
66
74
|
*/
|
|
67
75
|
name: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Region of the k8s cluster
|
|
78
|
+
*/
|
|
79
|
+
region?: pulumi.Input<string>;
|
|
68
80
|
}
|
|
@@ -16,6 +16,7 @@ function getOrchestrator(args, opts) {
|
|
|
16
16
|
"clusterEndpoint": args.clusterEndpoint,
|
|
17
17
|
"k8sConnectorId": args.k8sConnectorId,
|
|
18
18
|
"name": args.name,
|
|
19
|
+
"region": args.region,
|
|
19
20
|
}, opts);
|
|
20
21
|
}
|
|
21
22
|
exports.getOrchestrator = getOrchestrator;
|
|
@@ -30,6 +31,7 @@ function getOrchestratorOutput(args, opts) {
|
|
|
30
31
|
"clusterEndpoint": args.clusterEndpoint,
|
|
31
32
|
"k8sConnectorId": args.k8sConnectorId,
|
|
32
33
|
"name": args.name,
|
|
34
|
+
"region": args.region,
|
|
33
35
|
}, opts);
|
|
34
36
|
}
|
|
35
37
|
exports.getOrchestratorOutput = getOrchestratorOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrchestrator.js","sourceRoot":"","sources":["../../cluster/getOrchestrator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFA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QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
|
|
@@ -27,6 +27,10 @@ export declare class Orchestrator extends pulumi.CustomResource {
|
|
|
27
27
|
* Name of the Orchestrator
|
|
28
28
|
*/
|
|
29
29
|
readonly name: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Region of the k8s cluster
|
|
32
|
+
*/
|
|
33
|
+
readonly region: pulumi.Output<string | undefined>;
|
|
30
34
|
/**
|
|
31
35
|
* Create a Orchestrator resource with the given unique name, arguments, and options.
|
|
32
36
|
*
|
|
@@ -52,6 +56,10 @@ export interface OrchestratorState {
|
|
|
52
56
|
* Name of the Orchestrator
|
|
53
57
|
*/
|
|
54
58
|
name?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Region of the k8s cluster
|
|
61
|
+
*/
|
|
62
|
+
region?: pulumi.Input<string>;
|
|
55
63
|
}
|
|
56
64
|
/**
|
|
57
65
|
* The set of arguments for constructing a Orchestrator resource.
|
|
@@ -69,4 +77,8 @@ export interface OrchestratorArgs {
|
|
|
69
77
|
* Name of the Orchestrator
|
|
70
78
|
*/
|
|
71
79
|
name?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Region of the k8s cluster
|
|
82
|
+
*/
|
|
83
|
+
region?: pulumi.Input<string>;
|
|
72
84
|
}
|
package/cluster/orchestrator.js
CHANGED
|
@@ -36,6 +36,7 @@ class Orchestrator extends pulumi.CustomResource {
|
|
|
36
36
|
resourceInputs["clusterEndpoint"] = state?.clusterEndpoint;
|
|
37
37
|
resourceInputs["k8sConnectorId"] = state?.k8sConnectorId;
|
|
38
38
|
resourceInputs["name"] = state?.name;
|
|
39
|
+
resourceInputs["region"] = state?.region;
|
|
39
40
|
}
|
|
40
41
|
else {
|
|
41
42
|
const args = argsOrState;
|
|
@@ -48,6 +49,7 @@ class Orchestrator extends pulumi.CustomResource {
|
|
|
48
49
|
resourceInputs["clusterEndpoint"] = args?.clusterEndpoint;
|
|
49
50
|
resourceInputs["k8sConnectorId"] = args?.k8sConnectorId;
|
|
50
51
|
resourceInputs["name"] = args?.name;
|
|
52
|
+
resourceInputs["region"] = args?.region;
|
|
51
53
|
}
|
|
52
54
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
55
|
super(Orchestrator.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator.js","sourceRoot":"","sources":["../../cluster/orchestrator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;
|
|
1
|
+
{"version":3,"file":"orchestrator.js","sourceRoot":"","sources":["../../cluster/orchestrator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CA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cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;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;;AA7EL,oCA8EC;AAhEG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
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.
|
|
26
|
+
"version": "0.9.5",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -50,6 +50,10 @@ export interface GetGitopsAppProjectMappingResult {
|
|
|
50
50
|
* ArgoCD Project name which is to be mapped to the Harness project.
|
|
51
51
|
*/
|
|
52
52
|
readonly argoProjectName: string;
|
|
53
|
+
/**
|
|
54
|
+
* Enable automated creation of service, environment and cluster-env link. Defaults to false.
|
|
55
|
+
*/
|
|
56
|
+
readonly autoCreateServiceEnv: boolean;
|
|
53
57
|
/**
|
|
54
58
|
* The provider-assigned unique ID for this managed resource.
|
|
55
59
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGitopsAppProjectMapping.js","sourceRoot":"","sources":["../../platform/getGitopsAppProjectMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gEASC;
|
|
1
|
+
{"version":3,"file":"getGitopsAppProjectMapping.js","sourceRoot":"","sources":["../../platform/getGitopsAppProjectMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gEASC;AAqED;;;;GAIG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE;QACzG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4EASC"}
|
|
@@ -14,6 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* projectId: "project_id",
|
|
15
15
|
* agentId: "agent_id",
|
|
16
16
|
* argoProjectName: "argoProjectName",
|
|
17
|
+
* autoCreateServiceEnv: true,
|
|
17
18
|
* });
|
|
18
19
|
* ```
|
|
19
20
|
*
|
|
@@ -57,6 +58,10 @@ export declare class GitopsAppProjectMapping extends pulumi.CustomResource {
|
|
|
57
58
|
* ArgoCD Project name which is to be mapped to the Harness project.
|
|
58
59
|
*/
|
|
59
60
|
readonly argoProjectName: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Enable automated creation of service, environment and cluster-env link. Defaults to false.
|
|
63
|
+
*/
|
|
64
|
+
readonly autoCreateServiceEnv: pulumi.Output<boolean | undefined>;
|
|
60
65
|
/**
|
|
61
66
|
* Identifier of the GitOps Application Project.
|
|
62
67
|
*/
|
|
@@ -96,6 +101,10 @@ export interface GitopsAppProjectMappingState {
|
|
|
96
101
|
* ArgoCD Project name which is to be mapped to the Harness project.
|
|
97
102
|
*/
|
|
98
103
|
argoProjectName?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Enable automated creation of service, environment and cluster-env link. Defaults to false.
|
|
106
|
+
*/
|
|
107
|
+
autoCreateServiceEnv?: pulumi.Input<boolean>;
|
|
99
108
|
/**
|
|
100
109
|
* Identifier of the GitOps Application Project.
|
|
101
110
|
*/
|
|
@@ -127,6 +136,10 @@ export interface GitopsAppProjectMappingArgs {
|
|
|
127
136
|
* ArgoCD Project name which is to be mapped to the Harness project.
|
|
128
137
|
*/
|
|
129
138
|
argoProjectName: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Enable automated creation of service, environment and cluster-env link. Defaults to false.
|
|
141
|
+
*/
|
|
142
|
+
autoCreateServiceEnv?: pulumi.Input<boolean>;
|
|
130
143
|
/**
|
|
131
144
|
* Organization identifier of the GitOps agent's Application Project.
|
|
132
145
|
*/
|
|
@@ -20,6 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* projectId: "project_id",
|
|
21
21
|
* agentId: "agent_id",
|
|
22
22
|
* argoProjectName: "argoProjectName",
|
|
23
|
+
* autoCreateServiceEnv: true,
|
|
23
24
|
* });
|
|
24
25
|
* ```
|
|
25
26
|
*
|
|
@@ -64,6 +65,7 @@ class GitopsAppProjectMapping extends pulumi.CustomResource {
|
|
|
64
65
|
resourceInputs["accountId"] = state?.accountId;
|
|
65
66
|
resourceInputs["agentId"] = state?.agentId;
|
|
66
67
|
resourceInputs["argoProjectName"] = state?.argoProjectName;
|
|
68
|
+
resourceInputs["autoCreateServiceEnv"] = state?.autoCreateServiceEnv;
|
|
67
69
|
resourceInputs["identifier"] = state?.identifier;
|
|
68
70
|
resourceInputs["orgId"] = state?.orgId;
|
|
69
71
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -85,6 +87,7 @@ class GitopsAppProjectMapping extends pulumi.CustomResource {
|
|
|
85
87
|
resourceInputs["accountId"] = args?.accountId;
|
|
86
88
|
resourceInputs["agentId"] = args?.agentId;
|
|
87
89
|
resourceInputs["argoProjectName"] = args?.argoProjectName;
|
|
90
|
+
resourceInputs["autoCreateServiceEnv"] = args?.autoCreateServiceEnv;
|
|
88
91
|
resourceInputs["orgId"] = args?.orgId;
|
|
89
92
|
resourceInputs["projectId"] = args?.projectId;
|
|
90
93
|
resourceInputs["identifier"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitopsAppProjectMapping.js","sourceRoot":"","sources":["../../platform/gitopsAppProjectMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"gitopsAppProjectMapping.js","sourceRoot":"","sources":["../../platform/gitopsAppProjectMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAyCD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,W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AI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAvGL,0DAwGC;AA1FG,gBAAgB;AACO,oCAAY,GAAG,kEAAkE,CAAC"}
|
|
@@ -4,8 +4,8 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Resource for creating and managing Harness Registries.
|
|
6
6
|
*
|
|
7
|
-
* **Note:**
|
|
8
|
-
*
|
|
7
|
+
* **Note:**
|
|
8
|
+
* > In Harness Artifact Registry, a **Virtual** registry is functionally equivalent to what is commonly referred to as a **Local** registry in other systems.
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
11
|
* ```typescript
|
package/platform/harRegistry.js
CHANGED
|
@@ -8,8 +8,8 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Resource for creating and managing Harness Registries.
|
|
10
10
|
*
|
|
11
|
-
* **Note:**
|
|
12
|
-
*
|
|
11
|
+
* **Note:**
|
|
12
|
+
* > In Harness Artifact Registry, a **Virtual** registry is functionally equivalent to what is commonly referred to as a **Local** registry in other systems.
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
15
|
* ```typescript
|
|
@@ -49,6 +49,10 @@ export declare class InfraModule extends pulumi.CustomResource {
|
|
|
49
49
|
* Description of the module.
|
|
50
50
|
*/
|
|
51
51
|
readonly description: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Git Tag Style.
|
|
54
|
+
*/
|
|
55
|
+
readonly gitTagStyle: pulumi.Output<string>;
|
|
52
56
|
/**
|
|
53
57
|
* Name of the module.
|
|
54
58
|
*/
|
|
@@ -114,6 +118,10 @@ export interface InfraModuleState {
|
|
|
114
118
|
* Description of the module.
|
|
115
119
|
*/
|
|
116
120
|
description?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Git Tag Style.
|
|
123
|
+
*/
|
|
124
|
+
gitTagStyle?: pulumi.Input<string>;
|
|
117
125
|
/**
|
|
118
126
|
* Name of the module.
|
|
119
127
|
*/
|
|
@@ -171,6 +179,10 @@ export interface InfraModuleArgs {
|
|
|
171
179
|
* Description of the module.
|
|
172
180
|
*/
|
|
173
181
|
description?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* Git Tag Style.
|
|
184
|
+
*/
|
|
185
|
+
gitTagStyle?: pulumi.Input<string>;
|
|
174
186
|
/**
|
|
175
187
|
* Name of the module.
|
|
176
188
|
*/
|
package/platform/infraModule.js
CHANGED
|
@@ -61,6 +61,7 @@ class InfraModule extends pulumi.CustomResource {
|
|
|
61
61
|
const state = argsOrState;
|
|
62
62
|
resourceInputs["created"] = state?.created;
|
|
63
63
|
resourceInputs["description"] = state?.description;
|
|
64
|
+
resourceInputs["gitTagStyle"] = state?.gitTagStyle;
|
|
64
65
|
resourceInputs["name"] = state?.name;
|
|
65
66
|
resourceInputs["repository"] = state?.repository;
|
|
66
67
|
resourceInputs["repositoryBranch"] = state?.repositoryBranch;
|
|
@@ -80,6 +81,7 @@ class InfraModule extends pulumi.CustomResource {
|
|
|
80
81
|
}
|
|
81
82
|
resourceInputs["created"] = args?.created;
|
|
82
83
|
resourceInputs["description"] = args?.description;
|
|
84
|
+
resourceInputs["gitTagStyle"] = args?.gitTagStyle;
|
|
83
85
|
resourceInputs["name"] = args?.name;
|
|
84
86
|
resourceInputs["repository"] = args?.repository;
|
|
85
87
|
resourceInputs["repositoryBranch"] = args?.repositoryBranch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infraModule.js","sourceRoot":"","sources":["../../platform/infraModule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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;
|
|
1
|
+
{"version":3,"file":"infraModule.js","sourceRoot":"","sources":["../../platform/infraModule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,KAA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kCAuIC;AAzHG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/platform/secretFile.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Resource for creating a secret of type secret file in Harness.
|
|
4
4
|
*
|
|
5
|
+
* > [!NOTE]
|
|
6
|
+
* > 1. Selecting a Customer managed Key (CMK) for encryption is supported in Harness Delegate version 25.11.87300 or later and is behind the feature flag `PL_ENABLE_NON_DEFAULT_ENCRYPTION_KEY`. Contact Harness Support to enable the feature.
|
|
7
|
+
* > 2. This option would be unavailable if the AWS Secret Manager connector has the option Use "put-secret-value" action to update secret value enabled.
|
|
8
|
+
*
|
|
9
|
+
* Refer to the [documentation](https://developer.harness.io/docs/platform/secrets/secrets-management/add-an-aws-secret-manager/#create-a-text-or-file-secret) for details.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ```typescript
|
|
@@ -16,6 +22,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
22
|
* filePath: "file_path",
|
|
17
23
|
* secretManagerIdentifier: "harnessSecretManager",
|
|
18
24
|
* });
|
|
25
|
+
* const awsSecretManager = new harness.platform.SecretText("aws_secret_manager", {
|
|
26
|
+
* identifier: "identifier",
|
|
27
|
+
* name: "name",
|
|
28
|
+
* description: "example",
|
|
29
|
+
* tags: ["foo:bar"],
|
|
30
|
+
* secretManagerIdentifier: "awsSecretManager",
|
|
31
|
+
* valueType: "Inline",
|
|
32
|
+
* value: "secret",
|
|
33
|
+
* additionalMetadatas: [{
|
|
34
|
+
* values: [{
|
|
35
|
+
* kmsKeyId: "kmsKeyId",
|
|
36
|
+
* }],
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
19
39
|
* ```
|
|
20
40
|
*
|
|
21
41
|
* ## Import
|
package/platform/secretFile.js
CHANGED
|
@@ -8,6 +8,12 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Resource for creating a secret of type secret file in Harness.
|
|
10
10
|
*
|
|
11
|
+
* > [!NOTE]
|
|
12
|
+
* > 1. Selecting a Customer managed Key (CMK) for encryption is supported in Harness Delegate version 25.11.87300 or later and is behind the feature flag `PL_ENABLE_NON_DEFAULT_ENCRYPTION_KEY`. Contact Harness Support to enable the feature.
|
|
13
|
+
* > 2. This option would be unavailable if the AWS Secret Manager connector has the option Use "put-secret-value" action to update secret value enabled.
|
|
14
|
+
*
|
|
15
|
+
* Refer to the [documentation](https://developer.harness.io/docs/platform/secrets/secrets-management/add-an-aws-secret-manager/#create-a-text-or-file-secret) for details.
|
|
16
|
+
*
|
|
11
17
|
* ## Example Usage
|
|
12
18
|
*
|
|
13
19
|
* ```typescript
|
|
@@ -22,6 +28,20 @@ const utilities = require("../utilities");
|
|
|
22
28
|
* filePath: "file_path",
|
|
23
29
|
* secretManagerIdentifier: "harnessSecretManager",
|
|
24
30
|
* });
|
|
31
|
+
* const awsSecretManager = new harness.platform.SecretText("aws_secret_manager", {
|
|
32
|
+
* identifier: "identifier",
|
|
33
|
+
* name: "name",
|
|
34
|
+
* description: "example",
|
|
35
|
+
* tags: ["foo:bar"],
|
|
36
|
+
* secretManagerIdentifier: "awsSecretManager",
|
|
37
|
+
* valueType: "Inline",
|
|
38
|
+
* value: "secret",
|
|
39
|
+
* additionalMetadatas: [{
|
|
40
|
+
* values: [{
|
|
41
|
+
* kmsKeyId: "kmsKeyId",
|
|
42
|
+
* }],
|
|
43
|
+
* }],
|
|
44
|
+
* });
|
|
25
45
|
* ```
|
|
26
46
|
*
|
|
27
47
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secretFile.js","sourceRoot":"","sources":["../../platform/secretFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"secretFile.js","sourceRoot":"","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AC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9GL,gCA+GC;AAjGG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
|
package/platform/secretText.d.ts
CHANGED
|
@@ -4,6 +4,11 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Resource for creating secret of type secret text
|
|
6
6
|
*
|
|
7
|
+
* > [!NOTE]
|
|
8
|
+
* Selecting a Customer managed Key (CMK) for encryption is supported in Harness Delegate version 25.11.87300 or later and is behind the feature flag `PL_ENABLE_NON_DEFAULT_ENCRYPTION_KEY`. Contact Harness Support to enable the feature.
|
|
9
|
+
*
|
|
10
|
+
* Refer to the [documentation](https://developer.harness.io/docs/platform/secrets/secrets-management/add-an-aws-secret-manager/#create-a-text-or-file-secret) for details.
|
|
11
|
+
*
|
|
7
12
|
* ## Example Usage
|
|
8
13
|
*
|
|
9
14
|
* ```typescript
|
|
@@ -42,6 +47,20 @@ import * as outputs from "../types/output";
|
|
|
42
47
|
* }],
|
|
43
48
|
* }],
|
|
44
49
|
* });
|
|
50
|
+
* const awsSecretManager = new harness.platform.SecretText("aws_secret_manager", {
|
|
51
|
+
* identifier: "identifier",
|
|
52
|
+
* name: "name",
|
|
53
|
+
* description: "example",
|
|
54
|
+
* tags: ["foo:bar"],
|
|
55
|
+
* secretManagerIdentifier: "awsSecretManager",
|
|
56
|
+
* valueType: "Inline",
|
|
57
|
+
* value: "secret",
|
|
58
|
+
* additionalMetadatas: [{
|
|
59
|
+
* values: [{
|
|
60
|
+
* kmsKeyId: "kmsKeyId",
|
|
61
|
+
* }],
|
|
62
|
+
* }],
|
|
63
|
+
* });
|
|
45
64
|
* ```
|
|
46
65
|
*
|
|
47
66
|
* ## Import
|
package/platform/secretText.js
CHANGED
|
@@ -8,6 +8,11 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Resource for creating secret of type secret text
|
|
10
10
|
*
|
|
11
|
+
* > [!NOTE]
|
|
12
|
+
* Selecting a Customer managed Key (CMK) for encryption is supported in Harness Delegate version 25.11.87300 or later and is behind the feature flag `PL_ENABLE_NON_DEFAULT_ENCRYPTION_KEY`. Contact Harness Support to enable the feature.
|
|
13
|
+
*
|
|
14
|
+
* Refer to the [documentation](https://developer.harness.io/docs/platform/secrets/secrets-management/add-an-aws-secret-manager/#create-a-text-or-file-secret) for details.
|
|
15
|
+
*
|
|
11
16
|
* ## Example Usage
|
|
12
17
|
*
|
|
13
18
|
* ```typescript
|
|
@@ -46,6 +51,20 @@ const utilities = require("../utilities");
|
|
|
46
51
|
* }],
|
|
47
52
|
* }],
|
|
48
53
|
* });
|
|
54
|
+
* const awsSecretManager = new harness.platform.SecretText("aws_secret_manager", {
|
|
55
|
+
* identifier: "identifier",
|
|
56
|
+
* name: "name",
|
|
57
|
+
* description: "example",
|
|
58
|
+
* tags: ["foo:bar"],
|
|
59
|
+
* secretManagerIdentifier: "awsSecretManager",
|
|
60
|
+
* valueType: "Inline",
|
|
61
|
+
* value: "secret",
|
|
62
|
+
* additionalMetadatas: [{
|
|
63
|
+
* values: [{
|
|
64
|
+
* kmsKeyId: "kmsKeyId",
|
|
65
|
+
* }],
|
|
66
|
+
* }],
|
|
67
|
+
* });
|
|
49
68
|
* ```
|
|
50
69
|
*
|
|
51
70
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secretText.js","sourceRoot":"","sources":["../../platform/secretText.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"secretText.js","sourceRoot":"","sources":["../../platform/secretText.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;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AAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAtHL,gCAuHC;AAzGG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
|
package/platform/triggers.d.ts
CHANGED
|
@@ -111,6 +111,10 @@ export declare class Triggers extends pulumi.CustomResource {
|
|
|
111
111
|
* Identifier of the target pipeline
|
|
112
112
|
*/
|
|
113
113
|
readonly targetId: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The webhook URL if the trigger is type `Webhook`.
|
|
116
|
+
*/
|
|
117
|
+
readonly webhookUrl: pulumi.Output<string>;
|
|
114
118
|
/**
|
|
115
119
|
* trigger yaml. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
|
|
116
120
|
*/
|
|
@@ -164,6 +168,10 @@ export interface TriggersState {
|
|
|
164
168
|
* Identifier of the target pipeline
|
|
165
169
|
*/
|
|
166
170
|
targetId?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* The webhook URL if the trigger is type `Webhook`.
|
|
173
|
+
*/
|
|
174
|
+
webhookUrl?: pulumi.Input<string>;
|
|
167
175
|
/**
|
|
168
176
|
* trigger yaml. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
|
|
169
177
|
*/
|
|
@@ -209,6 +217,10 @@ export interface TriggersArgs {
|
|
|
209
217
|
* Identifier of the target pipeline
|
|
210
218
|
*/
|
|
211
219
|
targetId: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* The webhook URL if the trigger is type `Webhook`.
|
|
222
|
+
*/
|
|
223
|
+
webhookUrl?: pulumi.Input<string>;
|
|
212
224
|
/**
|
|
213
225
|
* trigger yaml. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
|
|
214
226
|
*/
|
package/platform/triggers.js
CHANGED
|
@@ -102,6 +102,7 @@ class Triggers extends pulumi.CustomResource {
|
|
|
102
102
|
resourceInputs["projectId"] = state?.projectId;
|
|
103
103
|
resourceInputs["tags"] = state?.tags;
|
|
104
104
|
resourceInputs["targetId"] = state?.targetId;
|
|
105
|
+
resourceInputs["webhookUrl"] = state?.webhookUrl;
|
|
105
106
|
resourceInputs["yaml"] = state?.yaml;
|
|
106
107
|
}
|
|
107
108
|
else {
|
|
@@ -130,6 +131,7 @@ class Triggers extends pulumi.CustomResource {
|
|
|
130
131
|
resourceInputs["projectId"] = args?.projectId;
|
|
131
132
|
resourceInputs["tags"] = args?.tags;
|
|
132
133
|
resourceInputs["targetId"] = args?.targetId;
|
|
134
|
+
resourceInputs["webhookUrl"] = args?.webhookUrl;
|
|
133
135
|
resourceInputs["yaml"] = args?.yaml;
|
|
134
136
|
}
|
|
135
137
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/platform/triggers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.js","sourceRoot":"","sources":["../../platform/triggers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;
|
|
1
|
+
{"version":3,"file":"triggers.js","sourceRoot":"","sources":["../../platform/triggers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MA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