@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/autostopping/awsAlb.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* "sg1",
|
|
19
19
|
* "sg2",
|
|
20
20
|
* ],
|
|
21
|
-
* route53HostedZoneId: "/hostedzone/zone_id",
|
|
22
21
|
* deleteCloudResourcesOnDestroy: true,
|
|
23
22
|
* });
|
|
24
23
|
* const harnessAlb = new harness.autostopping.AwsAlb("harness_alb", {
|
|
@@ -29,7 +28,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
28
|
* region: "region",
|
|
30
29
|
* vpc: "vpc",
|
|
31
30
|
* securityGroups: ["sg-0"],
|
|
32
|
-
* route53HostedZoneId: "/hostedzone/zone_id",
|
|
33
31
|
* deleteCloudResourcesOnDestroy: false,
|
|
34
32
|
* });
|
|
35
33
|
* ```
|
|
@@ -53,17 +51,16 @@ export declare class AwsAlb extends pulumi.CustomResource {
|
|
|
53
51
|
/**
|
|
54
52
|
* Arn of AWS ALB to be imported. Required only for importing existing ALB
|
|
55
53
|
*/
|
|
56
|
-
readonly albArn: pulumi.Output<string
|
|
54
|
+
readonly albArn: pulumi.Output<string>;
|
|
57
55
|
readonly certificateId: pulumi.Output<string | undefined>;
|
|
58
56
|
/**
|
|
59
57
|
* Id of the cloud connector
|
|
60
58
|
*/
|
|
61
59
|
readonly cloudConnectorId: pulumi.Output<string>;
|
|
62
|
-
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
63
60
|
/**
|
|
64
|
-
*
|
|
61
|
+
* Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated ALB will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact.
|
|
65
62
|
*/
|
|
66
|
-
readonly
|
|
63
|
+
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
67
64
|
/**
|
|
68
65
|
* Unique identifier of the resource
|
|
69
66
|
*/
|
|
@@ -76,10 +73,6 @@ export declare class AwsAlb extends pulumi.CustomResource {
|
|
|
76
73
|
* Region in which cloud resources are hosted
|
|
77
74
|
*/
|
|
78
75
|
readonly region: pulumi.Output<string>;
|
|
79
|
-
/**
|
|
80
|
-
* Route 53 hosted zone id
|
|
81
|
-
*/
|
|
82
|
-
readonly route53HostedZoneId: pulumi.Output<string | undefined>;
|
|
83
76
|
/**
|
|
84
77
|
* Security Group to define the security rules that determine the inbound and outbound traffic
|
|
85
78
|
*/
|
|
@@ -110,11 +103,10 @@ export interface AwsAlbState {
|
|
|
110
103
|
* Id of the cloud connector
|
|
111
104
|
*/
|
|
112
105
|
cloudConnectorId?: pulumi.Input<string>;
|
|
113
|
-
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
114
106
|
/**
|
|
115
|
-
*
|
|
107
|
+
* Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated ALB will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact.
|
|
116
108
|
*/
|
|
117
|
-
|
|
109
|
+
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
118
110
|
/**
|
|
119
111
|
* Unique identifier of the resource
|
|
120
112
|
*/
|
|
@@ -127,10 +119,6 @@ export interface AwsAlbState {
|
|
|
127
119
|
* Region in which cloud resources are hosted
|
|
128
120
|
*/
|
|
129
121
|
region?: pulumi.Input<string>;
|
|
130
|
-
/**
|
|
131
|
-
* Route 53 hosted zone id
|
|
132
|
-
*/
|
|
133
|
-
route53HostedZoneId?: pulumi.Input<string>;
|
|
134
122
|
/**
|
|
135
123
|
* Security Group to define the security rules that determine the inbound and outbound traffic
|
|
136
124
|
*/
|
|
@@ -153,11 +141,10 @@ export interface AwsAlbArgs {
|
|
|
153
141
|
* Id of the cloud connector
|
|
154
142
|
*/
|
|
155
143
|
cloudConnectorId: pulumi.Input<string>;
|
|
156
|
-
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
157
144
|
/**
|
|
158
|
-
*
|
|
145
|
+
* Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated ALB will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact.
|
|
159
146
|
*/
|
|
160
|
-
|
|
147
|
+
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
161
148
|
/**
|
|
162
149
|
* Name of the proxy
|
|
163
150
|
*/
|
|
@@ -166,10 +153,6 @@ export interface AwsAlbArgs {
|
|
|
166
153
|
* Region in which cloud resources are hosted
|
|
167
154
|
*/
|
|
168
155
|
region: pulumi.Input<string>;
|
|
169
|
-
/**
|
|
170
|
-
* Route 53 hosted zone id
|
|
171
|
-
*/
|
|
172
|
-
route53HostedZoneId?: pulumi.Input<string>;
|
|
173
156
|
/**
|
|
174
157
|
* Security Group to define the security rules that determine the inbound and outbound traffic
|
|
175
158
|
*/
|
package/autostopping/awsAlb.js
CHANGED
|
@@ -24,7 +24,6 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* "sg1",
|
|
25
25
|
* "sg2",
|
|
26
26
|
* ],
|
|
27
|
-
* route53HostedZoneId: "/hostedzone/zone_id",
|
|
28
27
|
* deleteCloudResourcesOnDestroy: true,
|
|
29
28
|
* });
|
|
30
29
|
* const harnessAlb = new harness.autostopping.AwsAlb("harness_alb", {
|
|
@@ -35,7 +34,6 @@ const utilities = require("../utilities");
|
|
|
35
34
|
* region: "region",
|
|
36
35
|
* vpc: "vpc",
|
|
37
36
|
* securityGroups: ["sg-0"],
|
|
38
|
-
* route53HostedZoneId: "/hostedzone/zone_id",
|
|
39
37
|
* deleteCloudResourcesOnDestroy: false,
|
|
40
38
|
* });
|
|
41
39
|
* ```
|
|
@@ -72,11 +70,9 @@ class AwsAlb extends pulumi.CustomResource {
|
|
|
72
70
|
resourceInputs["certificateId"] = state?.certificateId;
|
|
73
71
|
resourceInputs["cloudConnectorId"] = state?.cloudConnectorId;
|
|
74
72
|
resourceInputs["deleteCloudResourcesOnDestroy"] = state?.deleteCloudResourcesOnDestroy;
|
|
75
|
-
resourceInputs["hostName"] = state?.hostName;
|
|
76
73
|
resourceInputs["identifier"] = state?.identifier;
|
|
77
74
|
resourceInputs["name"] = state?.name;
|
|
78
75
|
resourceInputs["region"] = state?.region;
|
|
79
|
-
resourceInputs["route53HostedZoneId"] = state?.route53HostedZoneId;
|
|
80
76
|
resourceInputs["securityGroups"] = state?.securityGroups;
|
|
81
77
|
resourceInputs["vpc"] = state?.vpc;
|
|
82
78
|
}
|
|
@@ -88,9 +84,6 @@ class AwsAlb extends pulumi.CustomResource {
|
|
|
88
84
|
if (args?.deleteCloudResourcesOnDestroy === undefined && !opts.urn) {
|
|
89
85
|
throw new Error("Missing required property 'deleteCloudResourcesOnDestroy'");
|
|
90
86
|
}
|
|
91
|
-
if (args?.hostName === undefined && !opts.urn) {
|
|
92
|
-
throw new Error("Missing required property 'hostName'");
|
|
93
|
-
}
|
|
94
87
|
if (args?.region === undefined && !opts.urn) {
|
|
95
88
|
throw new Error("Missing required property 'region'");
|
|
96
89
|
}
|
|
@@ -101,10 +94,8 @@ class AwsAlb extends pulumi.CustomResource {
|
|
|
101
94
|
resourceInputs["certificateId"] = args?.certificateId;
|
|
102
95
|
resourceInputs["cloudConnectorId"] = args?.cloudConnectorId;
|
|
103
96
|
resourceInputs["deleteCloudResourcesOnDestroy"] = args?.deleteCloudResourcesOnDestroy;
|
|
104
|
-
resourceInputs["hostName"] = args?.hostName;
|
|
105
97
|
resourceInputs["name"] = args?.name;
|
|
106
98
|
resourceInputs["region"] = args?.region;
|
|
107
|
-
resourceInputs["route53HostedZoneId"] = args?.route53HostedZoneId;
|
|
108
99
|
resourceInputs["securityGroups"] = args?.securityGroups;
|
|
109
100
|
resourceInputs["vpc"] = args?.vpc;
|
|
110
101
|
resourceInputs["identifier"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"awsAlb.js","sourceRoot":"","sources":["../../autostopping/awsAlb.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"awsAlb.js","sourceRoot":"","sources":["../../autostopping/awsAlb.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA4CD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,kBAAkB,CAAC,G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6BAA6B,CAAC;YACtF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,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,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9GL,wBA+GC;AAjGG,gBAAgB;AACO,mBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -13,14 +13,12 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* const test = new harness.autostopping.AwsProxy("test", {
|
|
14
14
|
* name: "name",
|
|
15
15
|
* cloudConnectorId: "cloud_connector_id",
|
|
16
|
-
* hostName: "host_name",
|
|
17
16
|
* region: "region",
|
|
18
17
|
* vpc: "vpc",
|
|
19
18
|
* securityGroups: [
|
|
20
19
|
* "sg1",
|
|
21
20
|
* "sg2",
|
|
22
21
|
* ],
|
|
23
|
-
* route53HostedZoneId: "/hostedzone/zone_id",
|
|
24
22
|
* machineType: "t2.medium",
|
|
25
23
|
* apiKey: "",
|
|
26
24
|
* allocateStaticIp: true,
|
|
@@ -57,11 +55,10 @@ export declare class AwsProxy extends pulumi.CustomResource {
|
|
|
57
55
|
* Id of the cloud connector
|
|
58
56
|
*/
|
|
59
57
|
readonly cloudConnectorId: pulumi.Output<string>;
|
|
60
|
-
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
61
58
|
/**
|
|
62
|
-
*
|
|
59
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in AWS account itself.
|
|
63
60
|
*/
|
|
64
|
-
readonly
|
|
61
|
+
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
65
62
|
/**
|
|
66
63
|
* Unique identifier of the resource
|
|
67
64
|
*/
|
|
@@ -79,10 +76,6 @@ export declare class AwsProxy extends pulumi.CustomResource {
|
|
|
79
76
|
* Region in which cloud resources are hosted
|
|
80
77
|
*/
|
|
81
78
|
readonly region: pulumi.Output<string>;
|
|
82
|
-
/**
|
|
83
|
-
* Route 53 hosted zone id
|
|
84
|
-
*/
|
|
85
|
-
readonly route53HostedZoneId: pulumi.Output<string | undefined>;
|
|
86
79
|
/**
|
|
87
80
|
* Security Group to define the security rules that determine the inbound and outbound traffic
|
|
88
81
|
*/
|
|
@@ -117,11 +110,10 @@ export interface AwsProxyState {
|
|
|
117
110
|
* Id of the cloud connector
|
|
118
111
|
*/
|
|
119
112
|
cloudConnectorId?: pulumi.Input<string>;
|
|
120
|
-
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
121
113
|
/**
|
|
122
|
-
*
|
|
114
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in AWS account itself.
|
|
123
115
|
*/
|
|
124
|
-
|
|
116
|
+
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
125
117
|
/**
|
|
126
118
|
* Unique identifier of the resource
|
|
127
119
|
*/
|
|
@@ -139,10 +131,6 @@ export interface AwsProxyState {
|
|
|
139
131
|
* Region in which cloud resources are hosted
|
|
140
132
|
*/
|
|
141
133
|
region?: pulumi.Input<string>;
|
|
142
|
-
/**
|
|
143
|
-
* Route 53 hosted zone id
|
|
144
|
-
*/
|
|
145
|
-
route53HostedZoneId?: pulumi.Input<string>;
|
|
146
134
|
/**
|
|
147
135
|
* Security Group to define the security rules that determine the inbound and outbound traffic
|
|
148
136
|
*/
|
|
@@ -169,11 +157,10 @@ export interface AwsProxyArgs {
|
|
|
169
157
|
* Id of the cloud connector
|
|
170
158
|
*/
|
|
171
159
|
cloudConnectorId: pulumi.Input<string>;
|
|
172
|
-
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
173
160
|
/**
|
|
174
|
-
*
|
|
161
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in AWS account itself.
|
|
175
162
|
*/
|
|
176
|
-
|
|
163
|
+
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
177
164
|
keypair?: pulumi.Input<string>;
|
|
178
165
|
/**
|
|
179
166
|
* Machine instance type
|
|
@@ -187,10 +174,6 @@ export interface AwsProxyArgs {
|
|
|
187
174
|
* Region in which cloud resources are hosted
|
|
188
175
|
*/
|
|
189
176
|
region: pulumi.Input<string>;
|
|
190
|
-
/**
|
|
191
|
-
* Route 53 hosted zone id
|
|
192
|
-
*/
|
|
193
|
-
route53HostedZoneId?: pulumi.Input<string>;
|
|
194
177
|
/**
|
|
195
178
|
* Security Group to define the security rules that determine the inbound and outbound traffic
|
|
196
179
|
*/
|
package/autostopping/awsProxy.js
CHANGED
|
@@ -17,14 +17,12 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* const test = new harness.autostopping.AwsProxy("test", {
|
|
18
18
|
* name: "name",
|
|
19
19
|
* cloudConnectorId: "cloud_connector_id",
|
|
20
|
-
* hostName: "host_name",
|
|
21
20
|
* region: "region",
|
|
22
21
|
* vpc: "vpc",
|
|
23
22
|
* securityGroups: [
|
|
24
23
|
* "sg1",
|
|
25
24
|
* "sg2",
|
|
26
25
|
* ],
|
|
27
|
-
* route53HostedZoneId: "/hostedzone/zone_id",
|
|
28
26
|
* machineType: "t2.medium",
|
|
29
27
|
* apiKey: "",
|
|
30
28
|
* allocateStaticIp: true,
|
|
@@ -65,13 +63,11 @@ class AwsProxy extends pulumi.CustomResource {
|
|
|
65
63
|
resourceInputs["certificates"] = state?.certificates;
|
|
66
64
|
resourceInputs["cloudConnectorId"] = state?.cloudConnectorId;
|
|
67
65
|
resourceInputs["deleteCloudResourcesOnDestroy"] = state?.deleteCloudResourcesOnDestroy;
|
|
68
|
-
resourceInputs["hostName"] = state?.hostName;
|
|
69
66
|
resourceInputs["identifier"] = state?.identifier;
|
|
70
67
|
resourceInputs["keypair"] = state?.keypair;
|
|
71
68
|
resourceInputs["machineType"] = state?.machineType;
|
|
72
69
|
resourceInputs["name"] = state?.name;
|
|
73
70
|
resourceInputs["region"] = state?.region;
|
|
74
|
-
resourceInputs["route53HostedZoneId"] = state?.route53HostedZoneId;
|
|
75
71
|
resourceInputs["securityGroups"] = state?.securityGroups;
|
|
76
72
|
resourceInputs["vpc"] = state?.vpc;
|
|
77
73
|
}
|
|
@@ -86,9 +82,6 @@ class AwsProxy extends pulumi.CustomResource {
|
|
|
86
82
|
if (args?.deleteCloudResourcesOnDestroy === undefined && !opts.urn) {
|
|
87
83
|
throw new Error("Missing required property 'deleteCloudResourcesOnDestroy'");
|
|
88
84
|
}
|
|
89
|
-
if (args?.hostName === undefined && !opts.urn) {
|
|
90
|
-
throw new Error("Missing required property 'hostName'");
|
|
91
|
-
}
|
|
92
85
|
if (args?.machineType === undefined && !opts.urn) {
|
|
93
86
|
throw new Error("Missing required property 'machineType'");
|
|
94
87
|
}
|
|
@@ -103,12 +96,10 @@ class AwsProxy extends pulumi.CustomResource {
|
|
|
103
96
|
resourceInputs["certificates"] = args?.certificates;
|
|
104
97
|
resourceInputs["cloudConnectorId"] = args?.cloudConnectorId;
|
|
105
98
|
resourceInputs["deleteCloudResourcesOnDestroy"] = args?.deleteCloudResourcesOnDestroy;
|
|
106
|
-
resourceInputs["hostName"] = args?.hostName;
|
|
107
99
|
resourceInputs["keypair"] = args?.keypair;
|
|
108
100
|
resourceInputs["machineType"] = args?.machineType;
|
|
109
101
|
resourceInputs["name"] = args?.name;
|
|
110
102
|
resourceInputs["region"] = args?.region;
|
|
111
|
-
resourceInputs["route53HostedZoneId"] = args?.route53HostedZoneId;
|
|
112
103
|
resourceInputs["securityGroups"] = args?.securityGroups;
|
|
113
104
|
resourceInputs["vpc"] = args?.vpc;
|
|
114
105
|
resourceInputs["identifier"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"awsProxy.js","sourceRoot":"","sources":["../../autostopping/awsProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"awsProxy.js","sourceRoot":"","sources":["../../autostopping/awsProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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;IAqDD,Y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AC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AArIL,4BAsIC;AAxHG,gBAAgB;AACO,qBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -67,15 +67,14 @@ export declare class AzureGateway extends pulumi.CustomResource {
|
|
|
67
67
|
* Id of the cloud connector
|
|
68
68
|
*/
|
|
69
69
|
readonly cloudConnectorId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated Application Gateway will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact.
|
|
72
|
+
*/
|
|
70
73
|
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
71
74
|
/**
|
|
72
75
|
* ID of IP address to be used. Required only for creating new AppGateway. See https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-components#static-versus-dynamic-public-ip-address for more details
|
|
73
76
|
*/
|
|
74
77
|
readonly frontendIp: pulumi.Output<string | undefined>;
|
|
75
|
-
/**
|
|
76
|
-
* Hostname for the proxy
|
|
77
|
-
*/
|
|
78
|
-
readonly hostName: pulumi.Output<string>;
|
|
79
78
|
/**
|
|
80
79
|
* Unique identifier of the resource
|
|
81
80
|
*/
|
|
@@ -133,15 +132,14 @@ export interface AzureGatewayState {
|
|
|
133
132
|
* Id of the cloud connector
|
|
134
133
|
*/
|
|
135
134
|
cloudConnectorId?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated Application Gateway will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact.
|
|
137
|
+
*/
|
|
136
138
|
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
137
139
|
/**
|
|
138
140
|
* ID of IP address to be used. Required only for creating new AppGateway. See https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-components#static-versus-dynamic-public-ip-address for more details
|
|
139
141
|
*/
|
|
140
142
|
frontendIp?: pulumi.Input<string>;
|
|
141
|
-
/**
|
|
142
|
-
* Hostname for the proxy
|
|
143
|
-
*/
|
|
144
|
-
hostName?: pulumi.Input<string>;
|
|
145
143
|
/**
|
|
146
144
|
* Unique identifier of the resource
|
|
147
145
|
*/
|
|
@@ -191,15 +189,14 @@ export interface AzureGatewayArgs {
|
|
|
191
189
|
* Id of the cloud connector
|
|
192
190
|
*/
|
|
193
191
|
cloudConnectorId: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated Application Gateway will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact.
|
|
194
|
+
*/
|
|
194
195
|
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
195
196
|
/**
|
|
196
197
|
* ID of IP address to be used. Required only for creating new AppGateway. See https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-components#static-versus-dynamic-public-ip-address for more details
|
|
197
198
|
*/
|
|
198
199
|
frontendIp?: pulumi.Input<string>;
|
|
199
|
-
/**
|
|
200
|
-
* Hostname for the proxy
|
|
201
|
-
*/
|
|
202
|
-
hostName: pulumi.Input<string>;
|
|
203
200
|
/**
|
|
204
201
|
* Name of the proxy
|
|
205
202
|
*/
|
|
@@ -75,7 +75,6 @@ class AzureGateway extends pulumi.CustomResource {
|
|
|
75
75
|
resourceInputs["cloudConnectorId"] = state?.cloudConnectorId;
|
|
76
76
|
resourceInputs["deleteCloudResourcesOnDestroy"] = state?.deleteCloudResourcesOnDestroy;
|
|
77
77
|
resourceInputs["frontendIp"] = state?.frontendIp;
|
|
78
|
-
resourceInputs["hostName"] = state?.hostName;
|
|
79
78
|
resourceInputs["identifier"] = state?.identifier;
|
|
80
79
|
resourceInputs["name"] = state?.name;
|
|
81
80
|
resourceInputs["region"] = state?.region;
|
|
@@ -95,9 +94,6 @@ class AzureGateway extends pulumi.CustomResource {
|
|
|
95
94
|
if (args?.deleteCloudResourcesOnDestroy === undefined && !opts.urn) {
|
|
96
95
|
throw new Error("Missing required property 'deleteCloudResourcesOnDestroy'");
|
|
97
96
|
}
|
|
98
|
-
if (args?.hostName === undefined && !opts.urn) {
|
|
99
|
-
throw new Error("Missing required property 'hostName'");
|
|
100
|
-
}
|
|
101
97
|
if (args?.region === undefined && !opts.urn) {
|
|
102
98
|
throw new Error("Missing required property 'region'");
|
|
103
99
|
}
|
|
@@ -113,7 +109,6 @@ class AzureGateway extends pulumi.CustomResource {
|
|
|
113
109
|
resourceInputs["cloudConnectorId"] = args?.cloudConnectorId;
|
|
114
110
|
resourceInputs["deleteCloudResourcesOnDestroy"] = args?.deleteCloudResourcesOnDestroy;
|
|
115
111
|
resourceInputs["frontendIp"] = args?.frontendIp;
|
|
116
|
-
resourceInputs["hostName"] = args?.hostName;
|
|
117
112
|
resourceInputs["name"] = args?.name;
|
|
118
113
|
resourceInputs["region"] = args?.region;
|
|
119
114
|
resourceInputs["resourceGroup"] = args?.resourceGroup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureGateway.js","sourceRoot":"","sources":["../../autostopping/azureGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,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":"azureGateway.js","sourceRoot":"","sources":["../../autostopping/azureGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,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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AQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA/IL,oCAgJC;AAlIG,gBAAgB;AACO,yBAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -13,7 +13,6 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* const test = new harness.autostopping.AzureProxy("test", {
|
|
14
14
|
* name: "name",
|
|
15
15
|
* cloudConnectorId: "cloud_connector_id",
|
|
16
|
-
* hostName: "host_name",
|
|
17
16
|
* region: "eastus2",
|
|
18
17
|
* resourceGroup: "resource_group",
|
|
19
18
|
* vpc: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network",
|
|
@@ -57,11 +56,10 @@ export declare class AzureProxy extends pulumi.CustomResource {
|
|
|
57
56
|
* Id of the cloud connector
|
|
58
57
|
*/
|
|
59
58
|
readonly cloudConnectorId: pulumi.Output<string>;
|
|
60
|
-
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
61
59
|
/**
|
|
62
|
-
*
|
|
60
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
|
|
63
61
|
*/
|
|
64
|
-
readonly
|
|
62
|
+
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
65
63
|
/**
|
|
66
64
|
* Unique identifier of the resource
|
|
67
65
|
*/
|
|
@@ -125,11 +123,10 @@ export interface AzureProxyState {
|
|
|
125
123
|
* Id of the cloud connector
|
|
126
124
|
*/
|
|
127
125
|
cloudConnectorId?: pulumi.Input<string>;
|
|
128
|
-
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
129
126
|
/**
|
|
130
|
-
*
|
|
127
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
|
|
131
128
|
*/
|
|
132
|
-
|
|
129
|
+
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
133
130
|
/**
|
|
134
131
|
* Unique identifier of the resource
|
|
135
132
|
*/
|
|
@@ -185,11 +182,10 @@ export interface AzureProxyArgs {
|
|
|
185
182
|
* Id of the cloud connector
|
|
186
183
|
*/
|
|
187
184
|
cloudConnectorId: pulumi.Input<string>;
|
|
188
|
-
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
189
185
|
/**
|
|
190
|
-
*
|
|
186
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
|
|
191
187
|
*/
|
|
192
|
-
|
|
188
|
+
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
193
189
|
/**
|
|
194
190
|
* Name of SSH Key to be used for proxy VM
|
|
195
191
|
*/
|
|
@@ -17,7 +17,6 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* const test = new harness.autostopping.AzureProxy("test", {
|
|
18
18
|
* name: "name",
|
|
19
19
|
* cloudConnectorId: "cloud_connector_id",
|
|
20
|
-
* hostName: "host_name",
|
|
21
20
|
* region: "eastus2",
|
|
22
21
|
* resourceGroup: "resource_group",
|
|
23
22
|
* vpc: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network",
|
|
@@ -65,7 +64,6 @@ class AzureProxy extends pulumi.CustomResource {
|
|
|
65
64
|
resourceInputs["certificates"] = state?.certificates;
|
|
66
65
|
resourceInputs["cloudConnectorId"] = state?.cloudConnectorId;
|
|
67
66
|
resourceInputs["deleteCloudResourcesOnDestroy"] = state?.deleteCloudResourcesOnDestroy;
|
|
68
|
-
resourceInputs["hostName"] = state?.hostName;
|
|
69
67
|
resourceInputs["identifier"] = state?.identifier;
|
|
70
68
|
resourceInputs["keypair"] = state?.keypair;
|
|
71
69
|
resourceInputs["machineType"] = state?.machineType;
|
|
@@ -87,9 +85,6 @@ class AzureProxy extends pulumi.CustomResource {
|
|
|
87
85
|
if (args?.deleteCloudResourcesOnDestroy === undefined && !opts.urn) {
|
|
88
86
|
throw new Error("Missing required property 'deleteCloudResourcesOnDestroy'");
|
|
89
87
|
}
|
|
90
|
-
if (args?.hostName === undefined && !opts.urn) {
|
|
91
|
-
throw new Error("Missing required property 'hostName'");
|
|
92
|
-
}
|
|
93
88
|
if (args?.keypair === undefined && !opts.urn) {
|
|
94
89
|
throw new Error("Missing required property 'keypair'");
|
|
95
90
|
}
|
|
@@ -114,7 +109,6 @@ class AzureProxy extends pulumi.CustomResource {
|
|
|
114
109
|
resourceInputs["certificates"] = args?.certificates;
|
|
115
110
|
resourceInputs["cloudConnectorId"] = args?.cloudConnectorId;
|
|
116
111
|
resourceInputs["deleteCloudResourcesOnDestroy"] = args?.deleteCloudResourcesOnDestroy;
|
|
117
|
-
resourceInputs["hostName"] = args?.hostName;
|
|
118
112
|
resourceInputs["keypair"] = args?.keypair;
|
|
119
113
|
resourceInputs["machineType"] = args?.machineType;
|
|
120
114
|
resourceInputs["name"] = args?.name;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureProxy.js","sourceRoot":"","sources":["../../autostopping/azureProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"azureProxy.js","sourceRoot":"","sources":["../../autostopping/azureProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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;;;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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAiED,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MA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I,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,+BAA+B,CAAC,GAAG,IAAI,EAAE,6BAA6B,CAAC;YACtF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,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;;AAhKL,gCAiKC;AAnJG,gBAAgB;AACO,uBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -13,7 +13,6 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* const test = new harness.autostopping.GcpProxy("test", {
|
|
14
14
|
* name: "name",
|
|
15
15
|
* cloudConnectorId: "cloud_connector_id",
|
|
16
|
-
* hostName: "host_name",
|
|
17
16
|
* region: "region",
|
|
18
17
|
* vpc: "https://www.googleapis.com/compute/v1/projects/project_id/global/networks/netwok_id",
|
|
19
18
|
* zone: "zone",
|
|
@@ -59,11 +58,10 @@ export declare class GcpProxy extends pulumi.CustomResource {
|
|
|
59
58
|
* Id of the cloud connector
|
|
60
59
|
*/
|
|
61
60
|
readonly cloudConnectorId: pulumi.Output<string>;
|
|
62
|
-
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
63
61
|
/**
|
|
64
|
-
*
|
|
62
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from GCP account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in GCP account itself.
|
|
65
63
|
*/
|
|
66
|
-
readonly
|
|
64
|
+
readonly deleteCloudResourcesOnDestroy: pulumi.Output<boolean>;
|
|
67
65
|
/**
|
|
68
66
|
* Unique identifier of the resource
|
|
69
67
|
*/
|
|
@@ -122,11 +120,10 @@ export interface GcpProxyState {
|
|
|
122
120
|
* Id of the cloud connector
|
|
123
121
|
*/
|
|
124
122
|
cloudConnectorId?: pulumi.Input<string>;
|
|
125
|
-
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
126
123
|
/**
|
|
127
|
-
*
|
|
124
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from GCP account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in GCP account itself.
|
|
128
125
|
*/
|
|
129
|
-
|
|
126
|
+
deleteCloudResourcesOnDestroy?: pulumi.Input<boolean>;
|
|
130
127
|
/**
|
|
131
128
|
* Unique identifier of the resource
|
|
132
129
|
*/
|
|
@@ -177,11 +174,10 @@ export interface GcpProxyArgs {
|
|
|
177
174
|
* Id of the cloud connector
|
|
178
175
|
*/
|
|
179
176
|
cloudConnectorId: pulumi.Input<string>;
|
|
180
|
-
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
181
177
|
/**
|
|
182
|
-
*
|
|
178
|
+
* Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from GCP account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in GCP account itself.
|
|
183
179
|
*/
|
|
184
|
-
|
|
180
|
+
deleteCloudResourcesOnDestroy: pulumi.Input<boolean>;
|
|
185
181
|
/**
|
|
186
182
|
* Machine instance type
|
|
187
183
|
*/
|
package/autostopping/gcpProxy.js
CHANGED
|
@@ -17,7 +17,6 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* const test = new harness.autostopping.GcpProxy("test", {
|
|
18
18
|
* name: "name",
|
|
19
19
|
* cloudConnectorId: "cloud_connector_id",
|
|
20
|
-
* hostName: "host_name",
|
|
21
20
|
* region: "region",
|
|
22
21
|
* vpc: "https://www.googleapis.com/compute/v1/projects/project_id/global/networks/netwok_id",
|
|
23
22
|
* zone: "zone",
|
|
@@ -67,7 +66,6 @@ class GcpProxy extends pulumi.CustomResource {
|
|
|
67
66
|
resourceInputs["certificates"] = state?.certificates;
|
|
68
67
|
resourceInputs["cloudConnectorId"] = state?.cloudConnectorId;
|
|
69
68
|
resourceInputs["deleteCloudResourcesOnDestroy"] = state?.deleteCloudResourcesOnDestroy;
|
|
70
|
-
resourceInputs["hostName"] = state?.hostName;
|
|
71
69
|
resourceInputs["identifier"] = state?.identifier;
|
|
72
70
|
resourceInputs["machineType"] = state?.machineType;
|
|
73
71
|
resourceInputs["name"] = state?.name;
|
|
@@ -88,9 +86,6 @@ class GcpProxy extends pulumi.CustomResource {
|
|
|
88
86
|
if (args?.deleteCloudResourcesOnDestroy === undefined && !opts.urn) {
|
|
89
87
|
throw new Error("Missing required property 'deleteCloudResourcesOnDestroy'");
|
|
90
88
|
}
|
|
91
|
-
if (args?.hostName === undefined && !opts.urn) {
|
|
92
|
-
throw new Error("Missing required property 'hostName'");
|
|
93
|
-
}
|
|
94
89
|
if (args?.machineType === undefined && !opts.urn) {
|
|
95
90
|
throw new Error("Missing required property 'machineType'");
|
|
96
91
|
}
|
|
@@ -111,7 +106,6 @@ class GcpProxy extends pulumi.CustomResource {
|
|
|
111
106
|
resourceInputs["certificates"] = args?.certificates;
|
|
112
107
|
resourceInputs["cloudConnectorId"] = args?.cloudConnectorId;
|
|
113
108
|
resourceInputs["deleteCloudResourcesOnDestroy"] = args?.deleteCloudResourcesOnDestroy;
|
|
114
|
-
resourceInputs["hostName"] = args?.hostName;
|
|
115
109
|
resourceInputs["machineType"] = args?.machineType;
|
|
116
110
|
resourceInputs["name"] = args?.name;
|
|
117
111
|
resourceInputs["region"] = args?.region;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gcpProxy.js","sourceRoot":"","sources":["../../autostopping/gcpProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"gcpProxy.js","sourceRoot":"","sources":["../../autostopping/gcpProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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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