pulumi-gcp 8.17.0a1738349438__py3-none-any.whl → 8.18.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 +24 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/alloydb/user.py +10 -1
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/beyondcorp/__init__.py +4 -0
- pulumi_gcp/beyondcorp/_inputs.py +130 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
- pulumi_gcp/beyondcorp/outputs.py +76 -0
- pulumi_gcp/beyondcorp/security_gateway.py +52 -25
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/dataset.py +7 -7
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigquery/table.py +61 -7
- pulumi_gcp/chronicle/retrohunt.py +0 -16
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
- pulumi_gcp/compute/_inputs.py +9 -9
- pulumi_gcp/compute/get_network.py +3 -3
- pulumi_gcp/compute/network.py +7 -7
- pulumi_gcp/compute/outputs.py +6 -6
- pulumi_gcp/compute/router_peer.py +112 -0
- pulumi_gcp/container/_inputs.py +79 -20
- pulumi_gcp/container/outputs.py +75 -12
- pulumi_gcp/dataproc/_inputs.py +34 -0
- pulumi_gcp/dataproc/outputs.py +37 -0
- pulumi_gcp/dataproc/workflow_template.py +47 -0
- pulumi_gcp/firestore/field.py +60 -0
- pulumi_gcp/gkehub/_inputs.py +20 -0
- 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/outputs.py +26 -1
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/netapp/storage_pool.py +1 -1
- pulumi_gcp/networkconnectivity/spoke.py +76 -14
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +3 -0
- pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
- pulumi_gcp/parametermanager/get_parameters.py +140 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
- pulumi_gcp/parametermanager/outputs.py +156 -0
- pulumi_gcp/pubsub/_inputs.py +264 -0
- pulumi_gcp/pubsub/outputs.py +353 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +70 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/resourcemanager/lien.py +12 -0
- pulumi_gcp/secretmanager/regional_secret.py +4 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
- pulumi_gcp/secretmanager/secret.py +4 -0
- pulumi_gcp/secretmanager/secret_version.py +12 -0
- pulumi_gcp/securityposture/posture.py +4 -0
- pulumi_gcp/securityposture/posture_deployment.py +4 -0
- pulumi_gcp/serviceaccount/get_s.py +98 -8
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/backup_schedule.py +70 -4
- pulumi_gcp/spanner/outputs.py +60 -0
- pulumi_gcp/storage/get_bucket_object_content.py +4 -4
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/workflows/workflow.py +175 -0
- {pulumi_gcp-8.17.0a1738349438.dist-info → pulumi_gcp-8.18.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.17.0a1738349438.dist-info → pulumi_gcp-8.18.0.dist-info}/RECORD +69 -62
- {pulumi_gcp-8.17.0a1738349438.dist-info → pulumi_gcp-8.18.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.17.0a1738349438.dist-info → pulumi_gcp-8.18.0.dist-info}/top_level.txt +0 -0
@@ -423,16 +423,16 @@ class MembershipBinding(pulumi.CustomResource):
|
|
423
423
|
network="default",
|
424
424
|
subnetwork="default")
|
425
425
|
membership = gcp.gkehub.Membership("membership",
|
426
|
-
membership_id="tf-test-
|
426
|
+
membership_id="tf-test-membership_41819",
|
427
427
|
endpoint={
|
428
428
|
"gke_cluster": {
|
429
429
|
"resource_link": primary.id.apply(lambda id: f"//container.googleapis.com/{id}"),
|
430
430
|
},
|
431
431
|
},
|
432
432
|
opts = pulumi.ResourceOptions(depends_on=[primary]))
|
433
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
433
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_75092")
|
434
434
|
membership_binding = gcp.gkehub.MembershipBinding("membership_binding",
|
435
|
-
membership_binding_id="tf-test-membership-
|
435
|
+
membership_binding_id="tf-test-membership-binding_2605",
|
436
436
|
scope=scope.name,
|
437
437
|
membership_id=membership.membership_id,
|
438
438
|
location="global",
|
@@ -519,16 +519,16 @@ class MembershipBinding(pulumi.CustomResource):
|
|
519
519
|
network="default",
|
520
520
|
subnetwork="default")
|
521
521
|
membership = gcp.gkehub.Membership("membership",
|
522
|
-
membership_id="tf-test-
|
522
|
+
membership_id="tf-test-membership_41819",
|
523
523
|
endpoint={
|
524
524
|
"gke_cluster": {
|
525
525
|
"resource_link": primary.id.apply(lambda id: f"//container.googleapis.com/{id}"),
|
526
526
|
},
|
527
527
|
},
|
528
528
|
opts = pulumi.ResourceOptions(depends_on=[primary]))
|
529
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
529
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_75092")
|
530
530
|
membership_binding = gcp.gkehub.MembershipBinding("membership_binding",
|
531
|
-
membership_binding_id="tf-test-membership-
|
531
|
+
membership_binding_id="tf-test-membership-binding_2605",
|
532
532
|
scope=scope.name,
|
533
533
|
membership_id=membership.membership_id,
|
534
534
|
location="global",
|
@@ -356,7 +356,7 @@ class MembershipRbacRoleBinding(pulumi.CustomResource):
|
|
356
356
|
network="default",
|
357
357
|
subnetwork="default")
|
358
358
|
membership = gcp.gkehub.Membership("membership",
|
359
|
-
membership_id="tf-test-
|
359
|
+
membership_id="tf-test-membership_34535",
|
360
360
|
endpoint={
|
361
361
|
"gke_cluster": {
|
362
362
|
"resource_link": primary.id.apply(lambda id: f"//container.googleapis.com/{id}"),
|
@@ -365,7 +365,7 @@ class MembershipRbacRoleBinding(pulumi.CustomResource):
|
|
365
365
|
opts = pulumi.ResourceOptions(depends_on=[primary]))
|
366
366
|
project = gcp.organizations.get_project()
|
367
367
|
membership_rbac_role_binding = gcp.gkehub.MembershipRbacRoleBinding("membership_rbac_role_binding",
|
368
|
-
membership_rbac_role_binding_id="tf-test-membership-rbac-role-
|
368
|
+
membership_rbac_role_binding_id="tf-test-membership-rbac-role-binding_22375",
|
369
369
|
membership_id=membership.membership_id,
|
370
370
|
user=f"service-{project.number}@gcp-sa-anthossupport.iam.gserviceaccount.com",
|
371
371
|
role={
|
@@ -434,7 +434,7 @@ class MembershipRbacRoleBinding(pulumi.CustomResource):
|
|
434
434
|
network="default",
|
435
435
|
subnetwork="default")
|
436
436
|
membership = gcp.gkehub.Membership("membership",
|
437
|
-
membership_id="tf-test-
|
437
|
+
membership_id="tf-test-membership_34535",
|
438
438
|
endpoint={
|
439
439
|
"gke_cluster": {
|
440
440
|
"resource_link": primary.id.apply(lambda id: f"//container.googleapis.com/{id}"),
|
@@ -443,7 +443,7 @@ class MembershipRbacRoleBinding(pulumi.CustomResource):
|
|
443
443
|
opts = pulumi.ResourceOptions(depends_on=[primary]))
|
444
444
|
project = gcp.organizations.get_project()
|
445
445
|
membership_rbac_role_binding = gcp.gkehub.MembershipRbacRoleBinding("membership_rbac_role_binding",
|
446
|
-
membership_rbac_role_binding_id="tf-test-membership-rbac-role-
|
446
|
+
membership_rbac_role_binding_id="tf-test-membership-rbac-role-binding_22375",
|
447
447
|
membership_id=membership.membership_id,
|
448
448
|
user=f"service-{project.number}@gcp-sa-anthossupport.iam.gserviceaccount.com",
|
449
449
|
role={
|
pulumi_gcp/gkehub/namespace.py
CHANGED
@@ -428,9 +428,9 @@ class Namespace(pulumi.CustomResource):
|
|
428
428
|
import pulumi
|
429
429
|
import pulumi_gcp as gcp
|
430
430
|
|
431
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
431
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_29439")
|
432
432
|
namespace = gcp.gkehub.Namespace("namespace",
|
433
|
-
scope_namespace_id="tf-test-
|
433
|
+
scope_namespace_id="tf-test-namespace_87786",
|
434
434
|
scope_id=scope.scope_id,
|
435
435
|
scope=scope.name,
|
436
436
|
namespace_labels={
|
@@ -513,9 +513,9 @@ class Namespace(pulumi.CustomResource):
|
|
513
513
|
import pulumi
|
514
514
|
import pulumi_gcp as gcp
|
515
515
|
|
516
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
516
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_29439")
|
517
517
|
namespace = gcp.gkehub.Namespace("namespace",
|
518
|
-
scope_namespace_id="tf-test-
|
518
|
+
scope_namespace_id="tf-test-namespace_87786",
|
519
519
|
scope_id=scope.scope_id,
|
520
520
|
scope=scope.name,
|
521
521
|
namespace_labels={
|
pulumi_gcp/gkehub/outputs.py
CHANGED
@@ -240,7 +240,9 @@ class FeatureFleetDefaultMemberConfigConfigmanagementConfigSync(dict):
|
|
240
240
|
@staticmethod
|
241
241
|
def __key_warning(key: str):
|
242
242
|
suggest = None
|
243
|
-
if key == "
|
243
|
+
if key == "metricsGcpServiceAccountEmail":
|
244
|
+
suggest = "metrics_gcp_service_account_email"
|
245
|
+
elif key == "preventDrift":
|
244
246
|
suggest = "prevent_drift"
|
245
247
|
elif key == "sourceFormat":
|
246
248
|
suggest = "source_format"
|
@@ -259,6 +261,7 @@ class FeatureFleetDefaultMemberConfigConfigmanagementConfigSync(dict):
|
|
259
261
|
def __init__(__self__, *,
|
260
262
|
enabled: Optional[bool] = None,
|
261
263
|
git: Optional['outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit'] = None,
|
264
|
+
metrics_gcp_service_account_email: Optional[str] = None,
|
262
265
|
oci: Optional['outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci'] = None,
|
263
266
|
prevent_drift: Optional[bool] = None,
|
264
267
|
source_format: Optional[str] = None):
|
@@ -266,6 +269,7 @@ class FeatureFleetDefaultMemberConfigConfigmanagementConfigSync(dict):
|
|
266
269
|
:param bool enabled: Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.
|
267
270
|
:param 'FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs' git: Git repo configuration for the cluster
|
268
271
|
Structure is documented below.
|
272
|
+
:param str metrics_gcp_service_account_email: The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring. The GSA should have the Monitoring Metric Writer(roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.
|
269
273
|
:param 'FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOciArgs' oci: OCI repo configuration for the cluster
|
270
274
|
Structure is documented below.
|
271
275
|
:param bool prevent_drift: Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts.
|
@@ -275,6 +279,8 @@ class FeatureFleetDefaultMemberConfigConfigmanagementConfigSync(dict):
|
|
275
279
|
pulumi.set(__self__, "enabled", enabled)
|
276
280
|
if git is not None:
|
277
281
|
pulumi.set(__self__, "git", git)
|
282
|
+
if metrics_gcp_service_account_email is not None:
|
283
|
+
pulumi.set(__self__, "metrics_gcp_service_account_email", metrics_gcp_service_account_email)
|
278
284
|
if oci is not None:
|
279
285
|
pulumi.set(__self__, "oci", oci)
|
280
286
|
if prevent_drift is not None:
|
@@ -299,6 +305,14 @@ class FeatureFleetDefaultMemberConfigConfigmanagementConfigSync(dict):
|
|
299
305
|
"""
|
300
306
|
return pulumi.get(self, "git")
|
301
307
|
|
308
|
+
@property
|
309
|
+
@pulumi.getter(name="metricsGcpServiceAccountEmail")
|
310
|
+
def metrics_gcp_service_account_email(self) -> Optional[str]:
|
311
|
+
"""
|
312
|
+
The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring. The GSA should have the Monitoring Metric Writer(roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.
|
313
|
+
"""
|
314
|
+
return pulumi.get(self, "metrics_gcp_service_account_email")
|
315
|
+
|
302
316
|
@property
|
303
317
|
@pulumi.getter
|
304
318
|
def oci(self) -> Optional['outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci']:
|
@@ -3773,18 +3787,21 @@ class GetFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncResult(dict):
|
|
3773
3787
|
def __init__(__self__, *,
|
3774
3788
|
enabled: bool,
|
3775
3789
|
gits: Sequence['outputs.GetFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitResult'],
|
3790
|
+
metrics_gcp_service_account_email: str,
|
3776
3791
|
ocis: Sequence['outputs.GetFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOciResult'],
|
3777
3792
|
prevent_drift: bool,
|
3778
3793
|
source_format: str):
|
3779
3794
|
"""
|
3780
3795
|
:param bool enabled: Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.
|
3781
3796
|
:param Sequence['GetFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs'] gits: Git repo configuration for the cluster
|
3797
|
+
:param str metrics_gcp_service_account_email: The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring. The GSA should have the Monitoring Metric Writer(roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount 'default' in the namespace 'config-management-monitoring' should be bound to the GSA.
|
3782
3798
|
:param Sequence['GetFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOciArgs'] ocis: OCI repo configuration for the cluster
|
3783
3799
|
:param bool prevent_drift: Set to true to enable the Config Sync admission webhook to prevent drifts. If set to 'false', disables the Config Sync admission webhook and does not prevent drifts.
|
3784
3800
|
:param str source_format: Specifies whether the Config Sync Repo is in hierarchical or unstructured mode
|
3785
3801
|
"""
|
3786
3802
|
pulumi.set(__self__, "enabled", enabled)
|
3787
3803
|
pulumi.set(__self__, "gits", gits)
|
3804
|
+
pulumi.set(__self__, "metrics_gcp_service_account_email", metrics_gcp_service_account_email)
|
3788
3805
|
pulumi.set(__self__, "ocis", ocis)
|
3789
3806
|
pulumi.set(__self__, "prevent_drift", prevent_drift)
|
3790
3807
|
pulumi.set(__self__, "source_format", source_format)
|
@@ -3805,6 +3822,14 @@ class GetFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncResult(dict):
|
|
3805
3822
|
"""
|
3806
3823
|
return pulumi.get(self, "gits")
|
3807
3824
|
|
3825
|
+
@property
|
3826
|
+
@pulumi.getter(name="metricsGcpServiceAccountEmail")
|
3827
|
+
def metrics_gcp_service_account_email(self) -> str:
|
3828
|
+
"""
|
3829
|
+
The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring. The GSA should have the Monitoring Metric Writer(roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount 'default' in the namespace 'config-management-monitoring' should be bound to the GSA.
|
3830
|
+
"""
|
3831
|
+
return pulumi.get(self, "metrics_gcp_service_account_email")
|
3832
|
+
|
3808
3833
|
@property
|
3809
3834
|
@pulumi.getter
|
3810
3835
|
def ocis(self) -> Sequence['outputs.GetFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOciResult']:
|
@@ -429,9 +429,9 @@ class ScopeRbacRoleBinding(pulumi.CustomResource):
|
|
429
429
|
import pulumi
|
430
430
|
import pulumi_gcp as gcp
|
431
431
|
|
432
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
432
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_2067")
|
433
433
|
scope_rbac_role_binding = gcp.gkehub.ScopeRbacRoleBinding("scope_rbac_role_binding",
|
434
|
-
scope_rbac_role_binding_id="tf-test-scope-rbac-role-
|
434
|
+
scope_rbac_role_binding_id="tf-test-scope-rbac-role-binding_40785",
|
435
435
|
scope_id=scope.scope_id,
|
436
436
|
user="test-email@gmail.com",
|
437
437
|
role={
|
@@ -504,9 +504,9 @@ class ScopeRbacRoleBinding(pulumi.CustomResource):
|
|
504
504
|
import pulumi
|
505
505
|
import pulumi_gcp as gcp
|
506
506
|
|
507
|
-
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-
|
507
|
+
scope = gcp.gkehub.Scope("scope", scope_id="tf-test-scope_2067")
|
508
508
|
scope_rbac_role_binding = gcp.gkehub.ScopeRbacRoleBinding("scope_rbac_role_binding",
|
509
|
-
scope_rbac_role_binding_id="tf-test-scope-rbac-role-
|
509
|
+
scope_rbac_role_binding_id="tf-test-scope-rbac-role-binding_40785",
|
510
510
|
scope_id=scope.scope_id,
|
511
511
|
user="test-email@gmail.com",
|
512
512
|
role={
|
@@ -253,7 +253,7 @@ class TunnelDestGroup(pulumi.CustomResource):
|
|
253
253
|
|
254
254
|
dest_group = gcp.iap.TunnelDestGroup("dest_group",
|
255
255
|
region="us-central1",
|
256
|
-
group_name="
|
256
|
+
group_name="testgroup_79169",
|
257
257
|
cidrs=[
|
258
258
|
"10.1.0.0/16",
|
259
259
|
"192.168.10.0/24",
|
@@ -339,7 +339,7 @@ class TunnelDestGroup(pulumi.CustomResource):
|
|
339
339
|
|
340
340
|
dest_group = gcp.iap.TunnelDestGroup("dest_group",
|
341
341
|
region="us-central1",
|
342
|
-
group_name="
|
342
|
+
group_name="testgroup_79169",
|
343
343
|
cidrs=[
|
344
344
|
"10.1.0.0/16",
|
345
345
|
"192.168.10.0/24",
|
@@ -378,8 +378,8 @@ class ManagedZone(pulumi.CustomResource):
|
|
378
378
|
import pulumi_gcp as gcp
|
379
379
|
|
380
380
|
target_project = gcp.organizations.Project("target_project",
|
381
|
-
project_id="tf-
|
382
|
-
name="tf-
|
381
|
+
project_id="tf-test_56529",
|
382
|
+
name="tf-test_75413",
|
383
383
|
org_id="123456789",
|
384
384
|
billing_account="000000-0000000-0000000-000000",
|
385
385
|
deletion_policy="DELETE")
|
@@ -400,8 +400,8 @@ class ManagedZone(pulumi.CustomResource):
|
|
400
400
|
auto_create_subnetworks=False,
|
401
401
|
opts = pulumi.ResourceOptions(depends_on=[compute]))
|
402
402
|
zone = gcp.dns.ManagedZone("zone",
|
403
|
-
name="tf-test-
|
404
|
-
dns_name="
|
403
|
+
name="tf-test-dns_55138",
|
404
|
+
dns_name="private_37559.example.com.",
|
405
405
|
visibility="private",
|
406
406
|
private_visibility_config={
|
407
407
|
"networks": [{
|
@@ -489,8 +489,8 @@ class ManagedZone(pulumi.CustomResource):
|
|
489
489
|
import pulumi_gcp as gcp
|
490
490
|
|
491
491
|
target_project = gcp.organizations.Project("target_project",
|
492
|
-
project_id="tf-
|
493
|
-
name="tf-
|
492
|
+
project_id="tf-test_56529",
|
493
|
+
name="tf-test_75413",
|
494
494
|
org_id="123456789",
|
495
495
|
billing_account="000000-0000000-0000000-000000",
|
496
496
|
deletion_policy="DELETE")
|
@@ -511,8 +511,8 @@ class ManagedZone(pulumi.CustomResource):
|
|
511
511
|
auto_create_subnetworks=False,
|
512
512
|
opts = pulumi.ResourceOptions(depends_on=[compute]))
|
513
513
|
zone = gcp.dns.ManagedZone("zone",
|
514
|
-
name="tf-test-
|
515
|
-
dns_name="
|
514
|
+
name="tf-test-dns_55138",
|
515
|
+
dns_name="private_37559.example.com.",
|
516
516
|
visibility="private",
|
517
517
|
private_visibility_config={
|
518
518
|
"networks": [{
|
@@ -1132,7 +1132,7 @@ class StoragePool(pulumi.CustomResource):
|
|
1132
1132
|
|
1133
1133
|
@property
|
1134
1134
|
@pulumi.getter
|
1135
|
-
def zone(self) -> pulumi.Output[
|
1135
|
+
def zone(self) -> pulumi.Output[str]:
|
1136
1136
|
"""
|
1137
1137
|
Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
1138
1138
|
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
@@ -669,15 +669,15 @@ class Spoke(pulumi.CustomResource):
|
|
669
669
|
import pulumi_gcp as gcp
|
670
670
|
|
671
671
|
network = gcp.compute.Network("network",
|
672
|
-
name="tf-test-
|
672
|
+
name="tf-test-network_91980",
|
673
673
|
auto_create_subnetworks=False)
|
674
674
|
subnetwork = gcp.compute.Subnetwork("subnetwork",
|
675
|
-
name="tf-test-
|
675
|
+
name="tf-test-subnet_37118",
|
676
676
|
ip_cidr_range="10.0.0.0/28",
|
677
677
|
region="us-central1",
|
678
678
|
network=network.self_link)
|
679
679
|
instance = gcp.compute.Instance("instance",
|
680
|
-
name="tf-test-
|
680
|
+
name="tf-test-instance_80332",
|
681
681
|
machine_type="e2-medium",
|
682
682
|
can_ip_forward=True,
|
683
683
|
zone="us-central1-a",
|
@@ -694,13 +694,13 @@ class Spoke(pulumi.CustomResource):
|
|
694
694
|
}],
|
695
695
|
}])
|
696
696
|
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
697
|
-
name="tf-test-
|
697
|
+
name="tf-test-hub_13293",
|
698
698
|
description="A sample hub",
|
699
699
|
labels={
|
700
700
|
"label-two": "value-one",
|
701
701
|
})
|
702
702
|
primary = gcp.networkconnectivity.Spoke("primary",
|
703
|
-
name="tf-test-
|
703
|
+
name="tf-test-name_40289",
|
704
704
|
location="us-central1",
|
705
705
|
description="A sample spoke with a linked routher appliance instance",
|
706
706
|
labels={
|
@@ -932,8 +932,8 @@ class Spoke(pulumi.CustomResource):
|
|
932
932
|
hub=star_hub.id,
|
933
933
|
auto_accept={
|
934
934
|
"auto_accept_projects": [
|
935
|
-
"
|
936
|
-
"
|
935
|
+
"foo_33395",
|
936
|
+
"bar_76044",
|
937
937
|
],
|
938
938
|
})
|
939
939
|
primary = gcp.networkconnectivity.Spoke("primary",
|
@@ -949,6 +949,37 @@ class Spoke(pulumi.CustomResource):
|
|
949
949
|
"uri": network.self_link,
|
950
950
|
})
|
951
951
|
```
|
952
|
+
### Network Connectivity Spoke Linked Vpc Network Ipv6 Support
|
953
|
+
|
954
|
+
```python
|
955
|
+
import pulumi
|
956
|
+
import pulumi_gcp as gcp
|
957
|
+
|
958
|
+
network = gcp.compute.Network("network",
|
959
|
+
name="net",
|
960
|
+
auto_create_subnetworks=False)
|
961
|
+
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
962
|
+
name="hub1",
|
963
|
+
description="A sample hub",
|
964
|
+
labels={
|
965
|
+
"label-two": "value-one",
|
966
|
+
})
|
967
|
+
primary = gcp.networkconnectivity.Spoke("primary",
|
968
|
+
name="spoke1-ipv6",
|
969
|
+
location="global",
|
970
|
+
description="A sample spoke with a linked VPC that include export ranges of all IPv6",
|
971
|
+
labels={
|
972
|
+
"label-one": "value-one",
|
973
|
+
},
|
974
|
+
hub=basic_hub.id,
|
975
|
+
linked_vpc_network={
|
976
|
+
"include_export_ranges": [
|
977
|
+
"ALL_IPV6_RANGES",
|
978
|
+
"ALL_PRIVATE_IPV4_RANGES",
|
979
|
+
],
|
980
|
+
"uri": network.self_link,
|
981
|
+
})
|
982
|
+
```
|
952
983
|
|
953
984
|
## Import
|
954
985
|
|
@@ -1099,15 +1130,15 @@ class Spoke(pulumi.CustomResource):
|
|
1099
1130
|
import pulumi_gcp as gcp
|
1100
1131
|
|
1101
1132
|
network = gcp.compute.Network("network",
|
1102
|
-
name="tf-test-
|
1133
|
+
name="tf-test-network_91980",
|
1103
1134
|
auto_create_subnetworks=False)
|
1104
1135
|
subnetwork = gcp.compute.Subnetwork("subnetwork",
|
1105
|
-
name="tf-test-
|
1136
|
+
name="tf-test-subnet_37118",
|
1106
1137
|
ip_cidr_range="10.0.0.0/28",
|
1107
1138
|
region="us-central1",
|
1108
1139
|
network=network.self_link)
|
1109
1140
|
instance = gcp.compute.Instance("instance",
|
1110
|
-
name="tf-test-
|
1141
|
+
name="tf-test-instance_80332",
|
1111
1142
|
machine_type="e2-medium",
|
1112
1143
|
can_ip_forward=True,
|
1113
1144
|
zone="us-central1-a",
|
@@ -1124,13 +1155,13 @@ class Spoke(pulumi.CustomResource):
|
|
1124
1155
|
}],
|
1125
1156
|
}])
|
1126
1157
|
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
1127
|
-
name="tf-test-
|
1158
|
+
name="tf-test-hub_13293",
|
1128
1159
|
description="A sample hub",
|
1129
1160
|
labels={
|
1130
1161
|
"label-two": "value-one",
|
1131
1162
|
})
|
1132
1163
|
primary = gcp.networkconnectivity.Spoke("primary",
|
1133
|
-
name="tf-test-
|
1164
|
+
name="tf-test-name_40289",
|
1134
1165
|
location="us-central1",
|
1135
1166
|
description="A sample spoke with a linked routher appliance instance",
|
1136
1167
|
labels={
|
@@ -1362,8 +1393,8 @@ class Spoke(pulumi.CustomResource):
|
|
1362
1393
|
hub=star_hub.id,
|
1363
1394
|
auto_accept={
|
1364
1395
|
"auto_accept_projects": [
|
1365
|
-
"
|
1366
|
-
"
|
1396
|
+
"foo_33395",
|
1397
|
+
"bar_76044",
|
1367
1398
|
],
|
1368
1399
|
})
|
1369
1400
|
primary = gcp.networkconnectivity.Spoke("primary",
|
@@ -1379,6 +1410,37 @@ class Spoke(pulumi.CustomResource):
|
|
1379
1410
|
"uri": network.self_link,
|
1380
1411
|
})
|
1381
1412
|
```
|
1413
|
+
### Network Connectivity Spoke Linked Vpc Network Ipv6 Support
|
1414
|
+
|
1415
|
+
```python
|
1416
|
+
import pulumi
|
1417
|
+
import pulumi_gcp as gcp
|
1418
|
+
|
1419
|
+
network = gcp.compute.Network("network",
|
1420
|
+
name="net",
|
1421
|
+
auto_create_subnetworks=False)
|
1422
|
+
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
1423
|
+
name="hub1",
|
1424
|
+
description="A sample hub",
|
1425
|
+
labels={
|
1426
|
+
"label-two": "value-one",
|
1427
|
+
})
|
1428
|
+
primary = gcp.networkconnectivity.Spoke("primary",
|
1429
|
+
name="spoke1-ipv6",
|
1430
|
+
location="global",
|
1431
|
+
description="A sample spoke with a linked VPC that include export ranges of all IPv6",
|
1432
|
+
labels={
|
1433
|
+
"label-one": "value-one",
|
1434
|
+
},
|
1435
|
+
hub=basic_hub.id,
|
1436
|
+
linked_vpc_network={
|
1437
|
+
"include_export_ranges": [
|
1438
|
+
"ALL_IPV6_RANGES",
|
1439
|
+
"ALL_PRIVATE_IPV4_RANGES",
|
1440
|
+
],
|
1441
|
+
"uri": network.self_link,
|
1442
|
+
})
|
1443
|
+
```
|
1382
1444
|
|
1383
1445
|
## Import
|
1384
1446
|
|
pulumi_gcp/orgpolicy/policy.py
CHANGED
@@ -313,7 +313,7 @@ class Policy(pulumi.CustomResource):
|
|
313
313
|
import pulumi_gcp as gcp
|
314
314
|
|
315
315
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
316
|
-
name="custom.
|
316
|
+
name="custom.disableGkeAutoUpgrade_8270",
|
317
317
|
parent="organizations/123456789",
|
318
318
|
display_name="Disable GKE auto upgrade",
|
319
319
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -502,7 +502,7 @@ class Policy(pulumi.CustomResource):
|
|
502
502
|
import pulumi_gcp as gcp
|
503
503
|
|
504
504
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
505
|
-
name="custom.
|
505
|
+
name="custom.disableGkeAutoUpgrade_8270",
|
506
506
|
parent="organizations/123456789",
|
507
507
|
display_name="Disable GKE auto upgrade",
|
508
508
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -6,7 +6,10 @@ from .. import _utilities
|
|
6
6
|
import typing
|
7
7
|
# Export this package's modules as members:
|
8
8
|
from .get_parameter import *
|
9
|
+
from .get_parameter_version import *
|
10
|
+
from .get_parameters import *
|
9
11
|
from .get_regional_parameter import *
|
12
|
+
from .get_regional_parameter_version import *
|
10
13
|
from .get_regional_parameters import *
|
11
14
|
from .parameter import *
|
12
15
|
from .parameter_version import *
|