pulumi-gcp 8.3.0__py3-none-any.whl → 8.3.0a1726726047__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.
Files changed (76) hide show
  1. pulumi_gcp/__init__.py +0 -120
  2. pulumi_gcp/alloydb/_inputs.py +0 -20
  3. pulumi_gcp/alloydb/instance.py +0 -36
  4. pulumi_gcp/alloydb/outputs.py +0 -14
  5. pulumi_gcp/compute/__init__.py +0 -1
  6. pulumi_gcp/compute/_inputs.py +0 -1400
  7. pulumi_gcp/compute/attached_disk.py +0 -103
  8. pulumi_gcp/compute/backend_service.py +22 -29
  9. pulumi_gcp/compute/outputs.py +0 -1019
  10. pulumi_gcp/compute/region_backend_service.py +22 -29
  11. pulumi_gcp/compute/router_nat.py +66 -27
  12. pulumi_gcp/config/__init__.pyi +0 -2
  13. pulumi_gcp/config/vars.py +0 -4
  14. pulumi_gcp/container/_inputs.py +99 -72
  15. pulumi_gcp/container/outputs.py +70 -53
  16. pulumi_gcp/databasemigrationservice/__init__.py +0 -1
  17. pulumi_gcp/databasemigrationservice/_inputs.py +0 -362
  18. pulumi_gcp/databasemigrationservice/outputs.py +0 -268
  19. pulumi_gcp/dataproc/get_metastore_service.py +1 -11
  20. pulumi_gcp/dataproc/metastore_service.py +0 -93
  21. pulumi_gcp/developerconnect/_inputs.py +39 -42
  22. pulumi_gcp/developerconnect/connection.py +83 -86
  23. pulumi_gcp/developerconnect/outputs.py +26 -28
  24. pulumi_gcp/discoveryengine/__init__.py +0 -1
  25. pulumi_gcp/discoveryengine/_inputs.py +0 -131
  26. pulumi_gcp/discoveryengine/outputs.py +0 -131
  27. pulumi_gcp/dns/managed_zone.py +1 -1
  28. pulumi_gcp/filestore/get_instance.py +1 -21
  29. pulumi_gcp/filestore/instance.py +0 -94
  30. pulumi_gcp/gkehub/feature_membership.py +62 -140
  31. pulumi_gcp/healthcare/__init__.py +0 -1
  32. pulumi_gcp/healthcare/_inputs.py +0 -39
  33. pulumi_gcp/healthcare/outputs.py +0 -40
  34. pulumi_gcp/looker/instance.py +0 -81
  35. pulumi_gcp/netapp/_inputs.py +0 -63
  36. pulumi_gcp/netapp/outputs.py +0 -57
  37. pulumi_gcp/netapp/storage_pool.py +0 -54
  38. pulumi_gcp/netapp/volume.py +0 -82
  39. pulumi_gcp/provider.py +0 -20
  40. pulumi_gcp/pubsub/subscription.py +7 -43
  41. pulumi_gcp/pulumi-plugin.json +1 -1
  42. pulumi_gcp/secretmanager/__init__.py +0 -8
  43. pulumi_gcp/secretmanager/_inputs.py +0 -308
  44. pulumi_gcp/secretmanager/outputs.py +0 -336
  45. pulumi_gcp/securitycenter/__init__.py +0 -4
  46. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +2 -6
  47. pulumi_gcp/siteverification/__init__.py +0 -3
  48. pulumi_gcp/spanner/__init__.py +0 -1
  49. pulumi_gcp/spanner/_inputs.py +0 -129
  50. pulumi_gcp/spanner/get_instance.py +1 -11
  51. pulumi_gcp/spanner/instance.py +0 -56
  52. pulumi_gcp/spanner/outputs.py +0 -93
  53. {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726726047.dist-info}/METADATA +1 -1
  54. {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726726047.dist-info}/RECORD +56 -76
  55. pulumi_gcp/compute/firewall_policy_with_rules.py +0 -769
  56. pulumi_gcp/databasemigrationservice/migration_job.py +0 -1739
  57. pulumi_gcp/discoveryengine/target_site.py +0 -870
  58. pulumi_gcp/healthcare/workspace.py +0 -465
  59. pulumi_gcp/secretmanager/get_regional_secret.py +0 -279
  60. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +0 -173
  61. pulumi_gcp/secretmanager/get_regional_secret_version.py +0 -241
  62. pulumi_gcp/secretmanager/regional_secret.py +0 -1433
  63. pulumi_gcp/secretmanager/regional_secret_iam_binding.py +0 -1082
  64. pulumi_gcp/secretmanager/regional_secret_iam_member.py +0 -1082
  65. pulumi_gcp/secretmanager/regional_secret_iam_policy.py +0 -901
  66. pulumi_gcp/secretmanager/regional_secret_version.py +0 -753
  67. pulumi_gcp/securitycenter/folder_scc_big_query_export.py +0 -795
  68. pulumi_gcp/securitycenter/organization_scc_big_query_export.py +0 -738
  69. pulumi_gcp/securitycenter/project_scc_big_query_export.py +0 -749
  70. pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +0 -862
  71. pulumi_gcp/siteverification/_inputs.py +0 -85
  72. pulumi_gcp/siteverification/outputs.py +0 -57
  73. pulumi_gcp/siteverification/web_resource.py +0 -398
  74. pulumi_gcp/spanner/backup_schedule.py +0 -748
  75. {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726726047.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726726047.dist-info}/top_level.txt +0 -0
