pulumi-gcp 7.14.0a1710159744__py3-none-any.whl → 7.14.0a1710186287__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
pulumi_gcp/config/vars.py CHANGED
@@ -26,7 +26,7 @@ class _ExportableConfig(types.ModuleType):
26
26
 
27
27
  @property
28
28
  def access_token(self) -> Optional[str]:
29
- return __config__.get('accessToken') or _utilities.get_env('GOOGLE_OAUTH_ACCESS_TOKEN')
29
+ return __config__.get('accessToken')
30
30
 
31
31
  @property
32
32
  def active_directory_custom_endpoint(self) -> Optional[str]:
@@ -226,7 +226,7 @@ class _ExportableConfig(types.ModuleType):
226
226
 
227
227
  @property
228
228
  def credentials(self) -> Optional[str]:
229
- return __config__.get('credentials') or _utilities.get_env('GOOGLE_CREDENTIALS', 'GOOGLE_CLOUD_KEYFILE_JSON', 'GCLOUD_KEYFILE_JSON')
229
+ return __config__.get('credentials')
230
230
 
231
231
  @property
232
232
  def data_catalog_custom_endpoint(self) -> Optional[str]:
pulumi_gcp/provider.py CHANGED
@@ -186,8 +186,6 @@ class ProviderArgs:
186
186
  pulumi.set(__self__, "access_approval_custom_endpoint", access_approval_custom_endpoint)
187
187
  if access_context_manager_custom_endpoint is not None:
188
188
  pulumi.set(__self__, "access_context_manager_custom_endpoint", access_context_manager_custom_endpoint)
189
- if access_token is None:
190
- access_token = _utilities.get_env('GOOGLE_OAUTH_ACCESS_TOKEN')
191
189
  if access_token is not None:
192
190
  pulumi.set(__self__, "access_token", access_token)
193
191
  if active_directory_custom_endpoint is not None:
@@ -288,8 +286,6 @@ class ProviderArgs:
288
286
  pulumi.set(__self__, "container_custom_endpoint", container_custom_endpoint)
289
287
  if core_billing_custom_endpoint is not None:
290
288
  pulumi.set(__self__, "core_billing_custom_endpoint", core_billing_custom_endpoint)
291
- if credentials is None:
292
- credentials = _utilities.get_env('GOOGLE_CREDENTIALS', 'GOOGLE_CLOUD_KEYFILE_JSON', 'GCLOUD_KEYFILE_JSON')
293
289
  if credentials is not None:
294
290
  pulumi.set(__self__, "credentials", credentials)
295
291
  if data_catalog_custom_endpoint is not None:
@@ -2379,9 +2375,7 @@ class Provider(pulumi.ProviderResource):
2379
2375
 
2380
2376
  __props__.__dict__["access_approval_custom_endpoint"] = access_approval_custom_endpoint
2381
2377
  __props__.__dict__["access_context_manager_custom_endpoint"] = access_context_manager_custom_endpoint
2382
- if access_token is None:
2383
- access_token = _utilities.get_env('GOOGLE_OAUTH_ACCESS_TOKEN')
2384
- __props__.__dict__["access_token"] = None if access_token is None else pulumi.Output.secret(access_token)
2378
+ __props__.__dict__["access_token"] = access_token
2385
2379
  __props__.__dict__["active_directory_custom_endpoint"] = active_directory_custom_endpoint
2386
2380
  __props__.__dict__["add_terraform_attribution_label"] = pulumi.Output.from_input(add_terraform_attribution_label).apply(pulumi.runtime.to_json) if add_terraform_attribution_label is not None else None
2387
2381
  __props__.__dict__["alloydb_custom_endpoint"] = alloydb_custom_endpoint
@@ -2431,8 +2425,6 @@ class Provider(pulumi.ProviderResource):
2431
2425
  __props__.__dict__["container_azure_custom_endpoint"] = container_azure_custom_endpoint
2432
2426
  __props__.__dict__["container_custom_endpoint"] = container_custom_endpoint
2433
2427
  __props__.__dict__["core_billing_custom_endpoint"] = core_billing_custom_endpoint
2434
- if credentials is None:
2435
- credentials = _utilities.get_env('GOOGLE_CREDENTIALS', 'GOOGLE_CLOUD_KEYFILE_JSON', 'GCLOUD_KEYFILE_JSON')
2436
2428
  __props__.__dict__["credentials"] = credentials
2437
2429
  __props__.__dict__["data_catalog_custom_endpoint"] = data_catalog_custom_endpoint
2438
2430
  __props__.__dict__["data_fusion_custom_endpoint"] = data_fusion_custom_endpoint
@@ -2551,8 +2543,6 @@ class Provider(pulumi.ProviderResource):
2551
2543
  if zone is None:
2552
2544
  zone = _utilities.get_env('GOOGLE_ZONE', 'GCLOUD_ZONE', 'CLOUDSDK_COMPUTE_ZONE')
