pulumi-gcp 7.12.0a1709015542__py3-none-any.whl → 7.12.0a1709074764__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -270,15 +270,15 @@ class WebApp(pulumi.CustomResource):
270
270
  opts=pulumi.ResourceOptions(provider=google_beta))
271
271
  default_bucket_object = gcp.storage.BucketObject("defaultBucketObject",
272
272
  bucket=default_bucket.name,
273
- content=pulumi.Output.all(basic_web_app.app_id, basic_web_app_config, basic_web_app_config, (lambda v, def: v if v is not None else def)(basic_web_app_config["database_url"], ""), (lambda v, def: v if v is not None else def)(basic_web_app_config["storage_bucket"], ""), (lambda v, def: v if v is not None else def)(basic_web_app_config["messaging_sender_id"], ""), (lambda v, def: v if v is not None else def)(basic_web_app_config["measurement_id"], "")).apply(lambda app_id, basic_web_app_config, basic_web_app_config1, s, s1, s2, s3: json.dumps({
274
- "appId": app_id,
273
+ content=pulumi.Output.json_dumps({
274
+ "appId": basic_web_app.app_id,
275
275
  "apiKey": basic_web_app_config.api_key,
276
- "authDomain": basic_web_app_config1.auth_domain,
277
- "databaseURL": s,
278
- "storageBucket": s1,
279
- "messagingSenderId": s2,
280
- "measurementId": s3,
281
- })),
276
+ "authDomain": basic_web_app_config.auth_domain,
277
+ "databaseURL": (lambda v, def: v if v is not None else def)(basic_web_app_config["database_url"], ""),
278
+ "storageBucket": (lambda v, def: v if v is not None else def)(basic_web_app_config["storage_bucket"], ""),
279
+ "messagingSenderId": (lambda v, def: v if v is not None else def)(basic_web_app_config["messaging_sender_id"], ""),
280
+ "measurementId": (lambda v, def: v if v is not None else def)(basic_web_app_config["measurement_id"], ""),
281
+ }),
282
282
  opts=pulumi.ResourceOptions(provider=google_beta))
283
283
  ```
284
284
  ### Firebase Web App Custom Api Key
@@ -386,15 +386,15 @@ class WebApp(pulumi.CustomResource):
386
386
  opts=pulumi.ResourceOptions(provider=google_beta))
387
387
  default_bucket_object = gcp.storage.BucketObject("defaultBucketObject",
388
388
  bucket=default_bucket.name,
389
- content=pulumi.Output.all(basic_web_app.app_id, basic_web_app_config, basic_web_app_config, (lambda v, def: v if v is not None else def)(basic_web_app_config["database_url"], ""), (lambda v, def: v if v is not None else def)(basic_web_app_config["storage_bucket"], ""), (lambda v, def: v if v is not None else def)(basic_web_app_config["messaging_sender_id"], ""), (lambda v, def: v if v is not None else def)(basic_web_app_config["measurement_id"], "")).apply(lambda app_id, basic_web_app_config, basic_web_app_config1, s, s1, s2, s3: json.dumps({
390
- "appId": app_id,
389
+ content=pulumi.Output.json_dumps({
390
+ "appId": basic_web_app.app_id,
391
391
  "apiKey": basic_web_app_config.api_key,
392
- "authDomain": basic_web_app_config1.auth_domain,
393
- "databaseURL": s,
394
- "storageBucket": s1,
395
- "messagingSenderId": s2,
396
- "measurementId": s3,
397
- })),
392
+ "authDomain": basic_web_app_config.auth_domain,
393
+ "databaseURL": (lambda v, def: v if v is not None else def)(basic_web_app_config["database_url"], ""),
394
+ "storageBucket": (lambda v, def: v if v is not None else def)(basic_web_app_config["storage_bucket"], ""),
395
+ "messagingSenderId": (lambda v, def: v if v is not None else def)(basic_web_app_config["messaging_sender_id"], ""),
396
+ "measurementId": (lambda v, def: v if v is not None else def)(basic_web_app_config["measurement_id"], ""),
397
+ }),
398
398
  opts=pulumi.ResourceOptions(provider=google_beta))
399
399
  ```
400
400
  ### Firebase Web App Custom Api Key
pulumi_gcp/provider.py CHANGED
@@ -2381,7 +2381,7 @@ class Provider(pulumi.ProviderResource):
2381
2381
  __props__.__dict__["access_context_manager_custom_endpoint"] = access_context_manager_custom_endpoint
2382
2382
  if access_token is None:
2383
2383
  access_token = _utilities.get_env('GOOGLE_OAUTH_ACCESS_TOKEN')