@@ -113,8 +113,7 @@ class RegionBackendServiceArgs:
113
113
  build times and host selection times. For more information about
114
114
  Maglev, refer to https://ai.google/research/pubs/pub44824
115
115
  * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
116
- reported weights. Only applicable to loadBalancingScheme
117
- EXTERNAL. If set, the Backend Service must
116
+ reported weights. If set, the Backend Service must
118
117
  configure a non legacy HTTP-based Health Check, and
119
118
  health check replies are expected to contain
120
119
  non-standard HTTP response header field
@@ -125,14 +124,14 @@ class RegionBackendServiceArgs:
125
124
  instance either reported a valid weight or had
126
125
  UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
127
126
  equal-weight.
128
- locality_lb_policy is applicable to either:
127
+ This field is applicable to either:
129
128
  * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
130
129
  and loadBalancingScheme set to INTERNAL_MANAGED.
131
130
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
132
131
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
133
132
  Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
134
133
  Network Load Balancing. The default is MAGLEV.
135
- If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
134
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
136
135
  or RING_HASH, session affinity settings will not take effect.
137
136
  Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
138
137
  by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
@@ -447,8 +446,7 @@ class RegionBackendServiceArgs:
447
446
  build times and host selection times. For more information about
448
447
  Maglev, refer to https://ai.google/research/pubs/pub44824
449
448
  * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
450
- reported weights. Only applicable to loadBalancingScheme
451
- EXTERNAL. If set, the Backend Service must
449
+ reported weights. If set, the Backend Service must
452
450
  configure a non legacy HTTP-based Health Check, and
453
451
  health check replies are expected to contain
454
452
  non-standard HTTP response header field
@@ -459,14 +457,14 @@ class RegionBackendServiceArgs:
459
457
  instance either reported a valid weight or had
460
458
  UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
461
459
  equal-weight.
462
- locality_lb_policy is applicable to either:
460
+ This field is applicable to either:
463
461
  * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
464
462
  and loadBalancingScheme set to INTERNAL_MANAGED.
465
463
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
466
464
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
467
465
  Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
468
466
  Network Load Balancing. The default is MAGLEV.
469
- If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
467
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
470
468
  or RING_HASH, session affinity settings will not take effect.
471
469
  Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
472
470
  by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
@@ -759,8 +757,7 @@ class _RegionBackendServiceState:
759
757
  build times and host selection times. For more information about
760
758
  Maglev, refer to https://ai.google/research/pubs/pub44824
761
759
  * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
762
- reported weights. Only applicable to loadBalancingScheme
763
- EXTERNAL. If set, the Backend Service must
760
+ reported weights. If set, the Backend Service must
764
761
  configure a non legacy HTTP-based Health Check, and
765
762
  health check replies are expected to contain
766
763
  non-standard HTTP response header field
@@ -771,14 +768,14 @@ class _RegionBackendServiceState:
771
768
  instance either reported a valid weight or had
772
769
  UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
773
770
  equal-weight.