2553
2545
  __props__.__dict__["zone"] = zone
2554
- secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["accessToken"])
2555
- opts = pulumi.ResourceOptions.merge(opts, secret_opts)
2556
2546
  super(Provider, __self__).__init__(
2557
2547
  'gcp',
2558
2548
  resource_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_gcp
3
- Version: 7.14.0a1710159744
3
+ Version: 7.14.0a1710186287
4
4
  Summary: A Pulumi package for creating and managing Google Cloud Platform resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,7 +1,7 @@
1
1
  pulumi_gcp/__init__.py,sha256=jOrdUShSt3CCfdVwMN_7WrpIDWYy_8ElB1NVl8F4Bp8,181460
2
2
  pulumi_gcp/_inputs.py,sha256=RzPZvEhg_UTDKSms04fRHwrC6vIGFtFT7BXmdZIRsdE,1412
3
3
  pulumi_gcp/_utilities.py,sha256=b6gJn0IIeM1t6Q7EVjqw3yhuGyP-uENQhtL5yp7aHR8,9248
4
- pulumi_gcp/provider.py,sha256=oPY5rBDE8mcEJutwO2N952YnEEBrv2--ZIascbCbWoI,181819
4
+ pulumi_gcp/provider.py,sha256=nDvy_xyTaVDgTCpi05vqpuGGE9pLOhht0RSH9i7HDVQ,181078
5
5
  pulumi_gcp/pulumi-plugin.json,sha256=hqqvCNOjkQUnsCresqHpje3VJwwA09jwaivXfqGtCDg,40
6
6
  pulumi_gcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  pulumi_gcp/accessapproval/__init__.py,sha256=VpbPp-2Rb1295tFUB_3aO6TvbS1UhYt3ycgAzrNVqOU,402
@@ -558,7 +558,7 @@ pulumi_gcp/compute/vpn_tunnel.py,sha256=t4gWzmk180wpio0iJxoTPH5ww00kISdSqpfAJTC0
558
558
  pulumi_gcp/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
559
559
  pulumi_gcp/config/__init__.pyi,sha256=kdvyXK9WwIGNzC-wA7fjEYlPgblQLmrQIvBD142pwcg,7229
560
560
  pulumi_gcp/config/outputs.py,sha256=NX6HQIexmUVsFBMqvoZH1PzCrkfy582L5E5CHWVLmqs,1060
561
- pulumi_gcp/config/vars.py,sha256=jAReMx3uwCYvTeGCBN97sAhhzYEPkFW06S-WzN-aPvY,23041
561
+ pulumi_gcp/config/vars.py,sha256=LSXrBNhoAsxaKMA-M_ywzMCmEW8gWUCInPrTtCfJEeM,22894
562
562
  pulumi_gcp/container/__init__.py,sha256=KbuEacj9tsLxH3rVHSnPd3VtGOOnpdgVgv-Fq0o_Ll4,845
563
563
  pulumi_gcp/container/_inputs.py,sha256=M8VZ_TF2pR5NFx0WHNe_1BBX-cLRvAU99BDgEKPOOWA,604340
564
564
  pulumi_gcp/container/attached_cluster.py,sha256=MPUTP1ZuhZiBSdVCLZgX7dCtKwCVu6lkQF237GQWhbI,75112
@@ -1496,7 +1496,7 @@ pulumi_gcp/workstations/workstation_config_iam_policy.py,sha256=TyWHa1bvUxE2G6qS
1496
1496
  pulumi_gcp/workstations/workstation_iam_binding.py,sha256=ThXeqkGmcUcMVuZl7dEEtWNN9sJJoQqwupeiHK4ztTY,35859
1497
1497
  pulumi_gcp/workstations/workstation_iam_member.py,sha256=LOBURSVWn3zQetagM4edFqG0EWE8D1XTHjHFcw7-Hhw,35563
1498
1498
  pulumi_gcp/workstations/workstation_iam_policy.py,sha256=hzOeqd9JE1VzAA70Pj2bJH7hsCZWCpdEoJ8RY8Sj1xU,31927
1499
- pulumi_gcp-7.14.0a1710159744.dist-info/METADATA,sha256=qlMcHkPf57cP_F581mY820tKFu6zK8i5F8lhwGbUJlg,2662
1500
- pulumi_gcp-7.14.0a1710159744.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
1501
- pulumi_gcp-7.14.0a1710159744.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1502
- pulumi_gcp-7.14.0a1710159744.dist-info/RECORD,,
1499
+ pulumi_gcp-7.14.0a1710186287.dist-info/METADATA,sha256=B9Z6O5tiBnX069GErtZmaaRyu2tc0obr4yu3p1i5C1Y,2662
1500
+ pulumi_gcp-7.14.0a1710186287.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1501
+ pulumi_gcp-7.14.0a1710186287.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1502
+ pulumi_gcp-7.14.0a1710186287.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5