2384
- __props__.__dict__["access_token"] = access_token
2384
+ __props__.__dict__["access_token"] = None if access_token is None else pulumi.Output.secret(access_token)
2385
2385
  __props__.__dict__["active_directory_custom_endpoint"] = active_directory_custom_endpoint
2386
2386
  __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
2387
  __props__.__dict__["alloydb_custom_endpoint"] = alloydb_custom_endpoint
@@ -2551,6 +2551,8 @@ class Provider(pulumi.ProviderResource):
2551
2551
  if zone is None:
2552
2552
  zone = _utilities.get_env('GOOGLE_ZONE', 'GCLOUD_ZONE', 'CLOUDSDK_COMPUTE_ZONE')
2553
2553
  __props__.__dict__["zone"] = zone
2554
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["accessToken"])
2555
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
2554
2556
  super(Provider, __self__).__init__(
2555
2557
  'gcp',
2556
2558
  resource_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_gcp
3
- Version: 7.12.0a1709015542
3
+ Version: 7.12.0a1709074764
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=gw_e36y9dGCfe6ohtt8Tm3R-OTY4nFc849uGGXBDPAA,179602
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=8UbsalQwz0dBtJUuznoO3MqHQN00piplzuqfK2d5L8M,181612
4
+ pulumi_gcp/provider.py,sha256=oPY5rBDE8mcEJutwO2N952YnEEBrv2--ZIascbCbWoI,181819
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
@@ -818,7 +818,7 @@ pulumi_gcp/firebase/hosting_version.py,sha256=wFCyI4kc9yifJtuZftgqgoSY7oPZgr62_R
818
818
  pulumi_gcp/firebase/outputs.py,sha256=6nZk0KYf_cXn76PmwI3RVBXEkYZP5hN8SZWe7ufqHnI,60449
819
819
  pulumi_gcp/firebase/project.py,sha256=Xf5XJyND_ZzLxBj1VS_pMUzrdUsvdkIZXgw0nO9ZkDI,11532
820
820
  pulumi_gcp/firebase/storage_bucket.py,sha256=5D7SugWI0_4j1bi_tuiQYTcWMgx261wgqok8P3Tk6kE,11766
821
- pulumi_gcp/firebase/web_app.py,sha256=D_n91T0XgtdGJ5y7JPLDulQ2gPJnnfTBDMUAvKCoFLg,27242
821
+ pulumi_gcp/firebase/web_app.py,sha256=YFCK91MyJp4-kpiEVzj-EI7DFkpkTi_EeWY5fmr55pA,26934
822
822
  pulumi_gcp/firebaserules/__init__.py,sha256=q2a9jWrQJ3dcW9mfz4oKXVCatjOzz-9j6QVpv8AftZU,360
823
823
  pulumi_gcp/firebaserules/_inputs.py,sha256=FH-l1Vgtt5R-lVBMEPN2Hh6L9gVHjQ2Uo-8oquKYSo0,4530
824
824
  pulumi_gcp/firebaserules/outputs.py,sha256=UEBs0kf-7rMmRT855ckom9BNjSq5bSvsIVUw-Cjay4Y,3442
@@ -1483,7 +1483,7 @@ pulumi_gcp/workstations/workstation_config_iam_policy.py,sha256=sli2qaaWdgRoGifd
1483
1483
  pulumi_gcp/workstations/workstation_iam_binding.py,sha256=9fYHcTYfq2rLBmoLmIeN1did5jwECGYi-eVNwjAfYoU,35877
1484
1484
  pulumi_gcp/workstations/workstation_iam_member.py,sha256=K-nQU3_UK-9GMEwiOobKHvMUbrvzNxR5tavwnyg9BfU,35581
1485
1485
  pulumi_gcp/workstations/workstation_iam_policy.py,sha256=uF2FCQiwlv7LpIEuMV5-hMVueNNRchK5d8YmnTnVU_A,31945
1486
- pulumi_gcp-7.12.0a1709015542.dist-info/METADATA,sha256=MJYQo_uWSiv_vigLz7lofYdMqPK8cZoiYNd7z6s1Tcs,2662
1487
- pulumi_gcp-7.12.0a1709015542.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
1488
- pulumi_gcp-7.12.0a1709015542.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1489
- pulumi_gcp-7.12.0a1709015542.dist-info/RECORD,,
1486
+ pulumi_gcp-7.12.0a1709074764.dist-info/METADATA,sha256=W_zZZfoJdS1b-KyOTXqT0XPJrcJJR__VdPi_mgHvctg,2662
1487
+ pulumi_gcp-7.12.0a1709074764.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
1488
+ pulumi_gcp-7.12.0a1709074764.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1489
+ pulumi_gcp-7.12.0a1709074764.dist-info/RECORD,,