774
- locality_lb_policy is applicable to either:
771
+ This field is applicable to either:
775
772
  * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
776
773
  and loadBalancingScheme set to INTERNAL_MANAGED.
777
774
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
778
775
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
779
776
  Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
780
777
  Network Load Balancing. The default is MAGLEV.
781
- If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
778
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
782
779
  or RING_HASH, session affinity settings will not take effect.
783
780
  Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
784
781
  by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
@@ -1139,8 +1136,7 @@ class _RegionBackendServiceState:
1139
1136
  build times and host selection times. For more information about
1140
1137
  Maglev, refer to https://ai.google/research/pubs/pub44824
1141
1138
  * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
1142
- reported weights. Only applicable to loadBalancingScheme
1143
- EXTERNAL. If set, the Backend Service must
1139
+ reported weights. If set, the Backend Service must
1144
1140
  configure a non legacy HTTP-based Health Check, and
1145
1141
  health check replies are expected to contain
1146
1142
  non-standard HTTP response header field
@@ -1151,14 +1147,14 @@ class _RegionBackendServiceState:
1151
1147
  instance either reported a valid weight or had
1152
1148
  UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
1153
1149
  equal-weight.
1154
- locality_lb_policy is applicable to either:
1150
+ This field is applicable to either:
1155
1151
  * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
1156
1152
  and loadBalancingScheme set to INTERNAL_MANAGED.
1157
1153
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1158
1154
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
1159
1155
  Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
1160
1156
  Network Load Balancing. The default is MAGLEV.
1161
- If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
1157
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
1162
1158
  or RING_HASH, session affinity settings will not take effect.
1163
1159
  Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
1164
1160
  by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
@@ -1747,8 +1743,7 @@ class RegionBackendService(pulumi.CustomResource):
1747
1743
  build times and host selection times. For more information about
1748
1744
  Maglev, refer to https://ai.google/research/pubs/pub44824
1749
1745
  * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
1750
- reported weights. Only applicable to loadBalancingScheme
1751
- EXTERNAL. If set, the Backend Service must
1746
+ reported weights. If set, the Backend Service must
1752
1747
  configure a non legacy HTTP-based Health Check, and
1753
1748
  health check replies are expected to contain
1754
1749
  non-standard HTTP response header field
@@ -1759,14 +1754,14 @@ class RegionBackendService(pulumi.CustomResource):
1759
1754
  instance either reported a valid weight or had
1760
1755
  UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
1761
1756
  equal-weight.
1762
- locality_lb_policy is applicable to either:
1757
+ This field is applicable to either:
1763
1758
  * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
1764
1759
  and loadBalancingScheme set to INTERNAL_MANAGED.
1765
1760
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1766
1761
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
1767
1762
  Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
1768
1763
  Network Load Balancing. The default is MAGLEV.
1769
- If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
1764
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
1770
1765
  or RING_HASH, session affinity settings will not take effect.
1771
1766
  Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
1772
1767
  by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
@@ -2307,8 +2302,7 @@ class RegionBackendService(pulumi.CustomResource):
2307
2302
  build times and host selection times. For more information about
2308
2303
  Maglev, refer to https://ai.google/research/pubs/pub44824
2309
2304
  * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
2310
- reported weights. Only applicable to loadBalancingScheme
2311
- EXTERNAL. If set, the Backend Service must
2305
+ reported weights. If set, the Backend Service must
2312
2306
  configure a non legacy HTTP-based Health Check, and
2313
2307
  health check replies are expected to contain
2314
2308
  non-standard HTTP response header field
@@ -2319,14 +2313,14 @@ class RegionBackendService(pulumi.CustomResource):
2319
2313
  instance either reported a valid weight or had
2320
2314
  UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
2321
2315
  equal-weight.
2322
- locality_lb_policy is applicable to either:
2316
+ This field is applicable to either:
2323
2317
  * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
2324
2318
  and loadBalancingScheme set to INTERNAL_MANAGED.
2325
2319
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
2326
2320
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
2327
2321
  Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
2328
2322
  Network Load Balancing. The default is MAGLEV.
2329
- If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
2323
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
2330
2324
  or RING_HASH, session affinity settings will not take effect.
2331
2325
  Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
2332
2326
  by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
@@ -2553,7 +2547,7 @@ class RegionBackendService(pulumi.CustomResource):
2553
2547
 
