@pulumi/gcp 7.20.0-alpha.1713984378 → 7.20.0
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/apigee/organization.d.ts +45 -0
- package/apigee/organization.js +6 -0
- package/apigee/organization.js.map +1 -1
- package/artifactregistry/repository.d.ts +189 -8
- package/artifactregistry/repository.js +189 -8
- package/artifactregistry/repository.js.map +1 -1
- package/bigquery/table.d.ts +24 -0
- package/bigquery/table.js +2 -0
- package/bigquery/table.js.map +1 -1
- package/billing/budget.d.ts +15 -0
- package/billing/budget.js +2 -0
- package/billing/budget.js.map +1 -1
- package/cloudfunctionsv2/function.d.ts +62 -0
- package/cloudfunctionsv2/function.js +62 -0
- package/cloudfunctionsv2/function.js.map +1 -1
- package/compute/getInstanceGroupManager.d.ts +1 -0
- package/compute/getInstanceGroupManager.js.map +1 -1
- package/compute/instanceGroupManager.d.ts +21 -9
- package/compute/instanceGroupManager.js +2 -0
- package/compute/instanceGroupManager.js.map +1 -1
- package/compute/regionInstanceGroupManager.d.ts +18 -6
- package/compute/regionInstanceGroupManager.js +2 -0
- package/compute/regionInstanceGroupManager.js.map +1 -1
- package/dns/getKeys.d.ts +1 -1
- package/dns/getManagedZones.d.ts +1 -10
- package/dns/getManagedZones.js +0 -1
- package/dns/getManagedZones.js.map +1 -1
- package/dns/getRecordSet.d.ts +3 -0
- package/dns/getRecordSet.js.map +1 -1
- package/firestore/document.d.ts +2 -2
- package/organizations/getActiveFolder.d.ts +9 -0
- package/organizations/getActiveFolder.js +1 -0
- package/organizations/getActiveFolder.js.map +1 -1
- package/package.json +1 -1
- package/projects/iamMemberRemove.d.ts +108 -0
- package/projects/iamMemberRemove.js +83 -0
- package/projects/iamMemberRemove.js.map +1 -0
- package/projects/index.d.ts +3 -0
- package/projects/index.js +6 -1
- package/projects/index.js.map +1 -1
- package/types/input.d.ts +86 -70
- package/types/output.d.ts +165 -31
- package/vmwareengine/getPrivateCloud.d.ts +0 -2
- package/vmwareengine/getPrivateCloud.js.map +1 -1
- package/vmwareengine/privateCloud.d.ts +0 -24
- package/vmwareengine/privateCloud.js +0 -4
- package/vmwareengine/privateCloud.js.map +1 -1
- package/workbench/instance.d.ts +2 -2
- package/workbench/instance.js +2 -2
- package/workstations/workstationCluster.d.ts +10 -0
- package/workstations/workstationCluster.js +2 -0
- package/workstations/workstationCluster.js.map +1 -1
package/apigee/organization.d.ts
CHANGED
|
@@ -170,6 +170,16 @@ export declare class Organization extends pulumi.CustomResource {
|
|
|
170
170
|
* Primary GCP region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).
|
|
171
171
|
*/
|
|
172
172
|
readonly analyticsRegion: pulumi.Output<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* Cloud KMS key name used for encrypting API consumer data.
|
|
175
|
+
*/
|
|
176
|
+
readonly apiConsumerDataEncryptionKeyName: pulumi.Output<string | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* This field is needed only for customers using non-default data residency regions.
|
|
179
|
+
* Apigee stores some control plane data only in single region.
|
|
180
|
+
* This field determines which single region Apigee should use.
|
|
181
|
+
*/
|
|
182
|
+
readonly apiConsumerDataLocation: pulumi.Output<string | undefined>;
|
|
173
183
|
/**
|
|
174
184
|
* Output only. Project ID of the Apigee Tenant Project.
|
|
175
185
|
*/
|
|
@@ -189,6 +199,11 @@ export declare class Organization extends pulumi.CustomResource {
|
|
|
189
199
|
* Valid only when `RuntimeType` is CLOUD. A base64-encoded string.
|
|
190
200
|
*/
|
|
191
201
|
readonly caCertificate: pulumi.Output<string>;
|
|
202
|
+
/**
|
|
203
|
+
* Cloud KMS key name used for encrypting control plane data that is stored in a multi region.
|
|
204
|
+
* Only used for the data residency region "US" or "EU".
|
|
205
|
+
*/
|
|
206
|
+
readonly controlPlaneEncryptionKeyName: pulumi.Output<string | undefined>;
|
|
192
207
|
/**
|
|
193
208
|
* Description of the Apigee organization.
|
|
194
209
|
*/
|
|
@@ -265,6 +280,16 @@ export interface OrganizationState {
|
|
|
265
280
|
* Primary GCP region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).
|
|
266
281
|
*/
|
|
267
282
|
analyticsRegion?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* Cloud KMS key name used for encrypting API consumer data.
|
|
285
|
+
*/
|
|
286
|
+
apiConsumerDataEncryptionKeyName?: pulumi.Input<string>;
|
|
287
|
+
/**
|
|
288
|
+
* This field is needed only for customers using non-default data residency regions.
|
|
289
|
+
* Apigee stores some control plane data only in single region.
|
|
290
|
+
* This field determines which single region Apigee should use.
|
|
291
|
+
*/
|
|
292
|
+
apiConsumerDataLocation?: pulumi.Input<string>;
|
|
268
293
|
/**
|
|
269
294
|
* Output only. Project ID of the Apigee Tenant Project.
|
|
270
295
|
*/
|
|
@@ -284,6 +309,11 @@ export interface OrganizationState {
|
|
|
284
309
|
* Valid only when `RuntimeType` is CLOUD. A base64-encoded string.
|
|
285
310
|
*/
|
|
286
311
|
caCertificate?: pulumi.Input<string>;
|
|
312
|
+
/**
|
|
313
|
+
* Cloud KMS key name used for encrypting control plane data that is stored in a multi region.
|
|
314
|
+
* Only used for the data residency region "US" or "EU".
|
|
315
|
+
*/
|
|
316
|
+
controlPlaneEncryptionKeyName?: pulumi.Input<string>;
|
|
287
317
|
/**
|
|
288
318
|
* Description of the Apigee organization.
|
|
289
319
|
*/
|
|
@@ -352,6 +382,16 @@ export interface OrganizationArgs {
|
|
|
352
382
|
* Primary GCP region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).
|
|
353
383
|
*/
|
|
354
384
|
analyticsRegion?: pulumi.Input<string>;
|
|
385
|
+
/**
|
|
386
|
+
* Cloud KMS key name used for encrypting API consumer data.
|
|
387
|
+
*/
|
|
388
|
+
apiConsumerDataEncryptionKeyName?: pulumi.Input<string>;
|
|
389
|
+
/**
|
|
390
|
+
* This field is needed only for customers using non-default data residency regions.
|
|
391
|
+
* Apigee stores some control plane data only in single region.
|
|
392
|
+
* This field determines which single region Apigee should use.
|
|
393
|
+
*/
|
|
394
|
+
apiConsumerDataLocation?: pulumi.Input<string>;
|
|
355
395
|
/**
|
|
356
396
|
* Compute Engine network used for Service Networking to be peered with Apigee runtime instances.
|
|
357
397
|
* See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started).
|
|
@@ -362,6 +402,11 @@ export interface OrganizationArgs {
|
|
|
362
402
|
* Billing type of the Apigee organization. See [Apigee pricing](https://cloud.google.com/apigee/pricing).
|
|
363
403
|
*/
|
|
364
404
|
billingType?: pulumi.Input<string>;
|
|
405
|
+
/**
|
|
406
|
+
* Cloud KMS key name used for encrypting control plane data that is stored in a multi region.
|
|
407
|
+
* Only used for the data residency region "US" or "EU".
|
|
408
|
+
*/
|
|
409
|
+
controlPlaneEncryptionKeyName?: pulumi.Input<string>;
|
|
365
410
|
/**
|
|
366
411
|
* Description of the Apigee organization.
|
|
367
412
|
*/
|
package/apigee/organization.js
CHANGED
|
@@ -183,10 +183,13 @@ class Organization extends pulumi.CustomResource {
|
|
|
183
183
|
if (opts.id) {
|
|
184
184
|
const state = argsOrState;
|
|
185
185
|
resourceInputs["analyticsRegion"] = state ? state.analyticsRegion : undefined;
|
|
186
|
+
resourceInputs["apiConsumerDataEncryptionKeyName"] = state ? state.apiConsumerDataEncryptionKeyName : undefined;
|
|
187
|
+
resourceInputs["apiConsumerDataLocation"] = state ? state.apiConsumerDataLocation : undefined;
|
|
186
188
|
resourceInputs["apigeeProjectId"] = state ? state.apigeeProjectId : undefined;
|
|
187
189
|
resourceInputs["authorizedNetwork"] = state ? state.authorizedNetwork : undefined;
|
|
188
190
|
resourceInputs["billingType"] = state ? state.billingType : undefined;
|
|
189
191
|
resourceInputs["caCertificate"] = state ? state.caCertificate : undefined;
|
|
192
|
+
resourceInputs["controlPlaneEncryptionKeyName"] = state ? state.controlPlaneEncryptionKeyName : undefined;
|
|
190
193
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
191
194
|
resourceInputs["disableVpcPeering"] = state ? state.disableVpcPeering : undefined;
|
|
192
195
|
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
@@ -204,8 +207,11 @@ class Organization extends pulumi.CustomResource {
|
|
|
204
207
|
throw new Error("Missing required property 'projectId'");
|
|
205
208
|
}
|
|
206
209
|
resourceInputs["analyticsRegion"] = args ? args.analyticsRegion : undefined;
|
|
210
|
+
resourceInputs["apiConsumerDataEncryptionKeyName"] = args ? args.apiConsumerDataEncryptionKeyName : undefined;
|
|
211
|
+
resourceInputs["apiConsumerDataLocation"] = args ? args.apiConsumerDataLocation : undefined;
|
|
207
212
|
resourceInputs["authorizedNetwork"] = args ? args.authorizedNetwork : undefined;
|
|
208
213
|
resourceInputs["billingType"] = args ? args.billingType : undefined;
|
|
214
|
+
resourceInputs["controlPlaneEncryptionKeyName"] = args ? args.controlPlaneEncryptionKeyName : undefined;
|
|
209
215
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
210
216
|
resourceInputs["disableVpcPeering"] = args ? args.disableVpcPeering : undefined;
|
|
211
217
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../apigee/organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoJG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9G,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;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;;AAvLL,oCAwLC;AA1KG,gBAAgB;AACO,yBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -219,43 +219,224 @@ import * as outputs from "../types/output";
|
|
|
219
219
|
* ],
|
|
220
220
|
* });
|
|
221
221
|
* ```
|
|
222
|
-
* ### Artifact Registry Repository Remote
|
|
222
|
+
* ### Artifact Registry Repository Remote Dockerhub Auth
|
|
223
223
|
*
|
|
224
224
|
* ```typescript
|
|
225
225
|
* import * as pulumi from "@pulumi/pulumi";
|
|
226
226
|
* import * as gcp from "@pulumi/gcp";
|
|
227
227
|
*
|
|
228
228
|
* const project = gcp.organizations.getProject({});
|
|
229
|
-
* const
|
|
229
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
230
230
|
* secretId: "example-secret",
|
|
231
231
|
* replication: {
|
|
232
232
|
* auto: {},
|
|
233
233
|
* },
|
|
234
234
|
* });
|
|
235
|
-
* const
|
|
236
|
-
* secret:
|
|
235
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
236
|
+
* secret: example_remote_secret.id,
|
|
237
237
|
* secretData: "remote-password",
|
|
238
238
|
* });
|
|
239
239
|
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
240
|
-
* secretId:
|
|
240
|
+
* secretId: example_remote_secret.id,
|
|
241
241
|
* role: "roles/secretmanager.secretAccessor",
|
|
242
242
|
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
243
243
|
* });
|
|
244
244
|
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
245
245
|
* location: "us-central1",
|
|
246
|
-
* repositoryId: "example-
|
|
247
|
-
* description: "example remote
|
|
246
|
+
* repositoryId: "example-dockerhub-remote",
|
|
247
|
+
* description: "example remote dockerhub repository with credentials",
|
|
248
248
|
* format: "DOCKER",
|
|
249
249
|
* mode: "REMOTE_REPOSITORY",
|
|
250
250
|
* remoteRepositoryConfig: {
|
|
251
251
|
* description: "docker hub with custom credentials",
|
|
252
|
+
* disableUpstreamValidation: true,
|
|
252
253
|
* dockerRepository: {
|
|
253
254
|
* publicRepository: "DOCKER_HUB",
|
|
254
255
|
* },
|
|
255
256
|
* upstreamCredentials: {
|
|
256
257
|
* usernamePasswordCredentials: {
|
|
257
258
|
* username: "remote-username",
|
|
258
|
-
* passwordSecretVersion:
|
|
259
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
260
|
+
* },
|
|
261
|
+
* },
|
|
262
|
+
* },
|
|
263
|
+
* });
|
|
264
|
+
* ```
|
|
265
|
+
* ### Artifact Registry Repository Remote Docker Custom With Auth
|
|
266
|
+
*
|
|
267
|
+
* ```typescript
|
|
268
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
269
|
+
* import * as gcp from "@pulumi/gcp";
|
|
270
|
+
*
|
|
271
|
+
* const project = gcp.organizations.getProject({});
|
|
272
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
273
|
+
* secretId: "example-secret",
|
|
274
|
+
* replication: {
|
|
275
|
+
* auto: {},
|
|
276
|
+
* },
|
|
277
|
+
* });
|
|
278
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
279
|
+
* secret: example_remote_secret.id,
|
|
280
|
+
* secretData: "remote-password",
|
|
281
|
+
* });
|
|
282
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
283
|
+
* secretId: example_remote_secret.id,
|
|
284
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
285
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
286
|
+
* });
|
|
287
|
+
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
288
|
+
* location: "us-central1",
|
|
289
|
+
* repositoryId: "example-docker-custom-remote",
|
|
290
|
+
* description: "example remote custom docker repository with credentials",
|
|
291
|
+
* format: "DOCKER",
|
|
292
|
+
* mode: "REMOTE_REPOSITORY",
|
|
293
|
+
* remoteRepositoryConfig: {
|
|
294
|
+
* description: "custom docker remote with credentials",
|
|
295
|
+
* disableUpstreamValidation: true,
|
|
296
|
+
* dockerRepository: {
|
|
297
|
+
* customRepository: {
|
|
298
|
+
* uri: "https://registry-1.docker.io",
|
|
299
|
+
* },
|
|
300
|
+
* },
|
|
301
|
+
* upstreamCredentials: {
|
|
302
|
+
* usernamePasswordCredentials: {
|
|
303
|
+
* username: "remote-username",
|
|
304
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
305
|
+
* },
|
|
306
|
+
* },
|
|
307
|
+
* },
|
|
308
|
+
* });
|
|
309
|
+
* ```
|
|
310
|
+
* ### Artifact Registry Repository Remote Maven Custom With Auth
|
|
311
|
+
*
|
|
312
|
+
* ```typescript
|
|
313
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
314
|
+
* import * as gcp from "@pulumi/gcp";
|
|
315
|
+
*
|
|
316
|
+
* const project = gcp.organizations.getProject({});
|
|
317
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
318
|
+
* secretId: "example-secret",
|
|
319
|
+
* replication: {
|
|
320
|
+
* auto: {},
|
|
321
|
+
* },
|
|
322
|
+
* });
|
|
323
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
324
|
+
* secret: example_remote_secret.id,
|
|
325
|
+
* secretData: "remote-password",
|
|
326
|
+
* });
|
|
327
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
328
|
+
* secretId: example_remote_secret.id,
|
|
329
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
330
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
331
|
+
* });
|
|
332
|
+
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
333
|
+
* location: "us-central1",
|
|
334
|
+
* repositoryId: "example-maven-custom-remote",
|
|
335
|
+
* description: "example remote custom maven repository with credentials",
|
|
336
|
+
* format: "MAVEN",
|
|
337
|
+
* mode: "REMOTE_REPOSITORY",
|
|
338
|
+
* remoteRepositoryConfig: {
|
|
339
|
+
* description: "custom maven remote with credentials",
|
|
340
|
+
* disableUpstreamValidation: true,
|
|
341
|
+
* mavenRepository: {
|
|
342
|
+
* customRepository: {
|
|
343
|
+
* uri: "https://my.maven.registry",
|
|
344
|
+
* },
|
|
345
|
+
* },
|
|
346
|
+
* upstreamCredentials: {
|
|
347
|
+
* usernamePasswordCredentials: {
|
|
348
|
+
* username: "remote-username",
|
|
349
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
350
|
+
* },
|
|
351
|
+
* },
|
|
352
|
+
* },
|
|
353
|
+
* });
|
|
354
|
+
* ```
|
|
355
|
+
* ### Artifact Registry Repository Remote Npm Custom With Auth
|
|
356
|
+
*
|
|
357
|
+
* ```typescript
|
|
358
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
359
|
+
* import * as gcp from "@pulumi/gcp";
|
|
360
|
+
*
|
|
361
|
+
* const project = gcp.organizations.getProject({});
|
|
362
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
363
|
+
* secretId: "example-secret",
|
|
364
|
+
* replication: {
|
|
365
|
+
* auto: {},
|
|
366
|
+
* },
|
|
367
|
+
* });
|
|
368
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
369
|
+
* secret: example_remote_secret.id,
|
|
370
|
+
* secretData: "remote-password",
|
|
371
|
+
* });
|
|
372
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
373
|
+
* secretId: example_remote_secret.id,
|
|
374
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
375
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
376
|
+
* });
|
|
377
|
+
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
378
|
+
* location: "us-central1",
|
|
379
|
+
* repositoryId: "example-npm-custom-remote",
|
|
380
|
+
* description: "example remote custom npm repository with credentials",
|
|
381
|
+
* format: "NPM",
|
|
382
|
+
* mode: "REMOTE_REPOSITORY",
|
|
383
|
+
* remoteRepositoryConfig: {
|
|
384
|
+
* description: "custom npm with credentials",
|
|
385
|
+
* disableUpstreamValidation: true,
|
|
386
|
+
* npmRepository: {
|
|
387
|
+
* customRepository: {
|
|
388
|
+
* uri: "https://my.npm.registry",
|
|
389
|
+
* },
|
|
390
|
+
* },
|
|
391
|
+
* upstreamCredentials: {
|
|
392
|
+
* usernamePasswordCredentials: {
|
|
393
|
+
* username: "remote-username",
|
|
394
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
395
|
+
* },
|
|
396
|
+
* },
|
|
397
|
+
* },
|
|
398
|
+
* });
|
|
399
|
+
* ```
|
|
400
|
+
* ### Artifact Registry Repository Remote Python Custom With Auth
|
|
401
|
+
*
|
|
402
|
+
* ```typescript
|
|
403
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
404
|
+
* import * as gcp from "@pulumi/gcp";
|
|
405
|
+
*
|
|
406
|
+
* const project = gcp.organizations.getProject({});
|
|
407
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
408
|
+
* secretId: "example-secret",
|
|
409
|
+
* replication: {
|
|
410
|
+
* auto: {},
|
|
411
|
+
* },
|
|
412
|
+
* });
|
|
413
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
414
|
+
* secret: example_remote_secret.id,
|
|
415
|
+
* secretData: "remote-password",
|
|
416
|
+
* });
|
|
417
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
418
|
+
* secretId: example_remote_secret.id,
|
|
419
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
420
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
421
|
+
* });
|
|
422
|
+
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
423
|
+
* location: "us-central1",
|
|
424
|
+
* repositoryId: "example-python-custom-remote",
|
|
425
|
+
* description: "example remote custom python repository with credentials",
|
|
426
|
+
* format: "PYTHON",
|
|
427
|
+
* mode: "REMOTE_REPOSITORY",
|
|
428
|
+
* remoteRepositoryConfig: {
|
|
429
|
+
* description: "custom npm with credentials",
|
|
430
|
+
* disableUpstreamValidation: true,
|
|
431
|
+
* pythonRepository: {
|
|
432
|
+
* customRepository: {
|
|
433
|
+
* uri: "https://my.python.registry",
|
|
434
|
+
* },
|
|
435
|
+
* },
|
|
436
|
+
* upstreamCredentials: {
|
|
437
|
+
* usernamePasswordCredentials: {
|
|
438
|
+
* username: "remote-username",
|
|
439
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
259
440
|
* },
|
|
260
441
|
* },
|
|
261
442
|
* },
|
|
@@ -223,43 +223,224 @@ const utilities = require("../utilities");
|
|
|
223
223
|
* ],
|
|
224
224
|
* });
|
|
225
225
|
* ```
|
|
226
|
-
* ### Artifact Registry Repository Remote
|
|
226
|
+
* ### Artifact Registry Repository Remote Dockerhub Auth
|
|
227
227
|
*
|
|
228
228
|
* ```typescript
|
|
229
229
|
* import * as pulumi from "@pulumi/pulumi";
|
|
230
230
|
* import * as gcp from "@pulumi/gcp";
|
|
231
231
|
*
|
|
232
232
|
* const project = gcp.organizations.getProject({});
|
|
233
|
-
* const
|
|
233
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
234
234
|
* secretId: "example-secret",
|
|
235
235
|
* replication: {
|
|
236
236
|
* auto: {},
|
|
237
237
|
* },
|
|
238
238
|
* });
|
|
239
|
-
* const
|
|
240
|
-
* secret:
|
|
239
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
240
|
+
* secret: example_remote_secret.id,
|
|
241
241
|
* secretData: "remote-password",
|
|
242
242
|
* });
|
|
243
243
|
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
244
|
-
* secretId:
|
|
244
|
+
* secretId: example_remote_secret.id,
|
|
245
245
|
* role: "roles/secretmanager.secretAccessor",
|
|
246
246
|
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
247
247
|
* });
|
|
248
248
|
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
249
249
|
* location: "us-central1",
|
|
250
|
-
* repositoryId: "example-
|
|
251
|
-
* description: "example remote
|
|
250
|
+
* repositoryId: "example-dockerhub-remote",
|
|
251
|
+
* description: "example remote dockerhub repository with credentials",
|
|
252
252
|
* format: "DOCKER",
|
|
253
253
|
* mode: "REMOTE_REPOSITORY",
|
|
254
254
|
* remoteRepositoryConfig: {
|
|
255
255
|
* description: "docker hub with custom credentials",
|
|
256
|
+
* disableUpstreamValidation: true,
|
|
256
257
|
* dockerRepository: {
|
|
257
258
|
* publicRepository: "DOCKER_HUB",
|
|
258
259
|
* },
|
|
259
260
|
* upstreamCredentials: {
|
|
260
261
|
* usernamePasswordCredentials: {
|
|
261
262
|
* username: "remote-username",
|
|
262
|
-
* passwordSecretVersion:
|
|
263
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
264
|
+
* },
|
|
265
|
+
* },
|
|
266
|
+
* },
|
|
267
|
+
* });
|
|
268
|
+
* ```
|
|
269
|
+
* ### Artifact Registry Repository Remote Docker Custom With Auth
|
|
270
|
+
*
|
|
271
|
+
* ```typescript
|
|
272
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
273
|
+
* import * as gcp from "@pulumi/gcp";
|
|
274
|
+
*
|
|
275
|
+
* const project = gcp.organizations.getProject({});
|
|
276
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
277
|
+
* secretId: "example-secret",
|
|
278
|
+
* replication: {
|
|
279
|
+
* auto: {},
|
|
280
|
+
* },
|
|
281
|
+
* });
|
|
282
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
283
|
+
* secret: example_remote_secret.id,
|
|
284
|
+
* secretData: "remote-password",
|
|
285
|
+
* });
|
|
286
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
287
|
+
* secretId: example_remote_secret.id,
|
|
288
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
289
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
290
|
+
* });
|
|
291
|
+
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
292
|
+
* location: "us-central1",
|
|
293
|
+
* repositoryId: "example-docker-custom-remote",
|
|
294
|
+
* description: "example remote custom docker repository with credentials",
|
|
295
|
+
* format: "DOCKER",
|
|
296
|
+
* mode: "REMOTE_REPOSITORY",
|
|
297
|
+
* remoteRepositoryConfig: {
|
|
298
|
+
* description: "custom docker remote with credentials",
|
|
299
|
+
* disableUpstreamValidation: true,
|
|
300
|
+
* dockerRepository: {
|
|
301
|
+
* customRepository: {
|
|
302
|
+
* uri: "https://registry-1.docker.io",
|
|
303
|
+
* },
|
|
304
|
+
* },
|
|
305
|
+
* upstreamCredentials: {
|
|
306
|
+
* usernamePasswordCredentials: {
|
|
307
|
+
* username: "remote-username",
|
|
308
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
309
|
+
* },
|
|
310
|
+
* },
|
|
311
|
+
* },
|
|
312
|
+
* });
|
|
313
|
+
* ```
|
|
314
|
+
* ### Artifact Registry Repository Remote Maven Custom With Auth
|
|
315
|
+
*
|
|
316
|
+
* ```typescript
|
|
317
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
318
|
+
* import * as gcp from "@pulumi/gcp";
|
|
319
|
+
*
|
|
320
|
+
* const project = gcp.organizations.getProject({});
|
|
321
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
322
|
+
* secretId: "example-secret",
|
|
323
|
+
* replication: {
|
|
324
|
+
* auto: {},
|
|
325
|
+
* },
|
|
326
|
+
* });
|
|
327
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
328
|
+
* secret: example_remote_secret.id,
|
|
329
|
+
* secretData: "remote-password",
|
|
330
|
+
* });
|
|
331
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
332
|
+
* secretId: example_remote_secret.id,
|
|
333
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
334
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
335
|
+
* });
|
|
336
|
+
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
337
|
+
* location: "us-central1",
|
|
338
|
+
* repositoryId: "example-maven-custom-remote",
|
|
339
|
+
* description: "example remote custom maven repository with credentials",
|
|
340
|
+
* format: "MAVEN",
|
|
341
|
+
* mode: "REMOTE_REPOSITORY",
|
|
342
|
+
* remoteRepositoryConfig: {
|
|
343
|
+
* description: "custom maven remote with credentials",
|
|
344
|
+
* disableUpstreamValidation: true,
|
|
345
|
+
* mavenRepository: {
|
|
346
|
+
* customRepository: {
|
|
347
|
+
* uri: "https://my.maven.registry",
|
|
348
|
+
* },
|
|
349
|
+
* },
|
|
350
|
+
* upstreamCredentials: {
|
|
351
|
+
* usernamePasswordCredentials: {
|
|
352
|
+
* username: "remote-username",
|
|
353
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
354
|
+
* },
|
|
355
|
+
* },
|
|
356
|
+
* },
|
|
357
|
+
* });
|
|
358
|
+
* ```
|
|
359
|
+
* ### Artifact Registry Repository Remote Npm Custom With Auth
|
|
360
|
+
*
|
|
361
|
+
* ```typescript
|
|
362
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
363
|
+
* import * as gcp from "@pulumi/gcp";
|
|
364
|
+
*
|
|
365
|
+
* const project = gcp.organizations.getProject({});
|
|
366
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
367
|
+
* secretId: "example-secret",
|
|
368
|
+
* replication: {
|
|
369
|
+
* auto: {},
|
|
370
|
+
* },
|
|
371
|
+
* });
|
|
372
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
373
|
+
* secret: example_remote_secret.id,
|
|
374
|
+
* secretData: "remote-password",
|
|
375
|
+
* });
|
|
376
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
377
|
+
* secretId: example_remote_secret.id,
|
|
378
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
379
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
380
|
+
* });
|
|
381
|
+
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
382
|
+
* location: "us-central1",
|
|
383
|
+
* repositoryId: "example-npm-custom-remote",
|
|
384
|
+
* description: "example remote custom npm repository with credentials",
|
|
385
|
+
* format: "NPM",
|
|
386
|
+
* mode: "REMOTE_REPOSITORY",
|
|
387
|
+
* remoteRepositoryConfig: {
|
|
388
|
+
* description: "custom npm with credentials",
|
|
389
|
+
* disableUpstreamValidation: true,
|
|
390
|
+
* npmRepository: {
|
|
391
|
+
* customRepository: {
|
|
392
|
+
* uri: "https://my.npm.registry",
|
|
393
|
+
* },
|
|
394
|
+
* },
|
|
395
|
+
* upstreamCredentials: {
|
|
396
|
+
* usernamePasswordCredentials: {
|
|
397
|
+
* username: "remote-username",
|
|
398
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
399
|
+
* },
|
|
400
|
+
* },
|
|
401
|
+
* },
|
|
402
|
+
* });
|
|
403
|
+
* ```
|
|
404
|
+
* ### Artifact Registry Repository Remote Python Custom With Auth
|
|
405
|
+
*
|
|
406
|
+
* ```typescript
|
|
407
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
408
|
+
* import * as gcp from "@pulumi/gcp";
|
|
409
|
+
*
|
|
410
|
+
* const project = gcp.organizations.getProject({});
|
|
411
|
+
* const example_remote_secret = new gcp.secretmanager.Secret("example-remote-secret", {
|
|
412
|
+
* secretId: "example-secret",
|
|
413
|
+
* replication: {
|
|
414
|
+
* auto: {},
|
|
415
|
+
* },
|
|
416
|
+
* });
|
|
417
|
+
* const example_remote_secretVersion = new gcp.secretmanager.SecretVersion("example-remote-secret_version", {
|
|
418
|
+
* secret: example_remote_secret.id,
|
|
419
|
+
* secretData: "remote-password",
|
|
420
|
+
* });
|
|
421
|
+
* const secret_access = new gcp.secretmanager.SecretIamMember("secret-access", {
|
|
422
|
+
* secretId: example_remote_secret.id,
|
|
423
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
424
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com`),
|
|
425
|
+
* });
|
|
426
|
+
* const my_repo = new gcp.artifactregistry.Repository("my-repo", {
|
|
427
|
+
* location: "us-central1",
|
|
428
|
+
* repositoryId: "example-python-custom-remote",
|
|
429
|
+
* description: "example remote custom python repository with credentials",
|
|
430
|
+
* format: "PYTHON",
|
|
431
|
+
* mode: "REMOTE_REPOSITORY",
|
|
432
|
+
* remoteRepositoryConfig: {
|
|
433
|
+
* description: "custom npm with credentials",
|
|
434
|
+
* disableUpstreamValidation: true,
|
|
435
|
+
* pythonRepository: {
|
|
436
|
+
* customRepository: {
|
|
437
|
+
* uri: "https://my.python.registry",
|
|
438
|
+
* },
|
|
439
|
+
* },
|
|
440
|
+
* upstreamCredentials: {
|
|
441
|
+
* usernamePasswordCredentials: {
|
|
442
|
+
* username: "remote-username",
|
|
443
|
+
* passwordSecretVersion: example_remote_secretVersion.name,
|
|
263
444
|
* },
|
|
264
445
|
* },
|
|
265
446
|
* },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../artifactregistry/repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../artifactregistry/repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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