pulumi-gcp 7.16.0a1711520590__py3-none-any.whl → 7.17.0__py3-none-any.whl
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.
- pulumi_gcp/__init__.py +35 -0
- pulumi_gcp/accesscontextmanager/__init__.py +1 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +345 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +80 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +86 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +4 -2
- pulumi_gcp/apphub/__init__.py +1 -0
- pulumi_gcp/apphub/get_application.py +220 -0
- pulumi_gcp/apphub/outputs.py +214 -0
- pulumi_gcp/applicationintegration/__init__.py +10 -0
- pulumi_gcp/applicationintegration/_inputs.py +119 -0
- pulumi_gcp/applicationintegration/client.py +566 -0
- pulumi_gcp/applicationintegration/outputs.py +122 -0
- pulumi_gcp/bigquery/_inputs.py +16 -0
- pulumi_gcp/bigquery/outputs.py +14 -0
- pulumi_gcp/bigquery/routine.py +98 -0
- pulumi_gcp/bigtable/_inputs.py +4 -4
- pulumi_gcp/bigtable/gc_policy.py +8 -0
- pulumi_gcp/bigtable/outputs.py +4 -4
- pulumi_gcp/billing/_inputs.py +4 -4
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/billing/project_info.py +4 -4
- pulumi_gcp/cloudfunctionsv2/_inputs.py +2 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +4 -4
- pulumi_gcp/cloudquota/__init__.py +3 -0
- pulumi_gcp/cloudquota/_inputs.py +131 -0
- pulumi_gcp/cloudquota/get_s_quota_infos.py +136 -0
- pulumi_gcp/cloudquota/outputs.py +388 -0
- pulumi_gcp/cloudquota/s_quota_preference.py +777 -0
- pulumi_gcp/cloudrunv2/_inputs.py +59 -2
- pulumi_gcp/cloudrunv2/outputs.py +107 -4
- pulumi_gcp/cloudrunv2/service.py +13 -13
- pulumi_gcp/composer/_inputs.py +30 -4
- pulumi_gcp/composer/outputs.py +45 -10
- pulumi_gcp/compute/_inputs.py +145 -51
- pulumi_gcp/compute/autoscaler.py +14 -14
- pulumi_gcp/compute/interconnect_attachment.py +64 -0
- pulumi_gcp/compute/network_endpoint.py +8 -0
- pulumi_gcp/compute/network_endpoint_list.py +8 -0
- pulumi_gcp/compute/outputs.py +202 -69
- pulumi_gcp/compute/region_autoscaler.py +14 -14
- pulumi_gcp/compute/region_backend_service.py +28 -0
- pulumi_gcp/compute/region_url_map.py +152 -0
- pulumi_gcp/compute/target_instance.py +4 -4
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +148 -16
- pulumi_gcp/container/outputs.py +148 -16
- pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
- pulumi_gcp/dataflow/flex_template_job.py +84 -112
- pulumi_gcp/dataform/repository.py +4 -74
- pulumi_gcp/dataloss/_inputs.py +6 -6
- pulumi_gcp/dataloss/outputs.py +6 -6
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/_inputs.py +85 -10
- pulumi_gcp/dataproc/get_metastore_service.py +11 -1
- pulumi_gcp/dataproc/metastore_service.py +120 -0
- pulumi_gcp/dataproc/outputs.py +142 -10
- pulumi_gcp/firebase/android_app.py +41 -40
- pulumi_gcp/firebase/app_check_service_config.py +2 -2
- pulumi_gcp/firestore/backup_schedule.py +14 -14
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/firestore/index.py +34 -48
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/_inputs.py +76 -0
- pulumi_gcp/iam/outputs.py +76 -0
- pulumi_gcp/iam/workforce_pool_provider.py +35 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +140 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/kms/_inputs.py +46 -0
- pulumi_gcp/kms/crypto_key.py +54 -0
- pulumi_gcp/kms/crypto_key_version.py +54 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +54 -0
- pulumi_gcp/logging/_inputs.py +8 -8
- pulumi_gcp/logging/metric.py +7 -7
- pulumi_gcp/logging/outputs.py +8 -8
- pulumi_gcp/monitoring/_inputs.py +4 -2
- pulumi_gcp/monitoring/outputs.py +4 -2
- pulumi_gcp/monitoring/slo.py +4 -4
- pulumi_gcp/networksecurity/firewall_endpoint.py +48 -0
- pulumi_gcp/networkservices/_inputs.py +6 -6
- pulumi_gcp/networkservices/outputs.py +6 -6
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +108 -0
- pulumi_gcp/pubsub/get_topic.py +11 -1
- pulumi_gcp/pubsub/outputs.py +213 -0
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/pubsub/topic.py +92 -0
- pulumi_gcp/serviceusage/consumer_quota_override.py +7 -7
- pulumi_gcp/sql/_inputs.py +20 -2
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +20 -2
- pulumi_gcp/storage/_inputs.py +42 -2
- pulumi_gcp/storage/bucket.py +54 -0
- pulumi_gcp/storage/get_bucket.py +11 -1
- pulumi_gcp/storage/outputs.py +83 -2
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +175 -8
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +477 -0
- pulumi_gcp/vertex/outputs.py +202 -10
- pulumi_gcp/vpcaccess/connector.py +77 -28
- pulumi_gcp/workstations/_inputs.py +113 -0
- pulumi_gcp/workstations/outputs.py +109 -1
- pulumi_gcp/workstations/workstation_config.py +106 -0
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/RECORD +113 -103
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/top_level.txt +0 -0
@@ -300,7 +300,7 @@ class AppCheckServiceConfig(pulumi.CustomResource):
|
|
300
300
|
disable_on_destroy=False)
|
301
301
|
default = gcp.firebase.AppCheckServiceConfig("default",
|
302
302
|
project="my-project-name",
|
303
|
-
service_id="
|
303
|
+
service_id="identitytoolkit.googleapis.com",
|
304
304
|
enforcement_mode="UNENFORCED")
|
305
305
|
```
|
306
306
|
<!--End PulumiCodeChooser -->
|
@@ -422,7 +422,7 @@ class AppCheckServiceConfig(pulumi.CustomResource):
|
|
422
422
|
disable_on_destroy=False)
|
423
423
|
default = gcp.firebase.AppCheckServiceConfig("default",
|
424
424
|
project="my-project-name",
|
425
|
-
service_id="
|
425
|
+
service_id="identitytoolkit.googleapis.com",
|
426
426
|
enforcement_mode="UNENFORCED")
|
427
427
|
```
|
428
428
|
<!--End PulumiCodeChooser -->
|
@@ -29,11 +29,11 @@ class BackupScheduleArgs:
|
|
29
29
|
|
30
30
|
|
31
31
|
- - -
|
32
|
-
:param pulumi.Input['BackupScheduleDailyRecurrenceArgs'] daily_recurrence: For a schedule that runs daily
|
32
|
+
:param pulumi.Input['BackupScheduleDailyRecurrenceArgs'] daily_recurrence: For a schedule that runs daily.
|
33
33
|
:param pulumi.Input[str] database: The Firestore database id. Defaults to `"(default)"`.
|
34
34
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
35
35
|
If it is not provided, the provider project is used.
|
36
|
-
:param pulumi.Input['BackupScheduleWeeklyRecurrenceArgs'] weekly_recurrence: For a schedule that runs weekly on a specific day
|
36
|
+
:param pulumi.Input['BackupScheduleWeeklyRecurrenceArgs'] weekly_recurrence: For a schedule that runs weekly on a specific day.
|
37
37
|
Structure is documented below.
|
38
38
|
"""
|
39
39
|
pulumi.set(__self__, "retention", retention)
|
@@ -67,7 +67,7 @@ class BackupScheduleArgs:
|
|
67
67
|
@pulumi.getter(name="dailyRecurrence")
|
68
68
|
def daily_recurrence(self) -> Optional[pulumi.Input['BackupScheduleDailyRecurrenceArgs']]:
|
69
69
|
"""
|
70
|
-
For a schedule that runs daily
|
70
|
+
For a schedule that runs daily.
|
71
71
|
"""
|
72
72
|
return pulumi.get(self, "daily_recurrence")
|
73
73
|
|
@@ -104,7 +104,7 @@ class BackupScheduleArgs:
|
|
104
104
|
@pulumi.getter(name="weeklyRecurrence")
|
105
105
|
def weekly_recurrence(self) -> Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']]:
|
106
106
|
"""
|
107
|
-
For a schedule that runs weekly on a specific day
|
107
|
+
For a schedule that runs weekly on a specific day.
|
108
108
|
Structure is documented below.
|
109
109
|
"""
|
110
110
|
return pulumi.get(self, "weekly_recurrence")
|
@@ -125,7 +125,7 @@ class _BackupScheduleState:
|
|
125
125
|
weekly_recurrence: Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']] = None):
|
126
126
|
"""
|
127
127
|
Input properties used for looking up and filtering BackupSchedule resources.
|
128
|
-
:param pulumi.Input['BackupScheduleDailyRecurrenceArgs'] daily_recurrence: For a schedule that runs daily
|
128
|
+
:param pulumi.Input['BackupScheduleDailyRecurrenceArgs'] daily_recurrence: For a schedule that runs daily.
|
129
129
|
:param pulumi.Input[str] database: The Firestore database id. Defaults to `"(default)"`.
|
130
130
|
:param pulumi.Input[str] name: The unique backup schedule identifier across all locations and databases for the given project. Format:
|
131
131
|
`projects/{{project}}/databases/{{database}}/backupSchedules/{{backupSchedule}}`
|
@@ -137,7 +137,7 @@ class _BackupScheduleState:
|
|
137
137
|
|
138
138
|
|
139
139
|
- - -
|
140
|
-
:param pulumi.Input['BackupScheduleWeeklyRecurrenceArgs'] weekly_recurrence: For a schedule that runs weekly on a specific day
|
140
|
+
:param pulumi.Input['BackupScheduleWeeklyRecurrenceArgs'] weekly_recurrence: For a schedule that runs weekly on a specific day.
|
141
141
|
Structure is documented below.
|
142
142
|
"""
|
143
143
|
if daily_recurrence is not None:
|
@@ -157,7 +157,7 @@ class _BackupScheduleState:
|
|
157
157
|
@pulumi.getter(name="dailyRecurrence")
|
158
158
|
def daily_recurrence(self) -> Optional[pulumi.Input['BackupScheduleDailyRecurrenceArgs']]:
|
159
159
|
"""
|
160
|
-
For a schedule that runs daily
|
160
|
+
For a schedule that runs daily.
|
161
161
|
"""
|
162
162
|
return pulumi.get(self, "daily_recurrence")
|
163
163
|
|
@@ -224,7 +224,7 @@ class _BackupScheduleState:
|
|
224
224
|
@pulumi.getter(name="weeklyRecurrence")
|
225
225
|
def weekly_recurrence(self) -> Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']]:
|
226
226
|
"""
|
227
|
-
For a schedule that runs weekly on a specific day
|
227
|
+
For a schedule that runs weekly on a specific day.
|
228
228
|
Structure is documented below.
|
229
229
|
"""
|
230
230
|
return pulumi.get(self, "weekly_recurrence")
|
@@ -334,7 +334,7 @@ class BackupSchedule(pulumi.CustomResource):
|
|
334
334
|
|
335
335
|
:param str resource_name: The name of the resource.
|
336
336
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
337
|
-
:param pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']] daily_recurrence: For a schedule that runs daily
|
337
|
+
:param pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']] daily_recurrence: For a schedule that runs daily.
|
338
338
|
:param pulumi.Input[str] database: The Firestore database id. Defaults to `"(default)"`.
|
339
339
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
340
340
|
If it is not provided, the provider project is used.
|
@@ -344,7 +344,7 @@ class BackupSchedule(pulumi.CustomResource):
|
|
344
344
|
|
345
345
|
|
346
346
|
- - -
|
347
|
-
:param pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']] weekly_recurrence: For a schedule that runs weekly on a specific day
|
347
|
+
:param pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']] weekly_recurrence: For a schedule that runs weekly on a specific day.
|
348
348
|
Structure is documented below.
|
349
349
|
"""
|
350
350
|
...
|
@@ -500,7 +500,7 @@ class BackupSchedule(pulumi.CustomResource):
|
|
500
500
|
:param str resource_name: The unique name of the resulting resource.
|
501
501
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
502
502
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
503
|
-
:param pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']] daily_recurrence: For a schedule that runs daily
|
503
|
+
:param pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']] daily_recurrence: For a schedule that runs daily.
|
504
504
|
:param pulumi.Input[str] database: The Firestore database id. Defaults to `"(default)"`.
|
505
505
|
:param pulumi.Input[str] name: The unique backup schedule identifier across all locations and databases for the given project. Format:
|
506
506
|
`projects/{{project}}/databases/{{database}}/backupSchedules/{{backupSchedule}}`
|
@@ -512,7 +512,7 @@ class BackupSchedule(pulumi.CustomResource):
|
|
512
512
|
|
513
513
|
|
514
514
|
- - -
|
515
|
-
:param pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']] weekly_recurrence: For a schedule that runs weekly on a specific day
|
515
|
+
:param pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']] weekly_recurrence: For a schedule that runs weekly on a specific day.
|
516
516
|
Structure is documented below.
|
517
517
|
"""
|
518
518
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -531,7 +531,7 @@ class BackupSchedule(pulumi.CustomResource):
|
|
531
531
|
@pulumi.getter(name="dailyRecurrence")
|
532
532
|
def daily_recurrence(self) -> pulumi.Output[Optional['outputs.BackupScheduleDailyRecurrence']]:
|
533
533
|
"""
|
534
|
-
For a schedule that runs daily
|
534
|
+
For a schedule that runs daily.
|
535
535
|
"""
|
536
536
|
return pulumi.get(self, "daily_recurrence")
|
537
537
|
|
@@ -578,7 +578,7 @@ class BackupSchedule(pulumi.CustomResource):
|
|
578
578
|
@pulumi.getter(name="weeklyRecurrence")
|
579
579
|
def weekly_recurrence(self) -> pulumi.Output[Optional['outputs.BackupScheduleWeeklyRecurrence']]:
|
580
580
|
"""
|
581
|
-
For a schedule that runs weekly on a specific day
|
581
|
+
For a schedule that runs weekly on a specific day.
|
582
582
|
Structure is documented below.
|
583
583
|
"""
|
584
584
|
return pulumi.get(self, "weekly_recurrence")
|
pulumi_gcp/firestore/field.py
CHANGED
@@ -320,7 +320,7 @@ class Field(pulumi.CustomResource):
|
|
320
320
|
basic = gcp.firestore.Field("basic",
|
321
321
|
project="my-project-name",
|
322
322
|
database=database.name,
|
323
|
-
collection="
|
323
|
+
collection="chatrooms__34962",
|
324
324
|
field="basic",
|
325
325
|
index_config=gcp.firestore.FieldIndexConfigArgs(
|
326
326
|
indexes=[
|
@@ -375,7 +375,7 @@ class Field(pulumi.CustomResource):
|
|
375
375
|
match_override = gcp.firestore.Field("match_override",
|
376
376
|
project="my-project-name",
|
377
377
|
database=database.name,
|
378
|
-
collection="
|
378
|
+
collection="chatrooms__74000",
|
379
379
|
field="field_with_same_configuration_as_ancestor",
|
380
380
|
index_config=gcp.firestore.FieldIndexConfigArgs(
|
381
381
|
indexes=[
|
@@ -464,7 +464,7 @@ class Field(pulumi.CustomResource):
|
|
464
464
|
basic = gcp.firestore.Field("basic",
|
465
465
|
project="my-project-name",
|
466
466
|
database=database.name,
|
467
|
-
collection="
|
467
|
+
collection="chatrooms__34962",
|
468
468
|
field="basic",
|
469
469
|
index_config=gcp.firestore.FieldIndexConfigArgs(
|
470
470
|
indexes=[
|
@@ -519,7 +519,7 @@ class Field(pulumi.CustomResource):
|
|
519
519
|
match_override = gcp.firestore.Field("match_override",
|
520
520
|
project="my-project-name",
|
521
521
|
database=database.name,
|
522
|
-
collection="
|
522
|
+
collection="chatrooms__74000",
|
523
523
|
field="field_with_same_configuration_as_ancestor",
|
524
524
|
index_config=gcp.firestore.FieldIndexConfigArgs(
|
525
525
|
indexes=[
|
pulumi_gcp/firestore/index.py
CHANGED
@@ -320,32 +320,18 @@ class Index(pulumi.CustomResource):
|
|
320
320
|
```python
|
321
321
|
import pulumi
|
322
322
|
import pulumi_gcp as gcp
|
323
|
-
|
324
|
-
|
325
|
-
project = gcp.organizations.Project("project",
|
326
|
-
project_id="project-id",
|
327
|
-
name="project-id",
|
328
|
-
org_id="123456789")
|
329
|
-
wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s)
|
330
|
-
firestore = gcp.projects.Service("firestore",
|
331
|
-
project=project.project_id,
|
332
|
-
service="firestore.googleapis.com")
|
323
|
+
|
333
324
|
database = gcp.firestore.Database("database",
|
334
|
-
project=project
|
335
|
-
name="
|
325
|
+
project="my-project-name",
|
326
|
+
name="database-id",
|
336
327
|
location_id="nam5",
|
337
|
-
type="FIRESTORE_NATIVE"
|
338
|
-
|
339
|
-
|
340
|
-
project=project.project_id,
|
341
|
-
database=database.name,
|
342
|
-
collection="somenewcollection",
|
343
|
-
document_id="",
|
344
|
-
fields="{\\"something\\":{\\"mapValue\\":{\\"fields\\":{\\"akey\\":{\\"stringValue\\":\\"avalue\\"}}}}}")
|
328
|
+
type="FIRESTORE_NATIVE",
|
329
|
+
delete_protection_state="DELETE_PROTECTION_DISABLED",
|
330
|
+
deletion_policy="DELETE")
|
345
331
|
my_index = gcp.firestore.Index("my-index",
|
346
|
-
project=project
|
332
|
+
project="my-project-name",
|
347
333
|
database=database.name,
|
348
|
-
collection=
|
334
|
+
collection="atestcollection",
|
349
335
|
fields=[
|
350
336
|
gcp.firestore.IndexFieldArgs(
|
351
337
|
field_path="name",
|
@@ -365,10 +351,17 @@ class Index(pulumi.CustomResource):
|
|
365
351
|
import pulumi
|
366
352
|
import pulumi_gcp as gcp
|
367
353
|
|
354
|
+
database = gcp.firestore.Database("database",
|
355
|
+
project="my-project-name",
|
356
|
+
name="database-id-dm",
|
357
|
+
location_id="nam5",
|
358
|
+
type="DATASTORE_MODE",
|
359
|
+
delete_protection_state="DELETE_PROTECTION_DISABLED",
|
360
|
+
deletion_policy="DELETE")
|
368
361
|
my_index = gcp.firestore.Index("my-index",
|
369
362
|
project="my-project-name",
|
370
|
-
database=
|
371
|
-
collection="
|
363
|
+
database=database.name,
|
364
|
+
collection="atestcollection",
|
372
365
|
query_scope="COLLECTION_RECURSIVE",
|
373
366
|
api_scope="DATASTORE_MODE_API",
|
374
367
|
fields=[
|
@@ -449,32 +442,18 @@ class Index(pulumi.CustomResource):
|
|
449
442
|
```python
|
450
443
|
import pulumi
|
451
444
|
import pulumi_gcp as gcp
|
452
|
-
|
453
|
-
|
454
|
-
project = gcp.organizations.Project("project",
|
455
|
-
project_id="project-id",
|
456
|
-
name="project-id",
|
457
|
-
org_id="123456789")
|
458
|
-
wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s)
|
459
|
-
firestore = gcp.projects.Service("firestore",
|
460
|
-
project=project.project_id,
|
461
|
-
service="firestore.googleapis.com")
|
445
|
+
|
462
446
|
database = gcp.firestore.Database("database",
|
463
|
-
project=project
|
464
|
-
name="
|
447
|
+
project="my-project-name",
|
448
|
+
name="database-id",
|
465
449
|
location_id="nam5",
|
466
|
-
type="FIRESTORE_NATIVE"
|
467
|
-
|
468
|
-
|
469
|
-
project=project.project_id,
|
470
|
-
database=database.name,
|
471
|
-
collection="somenewcollection",
|
472
|
-
document_id="",
|
473
|
-
fields="{\\"something\\":{\\"mapValue\\":{\\"fields\\":{\\"akey\\":{\\"stringValue\\":\\"avalue\\"}}}}}")
|
450
|
+
type="FIRESTORE_NATIVE",
|
451
|
+
delete_protection_state="DELETE_PROTECTION_DISABLED",
|
452
|
+
deletion_policy="DELETE")
|
474
453
|
my_index = gcp.firestore.Index("my-index",
|
475
|
-
project=project
|
454
|
+
project="my-project-name",
|
476
455
|
database=database.name,
|
477
|
-
collection=
|
456
|
+
collection="atestcollection",
|
478
457
|
fields=[
|
479
458
|
gcp.firestore.IndexFieldArgs(
|
480
459
|
field_path="name",
|
@@ -494,10 +473,17 @@ class Index(pulumi.CustomResource):
|
|
494
473
|
import pulumi
|
495
474
|
import pulumi_gcp as gcp
|
496
475
|
|
476
|
+
database = gcp.firestore.Database("database",
|
477
|
+
project="my-project-name",
|
478
|
+
name="database-id-dm",
|
479
|
+
location_id="nam5",
|
480
|
+
type="DATASTORE_MODE",
|
481
|
+
delete_protection_state="DELETE_PROTECTION_DISABLED",
|
482
|
+
deletion_policy="DELETE")
|
497
483
|
my_index = gcp.firestore.Index("my-index",
|
498
484
|
project="my-project-name",
|
499
|
-
database=
|
500
|
-
collection="
|
485
|
+
database=database.name,
|
486
|
+
collection="atestcollection",
|
501
487
|
query_scope="COLLECTION_RECURSIVE",
|
502
488
|
api_scope="DATASTORE_MODE_API",
|
503
489
|
fields=[
|
@@ -419,15 +419,15 @@ class MembershipBinding(pulumi.CustomResource):
|
|
419
419
|
network="default",
|
420
420
|
subnetwork="default")
|
421
421
|
membership = gcp.gkehub.Membership("membership",
|
422
|
-
membership_id="tf-test-
|
422
|
+
membership_id="tf-test-membership_75125",
|
423
423
|
endpoint=gcp.gkehub.MembershipEndpointArgs(
|
424
424
|
gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
|
425
425
|
resource_link=primary.id.apply(lambda id: f"//container.googleapis.com/{id}"),
|
426
426
|
),
|
427
427
|
))
|
428
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
428
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_88722")
|
429
429
|
membership_binding = gcp.gkehub.MembershipBinding("membership_binding",
|
430
|
-
membership_binding_id="tf-test-membership-
|
430
|
+
membership_binding_id="tf-test-membership-binding_39249",
|
431
431
|
scope=scope.name,
|
432
432
|
membership_id=membership.membership_id,
|
433
433
|
location="global",
|
@@ -512,15 +512,15 @@ class MembershipBinding(pulumi.CustomResource):
|
|
512
512
|
network="default",
|
513
513
|
subnetwork="default")
|
514
514
|
membership = gcp.gkehub.Membership("membership",
|
515
|
-
membership_id="tf-test-
|
515
|
+
membership_id="tf-test-membership_75125",
|
516
516
|
endpoint=gcp.gkehub.MembershipEndpointArgs(
|
517
517
|
gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
|
518
518
|
resource_link=primary.id.apply(lambda id: f"//container.googleapis.com/{id}"),
|
519
519
|
),
|
520
520
|
))
|
521
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
521
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_88722")
|
522
522
|
membership_binding = gcp.gkehub.MembershipBinding("membership_binding",
|
523
|
-
membership_binding_id="tf-test-membership-
|
523
|
+
membership_binding_id="tf-test-membership-binding_39249",
|
524
524
|
scope=scope.name,
|
525
525
|
membership_id=membership.membership_id,
|
526
526
|
location="global",
|
@@ -364,7 +364,7 @@ class MembershipRbacRoleBinding(pulumi.CustomResource):
|
|
364
364
|
network="default",
|
365
365
|
subnetwork="default")
|
366
366
|
membership = gcp.gkehub.Membership("membership",
|
367
|
-
membership_id="tf-test-
|
367
|
+
membership_id="tf-test-membership_74391",
|
368
368
|
endpoint=gcp.gkehub.MembershipEndpointArgs(
|
369
369
|
gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
|
370
370
|
resource_link=primary.id.apply(lambda id: f"//container.googleapis.com/{id}"),
|
@@ -372,7 +372,7 @@ class MembershipRbacRoleBinding(pulumi.CustomResource):
|
|
372
372
|
))
|
373
373
|
project = gcp.organizations.get_project()
|
374
374
|
membership_rbac_role_binding = gcp.gkehub.MembershipRbacRoleBinding("membership_rbac_role_binding",
|
375
|
-
membership_rbac_role_binding_id="tf-test-membership-rbac-role-
|
375
|
+
membership_rbac_role_binding_id="tf-test-membership-rbac-role-binding_16511",
|
376
376
|
membership_id=membership.membership_id,
|
377
377
|
user=f"service-{project.number}@gcp-sa-anthossupport.iam.gserviceaccount.com",
|
378
378
|
role=gcp.gkehub.MembershipRbacRoleBindingRoleArgs(
|
@@ -444,7 +444,7 @@ class MembershipRbacRoleBinding(pulumi.CustomResource):
|
|
444
444
|
network="default",
|
445
445
|
subnetwork="default")
|
446
446
|
membership = gcp.gkehub.Membership("membership",
|
447
|
-
membership_id="tf-test-
|
447
|
+
membership_id="tf-test-membership_74391",
|
448
448
|
endpoint=gcp.gkehub.MembershipEndpointArgs(
|
449
449
|
gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
|
450
450
|
resource_link=primary.id.apply(lambda id: f"//container.googleapis.com/{id}"),
|
@@ -452,7 +452,7 @@ class MembershipRbacRoleBinding(pulumi.CustomResource):
|
|
452
452
|
))
|
453
453
|
project = gcp.organizations.get_project()
|
454
454
|
membership_rbac_role_binding = gcp.gkehub.MembershipRbacRoleBinding("membership_rbac_role_binding",
|
455
|
-
membership_rbac_role_binding_id="tf-test-membership-rbac-role-
|
455
|
+
membership_rbac_role_binding_id="tf-test-membership-rbac-role-binding_16511",
|
456
456
|
membership_id=membership.membership_id,
|
457
457
|
user=f"service-{project.number}@gcp-sa-anthossupport.iam.gserviceaccount.com",
|
458
458
|
role=gcp.gkehub.MembershipRbacRoleBindingRoleArgs(
|
pulumi_gcp/gkehub/namespace.py
CHANGED
@@ -424,9 +424,9 @@ class Namespace(pulumi.CustomResource):
|
|
424
424
|
import pulumi
|
425
425
|
import pulumi_gcp as gcp
|
426
426
|
|
427
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
427
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_8493")
|
428
428
|
namespace = gcp.gkehub.Namespace("namespace",
|
429
|
-
scope_namespace_id="tf-test-
|
429
|
+
scope_namespace_id="tf-test-namespace_9106",
|
430
430
|
scope_id=scope.scope_id,
|
431
431
|
scope=scope.name,
|
432
432
|
namespace_labels={
|
@@ -510,9 +510,9 @@ class Namespace(pulumi.CustomResource):
|
|
510
510
|
import pulumi
|
511
511
|
import pulumi_gcp as gcp
|
512
512
|
|
513
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
513
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_8493")
|
514
514
|
namespace = gcp.gkehub.Namespace("namespace",
|
515
|
-
scope_namespace_id="tf-test-
|
515
|
+
scope_namespace_id="tf-test-namespace_9106",
|
516
516
|
scope_id=scope.scope_id,
|
517
517
|
scope=scope.name,
|
518
518
|
namespace_labels={
|
@@ -453,9 +453,9 @@ class ScopeRbacRoleBinding(pulumi.CustomResource):
|
|
453
453
|
import pulumi
|
454
454
|
import pulumi_gcp as gcp
|
455
455
|
|
456
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
456
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_27169")
|
457
457
|
scope_rbac_role_binding = gcp.gkehub.ScopeRbacRoleBinding("scope_rbac_role_binding",
|
458
|
-
scope_rbac_role_binding_id="tf-test-scope-rbac-role-
|
458
|
+
scope_rbac_role_binding_id="tf-test-scope-rbac-role-binding_75223",
|
459
459
|
scope_id=scope.scope_id,
|
460
460
|
user="test-email@gmail.com",
|
461
461
|
role=gcp.gkehub.ScopeRbacRoleBindingRoleArgs(
|
@@ -535,9 +535,9 @@ class ScopeRbacRoleBinding(pulumi.CustomResource):
|
|
535
535
|
import pulumi
|
536
536
|
import pulumi_gcp as gcp
|
537
537
|
|
538
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
538
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_27169")
|
539
539
|
scope_rbac_role_binding = gcp.gkehub.ScopeRbacRoleBinding("scope_rbac_role_binding",
|
540
|
-
scope_rbac_role_binding_id="tf-test-scope-rbac-role-
|
540
|
+
scope_rbac_role_binding_id="tf-test-scope-rbac-role-binding_75223",
|
541
541
|
scope_id=scope.scope_id,
|
542
542
|
user="test-email@gmail.com",
|
543
543
|
role=gcp.gkehub.ScopeRbacRoleBindingRoleArgs(
|
pulumi_gcp/iam/_inputs.py
CHANGED
@@ -513,6 +513,23 @@ class WorkforcePoolProviderOidcArgs:
|
|
513
513
|
.well-known path for the `issuer_uri`. Currently, RSA and EC asymmetric
|
514
514
|
keys are supported. The JWK must use following format and include only
|
515
515
|
the following fields:
|
516
|
+
```
|
517
|
+
{
|
518
|
+
"keys": [
|
519
|
+
{
|
520
|
+
"kty": "RSA/EC",
|
521
|
+
"alg": "<algorithm>",
|
522
|
+
"use": "sig",
|
523
|
+
"kid": "<key-id>",
|
524
|
+
"n": "",
|
525
|
+
"e": "",
|
526
|
+
"x": "",
|
527
|
+
"y": "",
|
528
|
+
"crv": ""
|
529
|
+
}
|
530
|
+
]
|
531
|
+
}
|
532
|
+
```
|
516
533
|
:param pulumi.Input['WorkforcePoolProviderOidcWebSsoConfigArgs'] web_sso_config: Configuration for web single sign-on for the OIDC provider. Here, web sign-in refers to console sign-in and gcloud sign-in through the browser.
|
517
534
|
Structure is documented below.
|
518
535
|
"""
|
@@ -572,6 +589,23 @@ class WorkforcePoolProviderOidcArgs:
|
|
572
589
|
.well-known path for the `issuer_uri`. Currently, RSA and EC asymmetric
|
573
590
|
keys are supported. The JWK must use following format and include only
|
574
591
|
the following fields:
|
592
|
+
```
|
593
|
+
{
|
594
|
+
"keys": [
|
595
|
+
{
|
596
|
+
"kty": "RSA/EC",
|
597
|
+
"alg": "<algorithm>",
|
598
|
+
"use": "sig",
|
599
|
+
"kid": "<key-id>",
|
600
|
+
"n": "",
|
601
|
+
"e": "",
|
602
|
+
"x": "",
|
603
|
+
"y": "",
|
604
|
+
"crv": ""
|
605
|
+
}
|
606
|
+
]
|
607
|
+
}
|
608
|
+
```
|
575
609
|
"""
|
576
610
|
return pulumi.get(self, "jwks_json")
|
577
611
|
|
@@ -812,12 +846,33 @@ class WorkloadIdentityPoolProviderOidcArgs:
|
|
812
846
|
If this list is empty, the OIDC token audience must be equal to the full canonical
|
813
847
|
resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix.
|
814
848
|
For example:
|
849
|
+
```
|
850
|
+
//iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
|
851
|
+
https://iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
|
852
|
+
```
|
815
853
|
:param pulumi.Input[str] jwks_json: OIDC JWKs in JSON String format. For details on definition of a
|
816
854
|
JWK, see https:tools.ietf.org/html/rfc7517. If not set, then we
|
817
855
|
use the `jwks_uri` from the discovery document fetched from the
|
818
856
|
.well-known path for the `issuer_uri`. Currently, RSA and EC asymmetric
|
819
857
|
keys are supported. The JWK must use following format and include only
|
820
858
|
the following fields:
|
859
|
+
```
|
860
|
+
{
|
861
|
+
"keys": [
|
862
|
+
{
|
863
|
+
"kty": "RSA/EC",
|
864
|
+
"alg": "<algorithm>",
|
865
|
+
"use": "sig",
|
866
|
+
"kid": "<key-id>",
|
867
|
+
"n": "",
|
868
|
+
"e": "",
|
869
|
+
"x": "",
|
870
|
+
"y": "",
|
871
|
+
"crv": ""
|
872
|
+
}
|
873
|
+
]
|
874
|
+
}
|
875
|
+
```
|
821
876
|
"""
|
822
877
|
pulumi.set(__self__, "issuer_uri", issuer_uri)
|
823
878
|
if allowed_audiences is not None:
|
@@ -848,6 +903,10 @@ class WorkloadIdentityPoolProviderOidcArgs:
|
|
848
903
|
If this list is empty, the OIDC token audience must be equal to the full canonical
|
849
904
|
resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix.
|
850
905
|
For example:
|
906
|
+
```
|
907
|
+
//iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
|
908
|
+
https://iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
|
909
|
+
```
|
851
910
|
"""
|
852
911
|
return pulumi.get(self, "allowed_audiences")
|
853
912
|
|
@@ -865,6 +924,23 @@ class WorkloadIdentityPoolProviderOidcArgs:
|
|
865
924
|
.well-known path for the `issuer_uri`. Currently, RSA and EC asymmetric
|
866
925
|
keys are supported. The JWK must use following format and include only
|
867
926
|
the following fields:
|
927
|
+
```
|
928
|
+
{
|
929
|
+
"keys": [
|
930
|
+
{
|
931
|
+
"kty": "RSA/EC",
|
932
|
+
"alg": "<algorithm>",
|
933
|
+
"use": "sig",
|
934
|
+
"kid": "<key-id>",
|
935
|
+
"n": "",
|
936
|
+
"e": "",
|
937
|
+
"x": "",
|
938
|
+
"y": "",
|
939
|
+
"crv": ""
|
940
|
+
}
|
941
|
+
]
|
942
|
+
}
|
943
|
+
```
|
868
944
|
"""
|
869
945
|
return pulumi.get(self, "jwks_json")
|
870
946
|
|
pulumi_gcp/iam/outputs.py
CHANGED
@@ -550,6 +550,23 @@ class WorkforcePoolProviderOidc(dict):
|
|
550
550
|
.well-known path for the `issuer_uri`. Currently, RSA and EC asymmetric
|
551
551
|
keys are supported. The JWK must use following format and include only
|
552
552
|
the following fields:
|
553
|
+
```
|
554
|
+
{
|
555
|
+
"keys": [
|
556
|
+
{
|
557
|
+
"kty": "RSA/EC",
|
558
|
+
"alg": "<algorithm>",
|
559
|
+
"use": "sig",
|
560
|
+
"kid": "<key-id>",
|
561
|
+
"n": "",
|
562
|
+
"e": "",
|
563
|
+
"x": "",
|
564
|
+
"y": "",
|
565
|
+
"crv": ""
|
566
|
+
}
|
567
|
+
]
|
568
|
+
}
|
569
|
+
```
|
553
570
|
:param 'WorkforcePoolProviderOidcWebSsoConfigArgs' web_sso_config: Configuration for web single sign-on for the OIDC provider. Here, web sign-in refers to console sign-in and gcloud sign-in through the browser.
|
554
571
|
Structure is documented below.
|
555
572
|
"""
|
@@ -597,6 +614,23 @@ class WorkforcePoolProviderOidc(dict):
|
|
597
614
|
.well-known path for the `issuer_uri`. Currently, RSA and EC asymmetric
|
598
615
|
keys are supported. The JWK must use following format and include only
|
599
616
|
the following fields:
|
617
|
+
```
|
618
|
+
{
|
619
|
+
"keys": [
|
620
|
+
{
|
621
|
+
"kty": "RSA/EC",
|
622
|
+
"alg": "<algorithm>",
|
623
|
+
"use": "sig",
|
624
|
+
"kid": "<key-id>",
|
625
|
+
"n": "",
|
626
|
+
"e": "",
|
627
|
+
"x": "",
|
628
|
+
"y": "",
|
629
|
+
"crv": ""
|
630
|
+
}
|
631
|
+
]
|
632
|
+
}
|
633
|
+
```
|
600
634
|
"""
|
601
635
|
return pulumi.get(self, "jwks_json")
|
602
636
|
|
@@ -890,12 +924,33 @@ class WorkloadIdentityPoolProviderOidc(dict):
|
|
890
924
|
If this list is empty, the OIDC token audience must be equal to the full canonical
|
891
925
|
resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix.
|
892
926
|
For example:
|
927
|
+
```
|
928
|
+
//iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
|
929
|
+
https://iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
|
930
|
+
```
|
893
931
|
:param str jwks_json: OIDC JWKs in JSON String format. For details on definition of a
|
894
932
|
JWK, see https:tools.ietf.org/html/rfc7517. If not set, then we
|
895
933
|
use the `jwks_uri` from the discovery document fetched from the
|
896
934
|
.well-known path for the `issuer_uri`. Currently, RSA and EC asymmetric
|
897
935
|
keys are supported. The JWK must use following format and include only
|
898
936
|
the following fields:
|
937
|
+
```
|
938
|
+
{
|
939
|
+
"keys": [
|
940
|
+
{
|
941
|
+
"kty": "RSA/EC",
|
942
|
+
"alg": "<algorithm>",
|
943
|
+
"use": "sig",
|
944
|
+
"kid": "<key-id>",
|
945
|
+
"n": "",
|
946
|
+
"e": "",
|
947
|
+
"x": "",
|
948
|
+
"y": "",
|
949
|
+
"crv": ""
|
950
|
+
}
|
951
|
+
]
|
952
|
+
}
|
953
|
+
```
|
899
954
|
"""
|
900
955
|
pulumi.set(__self__, "issuer_uri", issuer_uri)
|
901
956
|
if allowed_audiences is not None:
|
@@ -922,6 +977,10 @@ class WorkloadIdentityPoolProviderOidc(dict):
|
|
922
977
|
If this list is empty, the OIDC token audience must be equal to the full canonical
|
923
978
|
resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix.
|
924
979
|
For example:
|
980
|
+
```
|
981
|
+
//iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
|
982
|
+
https://iam.googleapis.com/projects/<project-number>/locations/<location>/workloadIdentityPools/<pool-id>/providers/<provider-id>
|
983
|
+
```
|
925
984
|
"""
|
926
985
|
return pulumi.get(self, "allowed_audiences")
|
927
986
|
|
@@ -935,6 +994,23 @@ class WorkloadIdentityPoolProviderOidc(dict):
|
|
935
994
|
.well-known path for the `issuer_uri`. Currently, RSA and EC asymmetric
|
936
995
|
keys are supported. The JWK must use following format and include only
|
937
996
|
the following fields:
|
997
|
+
```
|
998
|
+
{
|
999
|
+
"keys": [
|
1000
|
+
{
|
1001
|
+
"kty": "RSA/EC",
|
1002
|
+
"alg": "<algorithm>",
|
1003
|
+
"use": "sig",
|
1004
|
+
"kid": "<key-id>",
|
1005
|
+
"n": "",
|
1006
|
+
"e": "",
|
1007
|
+
"x": "",
|
1008
|
+
"y": "",
|
1009
|
+
"crv": ""
|
1010
|
+
}
|
1011
|
+
]
|
1012
|
+
}
|
1013
|
+
```
|
938
1014
|
"""
|
939
1015
|
return pulumi.get(self, "jwks_json")
|
940
1016
|
|