2554
2548
  @property
2555
2549
  @pulumi.getter
2556
- def iap(self) -> pulumi.Output['outputs.RegionBackendServiceIap']:
2550
+ def iap(self) -> pulumi.Output[Optional['outputs.RegionBackendServiceIap']]:
2557
2551
  """
2558
2552
  Settings for enabling Cloud Identity Aware Proxy
2559
2553
  Structure is documented below.
@@ -2598,8 +2592,7 @@ class RegionBackendService(pulumi.CustomResource):
2598
2592
  build times and host selection times. For more information about
2599
2593
  Maglev, refer to https://ai.google/research/pubs/pub44824
2600
2594
  * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
2601
- reported weights. Only applicable to loadBalancingScheme
2602
- EXTERNAL. If set, the Backend Service must
2595
+ reported weights. If set, the Backend Service must
2603
2596
  configure a non legacy HTTP-based Health Check, and
2604
2597
  health check replies are expected to contain
2605
2598
  non-standard HTTP response header field
@@ -2610,14 +2603,14 @@ class RegionBackendService(pulumi.CustomResource):
2610
2603
  instance either reported a valid weight or had
2611
2604
  UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
2612
2605
  equal-weight.
2613
- locality_lb_policy is applicable to either:
2606
+ This field is applicable to either:
2614
2607
  * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
2615
2608
  and loadBalancingScheme set to INTERNAL_MANAGED.
2616
2609
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
2617
2610
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
2618
2611
  Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
2619
2612
  Network Load Balancing. The default is MAGLEV.
2620
- If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
2613
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
2621
2614
  or RING_HASH, session affinity settings will not take effect.
2622
2615
  Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
2623
2616
  by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
@@ -93,9 +93,6 @@ class RouterNatArgs:
93
93
  Possible values are: `MANUAL_ONLY`, `AUTO_ONLY`.
94
94
  :param pulumi.Input[Sequence[pulumi.Input[str]]] nat_ips: Self-links of NAT IPs. Only valid if natIpAllocateOption
95
95
  is set to MANUAL_ONLY.
96
- If this field is used alongside with a count created list of address resources `google_compute_address.foobar.*.self_link`,
97
- the access level resource for the address resource must have a `lifecycle` block with `create_before_destroy = true` so
98
- the number of resources can be increased/decreased without triggering the `resourceInUseByAnotherResource` error.
99
96
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
100
97
  If it is not provided, the provider project is used.
101
98
  :param pulumi.Input[str] region: Region where the router and NAT reside.
@@ -357,9 +354,6 @@ class RouterNatArgs:
357
354
  """
358
355
  Self-links of NAT IPs. Only valid if natIpAllocateOption
359
356
  is set to MANUAL_ONLY.
360
- If this field is used alongside with a count created list of address resources `google_compute_address.foobar.*.self_link`,
361
- the access level resource for the address resource must have a `lifecycle` block with `create_before_destroy = true` so
362
- the number of resources can be increased/decreased without triggering the `resourceInUseByAnotherResource` error.
363
357
  """
364
358
  return pulumi.get(self, "nat_ips")
365
359
 
@@ -548,9 +542,6 @@ class _RouterNatState:
548
542
  Possible values are: `MANUAL_ONLY`, `AUTO_ONLY`.
549
543
  :param pulumi.Input[Sequence[pulumi.Input[str]]] nat_ips: Self-links of NAT IPs. Only valid if natIpAllocateOption
550
544
  is set to MANUAL_ONLY.
551
- If this field is used alongside with a count created list of address resources `google_compute_address.foobar.*.self_link`,
552
- the access level resource for the address resource must have a `lifecycle` block with `create_before_destroy = true` so
553
- the number of resources can be increased/decreased without triggering the `resourceInUseByAnotherResource` error.
554
545
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
555
546
  If it is not provided, the provider project is used.
556
547
  :param pulumi.Input[str] region: Region where the router and NAT reside.
@@ -792,9 +783,6 @@ class _RouterNatState:
792
783
  """
793
784
  Self-links of NAT IPs. Only valid if natIpAllocateOption
794
785
  is set to MANUAL_ONLY.
