pulumi-django-azure 1.0.18__py3-none-any.whl → 1.0.19__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.

Potentially problematic release.


This version of pulumi-django-azure might be problematic. Click here for more details.

@@ -911,8 +911,8 @@ class DjangoDeployment(pulumi.ComponentResource):
911
911
  s = self._add_webapp_secret(vault, env_name, config_name, f"{name}-{self._name}")
912
912
  environment_variables[f"{env_name}_SECRET_NAME"] = s.name
913
913
 
914
- # Cache
915
- if self._cache and cache_db:
914
+ # Cache (we need to check explicitly if it is not None because the db could also be 0)
915
+ if self._cache and cache_db is not None:
916
916
  environment_variables["REDIS_CACHE_HOST"] = self._cache.host_name
917
917
  environment_variables["REDIS_CACHE_PORT"] = self._cache.ssl_port.apply(lambda port: str(port))
918
918
  environment_variables["REDIS_CACHE_DB"] = str(cache_db)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pulumi-django-azure
3
- Version: 1.0.18
3
+ Version: 1.0.19
4
4
  Summary: Simply deployment of Django on Azure with Pulumi
5
5
  Author-email: Maarten Ureel <maarten@youreal.eu>
6
6
  License: MIT License
@@ -0,0 +1,7 @@
1
+ pulumi_django_azure/__init__.py,sha256=5RY9reSVNw-HULrOXfhcq3cyPne-94ojFmeV1m6kIVg,79
2
+ pulumi_django_azure/django_deployment.py,sha256=t175MugqMftMcvJn8zvaXLukVF6Nvq3VDPLWuEtb-Gs,49144
3
+ pulumi_django_azure-1.0.19.dist-info/LICENSE,sha256=NX2LN3U319Zaac8b7ZgfNOco_nTBbN531X_M_13niSg,1087
4
+ pulumi_django_azure-1.0.19.dist-info/METADATA,sha256=8gNnWKNAOY19BjziJsIcoxeMSPl4K2FpE_81_KEWuiw,13955
5
+ pulumi_django_azure-1.0.19.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
6
+ pulumi_django_azure-1.0.19.dist-info/top_level.txt,sha256=MNPRJhq-_G8EMCHRkjdcb_xrqzOkmKogXUGV7Ysz3g0,20
7
+ pulumi_django_azure-1.0.19.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- pulumi_django_azure/__init__.py,sha256=5RY9reSVNw-HULrOXfhcq3cyPne-94ojFmeV1m6kIVg,79
2
- pulumi_django_azure/django_deployment.py,sha256=dL_IiQEjY6M-xI-ZEZarirtaQTe5DRYjYTQARJ79onA,49053
3
- pulumi_django_azure-1.0.18.dist-info/LICENSE,sha256=NX2LN3U319Zaac8b7ZgfNOco_nTBbN531X_M_13niSg,1087
4
- pulumi_django_azure-1.0.18.dist-info/METADATA,sha256=oe7FrZIcRWMRKL2JljxqvqebA9LiCBz4LumwmA_SlYQ,13955
5
- pulumi_django_azure-1.0.18.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
6
- pulumi_django_azure-1.0.18.dist-info/top_level.txt,sha256=MNPRJhq-_G8EMCHRkjdcb_xrqzOkmKogXUGV7Ysz3g0,20
7
- pulumi_django_azure-1.0.18.dist-info/RECORD,,