@pulumi/gcp 6.1.0 → 6.2.0-alpha.1637513079
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/cloudrun/service.d.ts +0 -14
- package/cloudrun/service.js +0 -14
- package/cloudrun/service.js.map +1 -1
- package/compute/globalForwardingRule.d.ts +28 -18
- package/compute/globalForwardingRule.js +28 -18
- package/compute/globalForwardingRule.js.map +1 -1
- package/compute/routerPeer.d.ts +36 -0
- package/compute/routerPeer.js +23 -0
- package/compute/routerPeer.js.map +1 -1
- package/compute/snapshot.d.ts +1 -1
- package/compute/snapshot.js +1 -1
- package/container/cluster.d.ts +9 -9
- package/dataflow/job.d.ts +9 -3
- package/dataflow/job.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/pubsub/getTopic.d.ts +1 -0
- package/pubsub/getTopic.js.map +1 -1
- package/pubsub/topic.d.ts +31 -0
- package/pubsub/topic.js +3 -0
- package/pubsub/topic.js.map +1 -1
- package/storage/hmacKey.d.ts +2 -0
- package/storage/hmacKey.js +2 -0
- package/storage/hmacKey.js.map +1 -1
- package/types/input.d.ts +69 -0
- package/types/output.d.ts +77 -0
- package/vpcaccess/connector.d.ts +69 -0
- package/vpcaccess/connector.js +69 -0
- package/vpcaccess/connector.js.map +1 -1
package/cloudrun/service.d.ts
CHANGED
|
@@ -189,21 +189,16 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
189
189
|
* replication: {
|
|
190
190
|
* automatic: true,
|
|
191
191
|
* },
|
|
192
|
-
* }, {
|
|
193
|
-
* provider: google_beta,
|
|
194
192
|
* });
|
|
195
193
|
* const secret_version_data = new gcp.secretmanager.SecretVersion("secret-version-data", {
|
|
196
194
|
* secret: secret.name,
|
|
197
195
|
* secretData: "secret-data",
|
|
198
|
-
* }, {
|
|
199
|
-
* provider: google_beta,
|
|
200
196
|
* });
|
|
201
197
|
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
202
198
|
* secretId: secret.id,
|
|
203
199
|
* role: "roles/secretmanager.secretAccessor",
|
|
204
200
|
* member: project.then(project => `serviceAccount:${project.number}-compute@developer.gserviceaccount.com`),
|
|
205
201
|
* }, {
|
|
206
|
-
* provider: google_beta,
|
|
207
202
|
* dependsOn: [secret],
|
|
208
203
|
* });
|
|
209
204
|
* const _default = new gcp.cloudrun.Service("default", {
|
|
@@ -227,7 +222,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
227
222
|
* metadata: {
|
|
228
223
|
* annotations: {
|
|
229
224
|
* "generated-by": "magic-modules",
|
|
230
|
-
* "run.googleapis.com/launch-stage": "BETA",
|
|
231
225
|
* },
|
|
232
226
|
* },
|
|
233
227
|
* traffics: [{
|
|
@@ -236,7 +230,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
236
230
|
* }],
|
|
237
231
|
* autogenerateRevisionName: true,
|
|
238
232
|
* }, {
|
|
239
|
-
* provider: google_beta,
|
|
240
233
|
* dependsOn: [secret_version_data],
|
|
241
234
|
* });
|
|
242
235
|
* ```
|
|
@@ -252,21 +245,16 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
252
245
|
* replication: {
|
|
253
246
|
* automatic: true,
|
|
254
247
|
* },
|
|
255
|
-
* }, {
|
|
256
|
-
* provider: google_beta,
|
|
257
248
|
* });
|
|
258
249
|
* const secret_version_data = new gcp.secretmanager.SecretVersion("secret-version-data", {
|
|
259
250
|
* secret: secret.name,
|
|
260
251
|
* secretData: "secret-data",
|
|
261
|
-
* }, {
|
|
262
|
-
* provider: google_beta,
|
|
263
252
|
* });
|
|
264
253
|
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
265
254
|
* secretId: secret.id,
|
|
266
255
|
* role: "roles/secretmanager.secretAccessor",
|
|
267
256
|
* member: project.then(project => `serviceAccount:${project.number}-compute@developer.gserviceaccount.com`),
|
|
268
257
|
* }, {
|
|
269
|
-
* provider: google_beta,
|
|
270
258
|
* dependsOn: [secret],
|
|
271
259
|
* });
|
|
272
260
|
* const _default = new gcp.cloudrun.Service("default", {
|
|
@@ -295,7 +283,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
295
283
|
* metadata: {
|
|
296
284
|
* annotations: {
|
|
297
285
|
* "generated-by": "magic-modules",
|
|
298
|
-
* "run.googleapis.com/launch-stage": "BETA",
|
|
299
286
|
* },
|
|
300
287
|
* },
|
|
301
288
|
* traffics: [{
|
|
@@ -304,7 +291,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
304
291
|
* }],
|
|
305
292
|
* autogenerateRevisionName: true,
|
|
306
293
|
* }, {
|
|
307
|
-
* provider: google_beta,
|
|
308
294
|
* dependsOn: [secret_version_data],
|
|
309
295
|
* });
|
|
310
296
|
* ```
|
package/cloudrun/service.js
CHANGED
|
@@ -194,21 +194,16 @@ const utilities = require("../utilities");
|
|
|
194
194
|
* replication: {
|
|
195
195
|
* automatic: true,
|
|
196
196
|
* },
|
|
197
|
-
* }, {
|
|
198
|
-
* provider: google_beta,
|
|
199
197
|
* });
|
|
200
198
|
* const secret_version_data = new gcp.secretmanager.SecretVersion("secret-version-data", {
|
|
201
199
|
* secret: secret.name,
|
|
202
200
|
* secretData: "secret-data",
|
|
203
|
-
* }, {
|
|
204
|
-
* provider: google_beta,
|
|
205
201
|
* });
|
|
206
202
|
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
207
203
|
* secretId: secret.id,
|
|
208
204
|
* role: "roles/secretmanager.secretAccessor",
|
|
209
205
|
* member: project.then(project => `serviceAccount:${project.number}-compute@developer.gserviceaccount.com`),
|
|
210
206
|
* }, {
|
|
211
|
-
* provider: google_beta,
|
|
212
207
|
* dependsOn: [secret],
|
|
213
208
|
* });
|
|
214
209
|
* const _default = new gcp.cloudrun.Service("default", {
|
|
@@ -232,7 +227,6 @@ const utilities = require("../utilities");
|
|
|
232
227
|
* metadata: {
|
|
233
228
|
* annotations: {
|
|
234
229
|
* "generated-by": "magic-modules",
|
|
235
|
-
* "run.googleapis.com/launch-stage": "BETA",
|
|
236
230
|
* },
|
|
237
231
|
* },
|
|
238
232
|
* traffics: [{
|
|
@@ -241,7 +235,6 @@ const utilities = require("../utilities");
|
|
|
241
235
|
* }],
|
|
242
236
|
* autogenerateRevisionName: true,
|
|
243
237
|
* }, {
|
|
244
|
-
* provider: google_beta,
|
|
245
238
|
* dependsOn: [secret_version_data],
|
|
246
239
|
* });
|
|
247
240
|
* ```
|
|
@@ -257,21 +250,16 @@ const utilities = require("../utilities");
|
|
|
257
250
|
* replication: {
|
|
258
251
|
* automatic: true,
|
|
259
252
|
* },
|
|
260
|
-
* }, {
|
|
261
|
-
* provider: google_beta,
|
|
262
253
|
* });
|
|
263
254
|
* const secret_version_data = new gcp.secretmanager.SecretVersion("secret-version-data", {
|
|
264
255
|
* secret: secret.name,
|
|
265
256
|
* secretData: "secret-data",
|
|
266
|
-
* }, {
|
|
267
|
-
* provider: google_beta,
|
|
268
257
|
* });
|
|
269
258
|
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
270
259
|
* secretId: secret.id,
|
|
271
260
|
* role: "roles/secretmanager.secretAccessor",
|
|
272
261
|
* member: project.then(project => `serviceAccount:${project.number}-compute@developer.gserviceaccount.com`),
|
|
273
262
|
* }, {
|
|
274
|
-
* provider: google_beta,
|
|
275
263
|
* dependsOn: [secret],
|
|
276
264
|
* });
|
|
277
265
|
* const _default = new gcp.cloudrun.Service("default", {
|
|
@@ -300,7 +288,6 @@ const utilities = require("../utilities");
|
|
|
300
288
|
* metadata: {
|
|
301
289
|
* annotations: {
|
|
302
290
|
* "generated-by": "magic-modules",
|
|
303
|
-
* "run.googleapis.com/launch-stage": "BETA",
|
|
304
291
|
* },
|
|
305
292
|
* },
|
|
306
293
|
* traffics: [{
|
|
@@ -309,7 +296,6 @@ const utilities = require("../utilities");
|
|
|
309
296
|
* }],
|
|
310
297
|
* autogenerateRevisionName: true,
|
|
311
298
|
* }, {
|
|
312
|
-
* provider: google_beta,
|
|
313
299
|
* dependsOn: [secret_version_data],
|
|
314
300
|
* });
|
|
315
301
|
* ```
|
package/cloudrun/service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../cloudrun/service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../cloudrun/service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsTG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAuF9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,MAAM,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,C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AAC"}
|
|
@@ -19,7 +19,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
19
19
|
* // External TCP proxy load balancer with managed instance group backend
|
|
20
20
|
* // VPC
|
|
21
21
|
* const defaultNetwork = new gcp.compute.Network("defaultNetwork", {autoCreateSubnetworks: false}, {
|
|
22
|
-
* provider:
|
|
22
|
+
* provider: google_beta,
|
|
23
23
|
* });
|
|
24
24
|
* // backend subnet
|
|
25
25
|
* const defaultSubnetwork = new gcp.compute.Subnetwork("defaultSubnetwork", {
|
|
@@ -27,16 +27,20 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
27
27
|
* region: "us-central1",
|
|
28
28
|
* network: defaultNetwork.id,
|
|
29
29
|
* }, {
|
|
30
|
-
* provider:
|
|
30
|
+
* provider: google_beta,
|
|
31
31
|
* });
|
|
32
32
|
* // reserved IP address
|
|
33
|
-
* const defaultGlobalAddress = new gcp.compute.GlobalAddress("defaultGlobalAddress", {}
|
|
33
|
+
* const defaultGlobalAddress = new gcp.compute.GlobalAddress("defaultGlobalAddress", {}, {
|
|
34
|
+
* provider: google_beta,
|
|
35
|
+
* });
|
|
34
36
|
* const defaultHealthCheck = new gcp.compute.HealthCheck("defaultHealthCheck", {
|
|
35
37
|
* timeoutSec: 1,
|
|
36
38
|
* checkIntervalSec: 1,
|
|
37
39
|
* tcpHealthCheck: {
|
|
38
40
|
* port: "80",
|
|
39
41
|
* },
|
|
42
|
+
* }, {
|
|
43
|
+
* provider: google_beta,
|
|
40
44
|
* });
|
|
41
45
|
* // instance template
|
|
42
46
|
* const defaultInstanceTemplate = new gcp.compute.InstanceTemplate("defaultInstanceTemplate", {
|
|
@@ -71,7 +75,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
71
75
|
* `,
|
|
72
76
|
* },
|
|
73
77
|
* }, {
|
|
74
|
-
* provider:
|
|
78
|
+
* provider: google_beta,
|
|
75
79
|
* });
|
|
76
80
|
* // MIG
|
|
77
81
|
* const defaultInstanceGroupManager = new gcp.compute.InstanceGroupManager("defaultInstanceGroupManager", {
|
|
@@ -87,7 +91,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
87
91
|
* baseInstanceName: "vm",
|
|
88
92
|
* targetSize: 2,
|
|
89
93
|
* }, {
|
|
90
|
-
* provider:
|
|
94
|
+
* provider: google_beta,
|
|
91
95
|
* });
|
|
92
96
|
* // backend service
|
|
93
97
|
* const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
|
|
@@ -102,8 +106,12 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
102
106
|
* maxUtilization: 1,
|
|
103
107
|
* capacityScaler: 1,
|
|
104
108
|
* }],
|
|
109
|
+
* }, {
|
|
110
|
+
* provider: google_beta,
|
|
111
|
+
* });
|
|
112
|
+
* const defaultTargetTCPProxy = new gcp.compute.TargetTCPProxy("defaultTargetTCPProxy", {backendService: defaultBackendService.id}, {
|
|
113
|
+
* provider: google_beta,
|
|
105
114
|
* });
|
|
106
|
-
* const defaultTargetTCPProxy = new gcp.compute.TargetTCPProxy("defaultTargetTCPProxy", {backendService: defaultBackendService.id});
|
|
107
115
|
* // forwarding rule
|
|
108
116
|
* const defaultGlobalForwardingRule = new gcp.compute.GlobalForwardingRule("defaultGlobalForwardingRule", {
|
|
109
117
|
* ipProtocol: "TCP",
|
|
@@ -112,7 +120,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
112
120
|
* target: defaultTargetTCPProxy.id,
|
|
113
121
|
* ipAddress: defaultGlobalAddress.id,
|
|
114
122
|
* }, {
|
|
115
|
-
* provider:
|
|
123
|
+
* provider: google_beta,
|
|
116
124
|
* });
|
|
117
125
|
* // allow access from health check ranges
|
|
118
126
|
* const defaultFirewall = new gcp.compute.Firewall("defaultFirewall", {
|
|
@@ -127,7 +135,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
127
135
|
* }],
|
|
128
136
|
* targetTags: ["allow-health-check"],
|
|
129
137
|
* }, {
|
|
130
|
-
* provider:
|
|
138
|
+
* provider: google_beta,
|
|
131
139
|
* });
|
|
132
140
|
* ```
|
|
133
141
|
* ### External Http Lb Mig Backend Custom Header
|
|
@@ -140,7 +148,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
140
148
|
* // and custom request and response headers
|
|
141
149
|
* // VPC
|
|
142
150
|
* const defaultNetwork = new gcp.compute.Network("defaultNetwork", {autoCreateSubnetworks: false}, {
|
|
143
|
-
* provider:
|
|
151
|
+
* provider: google_beta,
|
|
144
152
|
* });
|
|
145
153
|
* // backend subnet
|
|
146
154
|
* const defaultSubnetwork = new gcp.compute.Subnetwork("defaultSubnetwork", {
|
|
@@ -148,15 +156,17 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
148
156
|
* region: "us-central1",
|
|
149
157
|
* network: defaultNetwork.id,
|
|
150
158
|
* }, {
|
|
151
|
-
* provider:
|
|
159
|
+
* provider: google_beta,
|
|
152
160
|
* });
|
|
153
161
|
* // reserved IP address
|
|
154
|
-
* const defaultGlobalAddress = new gcp.compute.GlobalAddress("defaultGlobalAddress", {}
|
|
162
|
+
* const defaultGlobalAddress = new gcp.compute.GlobalAddress("defaultGlobalAddress", {}, {
|
|
163
|
+
* provider: google_beta,
|
|
164
|
+
* });
|
|
155
165
|
* // health check
|
|
156
166
|
* const defaultHealthCheck = new gcp.compute.HealthCheck("defaultHealthCheck", {httpHealthCheck: {
|
|
157
167
|
* portSpecification: "USE_SERVING_PORT",
|
|
158
168
|
* }}, {
|
|
159
|
-
* provider:
|
|
169
|
+
* provider: google_beta,
|
|
160
170
|
* });
|
|
161
171
|
* // instance template
|
|
162
172
|
* const defaultInstanceTemplate = new gcp.compute.InstanceTemplate("defaultInstanceTemplate", {
|
|
@@ -194,7 +204,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
194
204
|
* `,
|
|
195
205
|
* },
|
|
196
206
|
* }, {
|
|
197
|
-
* provider:
|
|
207
|
+
* provider: google_beta,
|
|
198
208
|
* });
|
|
199
209
|
* // MIG
|
|
200
210
|
* const defaultInstanceGroupManager = new gcp.compute.InstanceGroupManager("defaultInstanceGroupManager", {
|
|
@@ -210,7 +220,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
210
220
|
* baseInstanceName: "vm",
|
|
211
221
|
* targetSize: 2,
|
|
212
222
|
* }, {
|
|
213
|
-
* provider:
|
|
223
|
+
* provider: google_beta,
|
|
214
224
|
* });
|
|
215
225
|
* // backend service with custom request and response headers
|
|
216
226
|
* const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
|
|
@@ -232,11 +242,11 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
232
242
|
* });
|
|
233
243
|
* // url map
|
|
234
244
|
* const defaultURLMap = new gcp.compute.URLMap("defaultURLMap", {defaultService: defaultBackendService.id}, {
|
|
235
|
-
* provider:
|
|
245
|
+
* provider: google_beta,
|
|
236
246
|
* });
|
|
237
247
|
* // http proxy
|
|
238
248
|
* const defaultTargetHttpProxy = new gcp.compute.TargetHttpProxy("defaultTargetHttpProxy", {urlMap: defaultURLMap.id}, {
|
|
239
|
-
* provider:
|
|
249
|
+
* provider: google_beta,
|
|
240
250
|
* });
|
|
241
251
|
* // forwarding rule
|
|
242
252
|
* const defaultGlobalForwardingRule = new gcp.compute.GlobalForwardingRule("defaultGlobalForwardingRule", {
|
|
@@ -246,7 +256,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
246
256
|
* target: defaultTargetHttpProxy.id,
|
|
247
257
|
* ipAddress: defaultGlobalAddress.id,
|
|
248
258
|
* }, {
|
|
249
|
-
* provider:
|
|
259
|
+
* provider: google_beta,
|
|
250
260
|
* });
|
|
251
261
|
* // allow access from health check ranges
|
|
252
262
|
* const defaultFirewall = new gcp.compute.Firewall("defaultFirewall", {
|
|
@@ -261,7 +271,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
261
271
|
* }],
|
|
262
272
|
* targetTags: ["allow-health-check"],
|
|
263
273
|
* }, {
|
|
264
|
-
* provider:
|
|
274
|
+
* provider: google_beta,
|
|
265
275
|
* });
|
|
266
276
|
* ```
|
|
267
277
|
* ### Global Forwarding Rule Http
|
|
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* // External TCP proxy load balancer with managed instance group backend
|
|
25
25
|
* // VPC
|
|
26
26
|
* const defaultNetwork = new gcp.compute.Network("defaultNetwork", {autoCreateSubnetworks: false}, {
|
|
27
|
-
* provider:
|
|
27
|
+
* provider: google_beta,
|
|
28
28
|
* });
|
|
29
29
|
* // backend subnet
|
|
30
30
|
* const defaultSubnetwork = new gcp.compute.Subnetwork("defaultSubnetwork", {
|
|
@@ -32,16 +32,20 @@ const utilities = require("../utilities");
|
|
|
32
32
|
* region: "us-central1",
|
|
33
33
|
* network: defaultNetwork.id,
|
|
34
34
|
* }, {
|
|
35
|
-
* provider:
|
|
35
|
+
* provider: google_beta,
|
|
36
36
|
* });
|
|
37
37
|
* // reserved IP address
|
|
38
|
-
* const defaultGlobalAddress = new gcp.compute.GlobalAddress("defaultGlobalAddress", {}
|
|
38
|
+
* const defaultGlobalAddress = new gcp.compute.GlobalAddress("defaultGlobalAddress", {}, {
|
|
39
|
+
* provider: google_beta,
|
|
40
|
+
* });
|
|
39
41
|
* const defaultHealthCheck = new gcp.compute.HealthCheck("defaultHealthCheck", {
|
|
40
42
|
* timeoutSec: 1,
|
|
41
43
|
* checkIntervalSec: 1,
|
|
42
44
|
* tcpHealthCheck: {
|
|
43
45
|
* port: "80",
|
|
44
46
|
* },
|
|
47
|
+
* }, {
|
|
48
|
+
* provider: google_beta,
|
|
45
49
|
* });
|
|
46
50
|
* // instance template
|
|
47
51
|
* const defaultInstanceTemplate = new gcp.compute.InstanceTemplate("defaultInstanceTemplate", {
|
|
@@ -76,7 +80,7 @@ const utilities = require("../utilities");
|
|
|
76
80
|
* `,
|
|
77
81
|
* },
|
|
78
82
|
* }, {
|
|
79
|
-
* provider:
|
|
83
|
+
* provider: google_beta,
|
|
80
84
|
* });
|
|
81
85
|
* // MIG
|
|
82
86
|
* const defaultInstanceGroupManager = new gcp.compute.InstanceGroupManager("defaultInstanceGroupManager", {
|
|
@@ -92,7 +96,7 @@ const utilities = require("../utilities");
|
|
|
92
96
|
* baseInstanceName: "vm",
|
|
93
97
|
* targetSize: 2,
|
|
94
98
|
* }, {
|
|
95
|
-
* provider:
|
|
99
|
+
* provider: google_beta,
|
|
96
100
|
* });
|
|
97
101
|
* // backend service
|
|
98
102
|
* const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
|
|
@@ -107,8 +111,12 @@ const utilities = require("../utilities");
|
|
|
107
111
|
* maxUtilization: 1,
|
|
108
112
|
* capacityScaler: 1,
|
|
109
113
|
* }],
|
|
114
|
+
* }, {
|
|
115
|
+
* provider: google_beta,
|
|
116
|
+
* });
|
|
117
|
+
* const defaultTargetTCPProxy = new gcp.compute.TargetTCPProxy("defaultTargetTCPProxy", {backendService: defaultBackendService.id}, {
|
|
118
|
+
* provider: google_beta,
|
|
110
119
|
* });
|
|
111
|
-
* const defaultTargetTCPProxy = new gcp.compute.TargetTCPProxy("defaultTargetTCPProxy", {backendService: defaultBackendService.id});
|
|
112
120
|
* // forwarding rule
|
|
113
121
|
* const defaultGlobalForwardingRule = new gcp.compute.GlobalForwardingRule("defaultGlobalForwardingRule", {
|
|
114
122
|
* ipProtocol: "TCP",
|
|
@@ -117,7 +125,7 @@ const utilities = require("../utilities");
|
|
|
117
125
|
* target: defaultTargetTCPProxy.id,
|
|
118
126
|
* ipAddress: defaultGlobalAddress.id,
|
|
119
127
|
* }, {
|
|
120
|
-
* provider:
|
|
128
|
+
* provider: google_beta,
|
|
121
129
|
* });
|
|
122
130
|
* // allow access from health check ranges
|
|
123
131
|
* const defaultFirewall = new gcp.compute.Firewall("defaultFirewall", {
|
|
@@ -132,7 +140,7 @@ const utilities = require("../utilities");
|
|
|
132
140
|
* }],
|
|
133
141
|
* targetTags: ["allow-health-check"],
|
|
134
142
|
* }, {
|
|
135
|
-
* provider:
|
|
143
|
+
* provider: google_beta,
|
|
136
144
|
* });
|
|
137
145
|
* ```
|
|
138
146
|
* ### External Http Lb Mig Backend Custom Header
|
|
@@ -145,7 +153,7 @@ const utilities = require("../utilities");
|
|
|
145
153
|
* // and custom request and response headers
|
|
146
154
|
* // VPC
|
|
147
155
|
* const defaultNetwork = new gcp.compute.Network("defaultNetwork", {autoCreateSubnetworks: false}, {
|
|
148
|
-
* provider:
|
|
156
|
+
* provider: google_beta,
|
|
149
157
|
* });
|
|
150
158
|
* // backend subnet
|
|
151
159
|
* const defaultSubnetwork = new gcp.compute.Subnetwork("defaultSubnetwork", {
|
|
@@ -153,15 +161,17 @@ const utilities = require("../utilities");
|
|
|
153
161
|
* region: "us-central1",
|
|
154
162
|
* network: defaultNetwork.id,
|
|
155
163
|
* }, {
|
|
156
|
-
* provider:
|
|
164
|
+
* provider: google_beta,
|
|
157
165
|
* });
|
|
158
166
|
* // reserved IP address
|
|
159
|
-
* const defaultGlobalAddress = new gcp.compute.GlobalAddress("defaultGlobalAddress", {}
|
|
167
|
+
* const defaultGlobalAddress = new gcp.compute.GlobalAddress("defaultGlobalAddress", {}, {
|
|
168
|
+
* provider: google_beta,
|
|
169
|
+
* });
|
|
160
170
|
* // health check
|
|
161
171
|
* const defaultHealthCheck = new gcp.compute.HealthCheck("defaultHealthCheck", {httpHealthCheck: {
|
|
162
172
|
* portSpecification: "USE_SERVING_PORT",
|
|
163
173
|
* }}, {
|
|
164
|
-
* provider:
|
|
174
|
+
* provider: google_beta,
|
|
165
175
|
* });
|
|
166
176
|
* // instance template
|
|
167
177
|
* const defaultInstanceTemplate = new gcp.compute.InstanceTemplate("defaultInstanceTemplate", {
|
|
@@ -199,7 +209,7 @@ const utilities = require("../utilities");
|
|
|
199
209
|
* `,
|
|
200
210
|
* },
|
|
201
211
|
* }, {
|
|
202
|
-
* provider:
|
|
212
|
+
* provider: google_beta,
|
|
203
213
|
* });
|
|
204
214
|
* // MIG
|
|
205
215
|
* const defaultInstanceGroupManager = new gcp.compute.InstanceGroupManager("defaultInstanceGroupManager", {
|
|
@@ -215,7 +225,7 @@ const utilities = require("../utilities");
|
|
|
215
225
|
* baseInstanceName: "vm",
|
|
216
226
|
* targetSize: 2,
|
|
217
227
|
* }, {
|
|
218
|
-
* provider:
|
|
228
|
+
* provider: google_beta,
|
|
219
229
|
* });
|
|
220
230
|
* // backend service with custom request and response headers
|
|
221
231
|
* const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
|
|
@@ -237,11 +247,11 @@ const utilities = require("../utilities");
|
|
|
237
247
|
* });
|
|
238
248
|
* // url map
|
|
239
249
|
* const defaultURLMap = new gcp.compute.URLMap("defaultURLMap", {defaultService: defaultBackendService.id}, {
|
|
240
|
-
* provider:
|
|
250
|
+
* provider: google_beta,
|
|
241
251
|
* });
|
|
242
252
|
* // http proxy
|
|
243
253
|
* const defaultTargetHttpProxy = new gcp.compute.TargetHttpProxy("defaultTargetHttpProxy", {urlMap: defaultURLMap.id}, {
|
|
244
|
-
* provider:
|
|
254
|
+
* provider: google_beta,
|
|
245
255
|
* });
|
|
246
256
|
* // forwarding rule
|
|
247
257
|
* const defaultGlobalForwardingRule = new gcp.compute.GlobalForwardingRule("defaultGlobalForwardingRule", {
|
|
@@ -251,7 +261,7 @@ const utilities = require("../utilities");
|
|
|
251
261
|
* target: defaultTargetHttpProxy.id,
|
|
252
262
|
* ipAddress: defaultGlobalAddress.id,
|
|
253
263
|
* }, {
|
|
254
|
-
* provider:
|
|
264
|
+
* provider: google_beta,
|
|
255
265
|
* });
|
|
256
266
|
* // allow access from health check ranges
|
|
257
267
|
* const defaultFirewall = new gcp.compute.Firewall("defaultFirewall", {
|
|
@@ -266,7 +276,7 @@ const utilities = require("../utilities");
|
|
|
266
276
|
* }],
|
|
267
277
|
* targetTags: ["allow-health-check"],
|
|
268
278
|
* }, {
|
|
269
|
-
* provider:
|
|
279
|
+
* provider: google_beta,
|
|
270
280
|
* });
|
|
271
281
|
* ```
|
|
272
282
|
* ### Global Forwarding Rule Http
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalForwardingRule.js","sourceRoot":"","sources":["../../compute/globalForwardingRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"globalForwardingRule.js","sourceRoot":"","sources":["../../compute/globalForwardingRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsdG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IA+J3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC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nC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDA2MC;AA7LG,gBAAgB;AACO,iCAAY,GAAG,uDAAuD,CAAC"}
|
package/compute/routerPeer.d.ts
CHANGED
|
@@ -44,6 +44,27 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
44
44
|
* router: "my-router",
|
|
45
45
|
* });
|
|
46
46
|
* ```
|
|
47
|
+
* ### Router Peer Bfd
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as gcp from "@pulumi/gcp";
|
|
52
|
+
*
|
|
53
|
+
* const peer = new gcp.compute.RouterPeer("peer", {
|
|
54
|
+
* advertisedRoutePriority: 100,
|
|
55
|
+
* bfd: {
|
|
56
|
+
* minReceiveInterval: 1000,
|
|
57
|
+
* minTransmitInterval: 1000,
|
|
58
|
+
* multiplier: 5,
|
|
59
|
+
* sessionInitializationMode: "ACTIVE",
|
|
60
|
+
* },
|
|
61
|
+
* interface: "interface-1",
|
|
62
|
+
* peerAsn: 65513,
|
|
63
|
+
* peerIpAddress: "169.254.1.2",
|
|
64
|
+
* region: "us-central1",
|
|
65
|
+
* router: "my-router",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
47
68
|
*
|
|
48
69
|
* ## Import
|
|
49
70
|
*
|
|
@@ -111,6 +132,11 @@ export declare class RouterPeer extends pulumi.CustomResource {
|
|
|
111
132
|
* length, the routes with the lowest priority value win.
|
|
112
133
|
*/
|
|
113
134
|
readonly advertisedRoutePriority: pulumi.Output<number | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* BFD configuration for the BGP peering.
|
|
137
|
+
* Structure is documented below.
|
|
138
|
+
*/
|
|
139
|
+
readonly bfd: pulumi.Output<outputs.compute.RouterPeerBfd>;
|
|
114
140
|
/**
|
|
115
141
|
* The status of the BGP peer connection. If set to false, any active session
|
|
116
142
|
* with the peer is terminated and all associated routing information is removed.
|
|
@@ -210,6 +236,11 @@ export interface RouterPeerState {
|
|
|
210
236
|
* length, the routes with the lowest priority value win.
|
|
211
237
|
*/
|
|
212
238
|
advertisedRoutePriority?: pulumi.Input<number>;
|
|
239
|
+
/**
|
|
240
|
+
* BFD configuration for the BGP peering.
|
|
241
|
+
* Structure is documented below.
|
|
242
|
+
*/
|
|
243
|
+
bfd?: pulumi.Input<inputs.compute.RouterPeerBfd>;
|
|
213
244
|
/**
|
|
214
245
|
* The status of the BGP peer connection. If set to false, any active session
|
|
215
246
|
* with the peer is terminated and all associated routing information is removed.
|
|
@@ -301,6 +332,11 @@ export interface RouterPeerArgs {
|
|
|
301
332
|
* length, the routes with the lowest priority value win.
|
|
302
333
|
*/
|
|
303
334
|
advertisedRoutePriority?: pulumi.Input<number>;
|
|
335
|
+
/**
|
|
336
|
+
* BFD configuration for the BGP peering.
|
|
337
|
+
* Structure is documented below.
|
|
338
|
+
*/
|
|
339
|
+
bfd?: pulumi.Input<inputs.compute.RouterPeerBfd>;
|
|
304
340
|
/**
|
|
305
341
|
* The status of the BGP peer connection. If set to false, any active session
|
|
306
342
|
* with the peer is terminated and all associated routing information is removed.
|
package/compute/routerPeer.js
CHANGED
|
@@ -49,6 +49,27 @@ const utilities = require("../utilities");
|
|
|
49
49
|
* router: "my-router",
|
|
50
50
|
* });
|
|
51
51
|
* ```
|
|
52
|
+
* ### Router Peer Bfd
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as gcp from "@pulumi/gcp";
|
|
57
|
+
*
|
|
58
|
+
* const peer = new gcp.compute.RouterPeer("peer", {
|
|
59
|
+
* advertisedRoutePriority: 100,
|
|
60
|
+
* bfd: {
|
|
61
|
+
* minReceiveInterval: 1000,
|
|
62
|
+
* minTransmitInterval: 1000,
|
|
63
|
+
* multiplier: 5,
|
|
64
|
+
* sessionInitializationMode: "ACTIVE",
|
|
65
|
+
* },
|
|
66
|
+
* interface: "interface-1",
|
|
67
|
+
* peerAsn: 65513,
|
|
68
|
+
* peerIpAddress: "169.254.1.2",
|
|
69
|
+
* region: "us-central1",
|
|
70
|
+
* router: "my-router",
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
52
73
|
*
|
|
53
74
|
* ## Import
|
|
54
75
|
*
|
|
@@ -80,6 +101,7 @@ class RouterPeer extends pulumi.CustomResource {
|
|
|
80
101
|
inputs["advertisedGroups"] = state ? state.advertisedGroups : undefined;
|
|
81
102
|
inputs["advertisedIpRanges"] = state ? state.advertisedIpRanges : undefined;
|
|
82
103
|
inputs["advertisedRoutePriority"] = state ? state.advertisedRoutePriority : undefined;
|
|
104
|
+
inputs["bfd"] = state ? state.bfd : undefined;
|
|
83
105
|
inputs["enable"] = state ? state.enable : undefined;
|
|
84
106
|
inputs["interface"] = state ? state.interface : undefined;
|
|
85
107
|
inputs["ipAddress"] = state ? state.ipAddress : undefined;
|
|
@@ -109,6 +131,7 @@ class RouterPeer extends pulumi.CustomResource {
|
|
|
109
131
|
inputs["advertisedGroups"] = args ? args.advertisedGroups : undefined;
|
|
110
132
|
inputs["advertisedIpRanges"] = args ? args.advertisedIpRanges : undefined;
|
|
111
133
|
inputs["advertisedRoutePriority"] = args ? args.advertisedRoutePriority : undefined;
|
|
134
|
+
inputs["bfd"] = args ? args.bfd : undefined;
|
|
112
135
|
inputs["enable"] = args ? args.enable : undefined;
|
|
113
136
|
inputs["interface"] = args ? args.interface : undefined;
|
|
114
137
|
inputs["ipAddress"] = args ? args.ipAddress : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routerPeer.js","sourceRoot":"","sources":["../../compute/routerPeer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"routerPeer.js","sourceRoot":"","s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Q;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;;AA1BL,gCAuLC;AAzKG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
|
package/compute/snapshot.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
41
41
|
* zone: "us-central1-a",
|
|
42
42
|
* });
|
|
43
43
|
* const snapshot = new gcp.compute.Snapshot("snapshot", {
|
|
44
|
-
* sourceDisk: persistent.
|
|
44
|
+
* sourceDisk: persistent.id,
|
|
45
45
|
* zone: "us-central1-a",
|
|
46
46
|
* labels: {
|
|
47
47
|
* my_label: "value",
|
package/compute/snapshot.js
CHANGED
|
@@ -46,7 +46,7 @@ const utilities = require("../utilities");
|
|
|
46
46
|
* zone: "us-central1-a",
|
|
47
47
|
* });
|
|
48
48
|
* const snapshot = new gcp.compute.Snapshot("snapshot", {
|
|
49
|
-
* sourceDisk: persistent.
|
|
49
|
+
* sourceDisk: persistent.id,
|
|
50
50
|
* zone: "us-central1-a",
|
|
51
51
|
* labels: {
|
|
52
52
|
* my_label: "value",
|