795
- If this field is used alongside with a count created list of address resources `google_compute_address.foobar.*.self_link`,
796
- the access level resource for the address resource must have a `lifecycle` block with `create_before_destroy = true` so
797
- the number of resources can be increased/decreased without triggering the `resourceInUseByAnotherResource` error.
798
786
  """
799
787
  return pulumi.get(self, "nat_ips")
800
788
 
@@ -992,9 +980,6 @@ class RouterNat(pulumi.CustomResource):
992
980
  """
993
981
  A NAT service created in a router.
994
982
 
995
- > **Note:** Recreating a `compute.Address` that is being used by `compute.RouterNat` will give a `resourceInUseByAnotherResource` error.
996
- Use `lifecycle.create_before_destroy` on this address resource to avoid this type of error as shown in the Manual Ips example.
997
-
998
983
  To get more information about RouterNat, see:
999
984
 
1000
985
  * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/routers)
@@ -1033,6 +1018,39 @@ class RouterNat(pulumi.CustomResource):
1033
1018
  "filter": "ERRORS_ONLY",
1034
1019
  })
1035
1020
  ```
1021
+ ### Router Nat Manual Ips
1022
+
1023
+ ```python
1024
+ import pulumi
1025
+ import pulumi_gcp as gcp
1026
+
1027
+ net = gcp.compute.Network("net", name="my-network")
1028
+ subnet = gcp.compute.Subnetwork("subnet",
1029
+ name="my-subnetwork",
1030
+ network=net.id,
1031
+ ip_cidr_range="10.0.0.0/16",
1032
+ region="us-central1")
1033
+ router = gcp.compute.Router("router",
1034
+ name="my-router",
1035
+ region=subnet.region,
1036
+ network=net.id)
1037
+ address = []
1038
+ for range in [{"value": i} for i in range(0, 2)]:
1039
+ address.append(gcp.compute.Address(f"address-{range['value']}",
1040
+ name=f"nat-manual-ip-{range['value']}",
1041
+ region=subnet.region))
1042
+ nat_manual = gcp.compute.RouterNat("nat_manual",
1043
+ name="my-router-nat",
1044
+ router=router.name,
1045
+ region=router.region,
1046
+ nat_ip_allocate_option="MANUAL_ONLY",
1047
+ nat_ips=[__item.self_link for __item in address],
1048
+ source_subnetwork_ip_ranges_to_nat="LIST_OF_SUBNETWORKS",
1049
+ subnetworks=[{
1050
+ "name": subnet.id,
1051
+ "source_ip_ranges_to_nats": ["ALL_IP_RANGES"],
1052
+ }])
1053
+ ```
1036
1054
  ### Router Nat Rules
1037
1055
 
1038
1056
  ```python
@@ -1203,9 +1221,6 @@ class RouterNat(pulumi.CustomResource):
1203
1221
  Possible values are: `MANUAL_ONLY`, `AUTO_ONLY`.
1204
1222
  :param pulumi.Input[Sequence[pulumi.Input[str]]] nat_ips: Self-links of NAT IPs. Only valid if natIpAllocateOption
1205
1223
  is set to MANUAL_ONLY.
1206
- If this field is used alongside with a count created list of address resources `google_compute_address.foobar.*.self_link`,
1207
- the access level resource for the address resource must have a `lifecycle` block with `create_before_destroy = true` so
1208
- the number of resources can be increased/decreased without triggering the `resourceInUseByAnotherResource` error.
1209
1224
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
1210
1225
  If it is not provided, the provider project is used.
1211
1226
  :param pulumi.Input[str] region: Region where the router and NAT reside.
@@ -1252,9 +1267,6 @@ class RouterNat(pulumi.CustomResource):
1252
1267
  """
1253
1268
  A NAT service created in a router.
1254
1269
 
1255
- > **Note:** Recreating a `compute.Address` that is being used by `compute.RouterNat` will give a `resourceInUseByAnotherResource` error.
1256
- Use `lifecycle.create_before_destroy` on this address resource to avoid this type of error as shown in the Manual Ips example.
1257
-
1258
1270
  To get more information about RouterNat, see:
1259
1271
 
1260
1272
  * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/routers)
@@ -1293,6 +1305,39 @@ class RouterNat(pulumi.CustomResource):
1293
1305
  "filter": "ERRORS_ONLY",
1294
1306
  })
1295
1307
  ```
1308
+ ### Router Nat Manual Ips
1309
+
1310
+ ```python
1311
+ import pulumi
1312
+ import pulumi_gcp as gcp
1313
+
1314
+ net = gcp.compute.Network("net", name="my-network")
1315
+ subnet = gcp.compute.Subnetwork("subnet",
1316
+ name="my-subnetwork",
1317
+ network=net.id,
1318
+ ip_cidr_range="10.0.0.0/16",
1319
+ region="us-central1")
1320
+ router = gcp.compute.Router("router",
1321
+ name="my-router",
1322
+ region=subnet.region,
1323
+ network=net.id)
1324
+ address = []
1325
+ for range in [{"value": i} for i in range(0, 2)]:
1326
+ address.append(gcp.compute.Address(f"address-{range['value']}",
1327
+ name=f"nat-manual-ip-{range['value']}",
1328
+ region=subnet.region))
1329
+ nat_manual = gcp.compute.RouterNat("nat_manual",
1330
+ name="my-router-nat",
1331
+ router=router.name,
1332
+ region=router.region,
1333
+ nat_ip_allocate_option="MANUAL_ONLY",
1334
+ nat_ips=[__item.self_link for __item in address],
1335
+ source_subnetwork_ip_ranges_to_nat="LIST_OF_SUBNETWORKS",
1336
+ subnetworks=[{
1337
+ "name": subnet.id,
1338
+ "source_ip_ranges_to_nats": ["ALL_IP_RANGES"],
1339
+ }])
1340
+ ```
1296
1341
  ### Router Nat Rules
1297
1342
 
1298
1343
  ```python
@@ -1575,9 +1620,6 @@ class RouterNat(pulumi.CustomResource):
1575
1620
  Possible values are: `MANUAL_ONLY`, `AUTO_ONLY`.
1576
1621
  :param pulumi.Input[Sequence[pulumi.Input[str]]] nat_ips: Self-links of NAT IPs. Only valid if natIpAllocateOption
1577
1622
  is set to MANUAL_ONLY.
1578
- If this field is used alongside with a count created list of address resources `google_compute_address.foobar.*.self_link`,
1579
- the access level resource for the address resource must have a `lifecycle` block with `create_before_destroy = true` so
1580
- the number of resources can be increased/decreased without triggering the `resourceInUseByAnotherResource` error.
1581
1623
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
1582
1624
  If it is not provided, the provider project is used.
1583
1625
  :param pulumi.Input[str] region: Region where the router and NAT reside.
@@ -1757,9 +1799,6 @@ class RouterNat(pulumi.CustomResource):
1757
1799
  """
1758
1800
  Self-links of NAT IPs. Only valid if natIpAllocateOption
1759
1801
  is set to MANUAL_ONLY.
1760
- If this field is used alongside with a count created list of address resources `google_compute_address.foobar.*.self_link`,
1761
- the access level resource for the address resource must have a `lifecycle` block with `create_before_destroy = true` so
1762
- the number of resources can be increased/decreased without triggering the `resourceInUseByAnotherResource` error.
1763
1802
  """
1764
1803
  return pulumi.get(self, "nat_ips")
1765
1804
 
@@ -303,8 +303,6 @@ scopes: Optional[str]
303
303
 
304
304
  secretManagerCustomEndpoint: Optional[str]
305
305
 
306
- secretManagerRegionalCustomEndpoint: Optional[str]
307
-
308
306
  secureSourceManagerCustomEndpoint: Optional[str]
309
307
 
310
308
  securityCenterCustomEndpoint: Optional[str]
pulumi_gcp/config/vars.py CHANGED
@@ -597,10 +597,6 @@ class _ExportableConfig(types.ModuleType):
597
597
  def secret_manager_custom_endpoint(self) -> Optional[str]:
598
598
  return __config__.get('secretManagerCustomEndpoint')
599
599
 
600
- @property
601
- def secret_manager_regional_custom_endpoint(self) -> Optional[str]:
602
- return __config__.get('secretManagerRegionalCustomEndpoint')
603
-
604
600
  @property
605
601
  def secure_source_manager_custom_endpoint(self) -> Optional[str]:
606
602
  return __config__.get('secureSourceManagerCustomEndpoint')