pulumi-django-azure 1.0.19__py3-none-any.whl → 1.0.21__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.
- pulumi_django_azure/django_deployment.py +7 -4
- {pulumi_django_azure-1.0.19.dist-info → pulumi_django_azure-1.0.21.dist-info}/METADATA +1 -1
- pulumi_django_azure-1.0.21.dist-info/RECORD +7 -0
- {pulumi_django_azure-1.0.19.dist-info → pulumi_django_azure-1.0.21.dist-info}/WHEEL +1 -1
- pulumi_django_azure-1.0.19.dist-info/RECORD +0 -7
- {pulumi_django_azure-1.0.19.dist-info → pulumi_django_azure-1.0.21.dist-info}/LICENSE +0 -0
- {pulumi_django_azure-1.0.19.dist-info → pulumi_django_azure-1.0.21.dist-info}/top_level.txt +0 -0
|
@@ -837,6 +837,7 @@ class DjangoDeployment(pulumi.ComponentResource):
|
|
|
837
837
|
repository_branch: str,
|
|
838
838
|
website_hosts: list[HostDefinition],
|
|
839
839
|
django_settings_module: str,
|
|
840
|
+
python_version: str = "3.13",
|
|
840
841
|
environment_variables: Optional[dict[str, str]] = None,
|
|
841
842
|
secrets: Optional[dict[str, str]] = None,
|
|
842
843
|
comms_data_location: Optional[str] = None,
|
|
@@ -854,6 +855,7 @@ class DjangoDeployment(pulumi.ComponentResource):
|
|
|
854
855
|
:param repository_branch: The Git branch to deploy.
|
|
855
856
|
:param website_hosts: The list of custom host names for the website.
|
|
856
857
|
:param django_settings_module: The Django settings module to load.
|
|
858
|
+
:param python_version: The Python version to use.
|
|
857
859
|
:param environment_variables: A dictionary of environment variables to set.
|
|
858
860
|
:param secrets: A dictionary of secrets to store in the Key Vault and assign as environment variables.
|
|
859
861
|
The key is the name of the Pulumi secret, the value is the name of the environment variable
|
|
@@ -957,9 +959,9 @@ class DjangoDeployment(pulumi.ComponentResource):
|
|
|
957
959
|
always_on=True,
|
|
958
960
|
health_check_path=self.HEALTH_CHECK_PATH,
|
|
959
961
|
ftps_state=azure.web.FtpsState.DISABLED,
|
|
960
|
-
python_version=
|
|
962
|
+
python_version=python_version,
|
|
961
963
|
# scm_type=azure.web.ScmType.EXTERNAL_GIT,
|
|
962
|
-
linux_fx_version="PYTHON|
|
|
964
|
+
linux_fx_version=f"PYTHON|{python_version}",
|
|
963
965
|
app_settings=[
|
|
964
966
|
# Build settings
|
|
965
967
|
azure.web.NameValuePairArgs(name="SCM_DO_BUILD_DURING_DEPLOYMENT", value="true"),
|
|
@@ -1116,8 +1118,9 @@ class DjangoDeployment(pulumi.ComponentResource):
|
|
|
1116
1118
|
scope=self._storage_account.id,
|
|
1117
1119
|
)
|
|
1118
1120
|
|
|
1119
|
-
# Grant the app access to the cache if needed
|
|
1120
|
-
if
|
|
1121
|
+
# Grant the app access to the cache if needed.
|
|
1122
|
+
# We need to check explicitly if it is not None because the db could also be 0.
|
|
1123
|
+
if self._cache and cache_db is not None:
|
|
1121
1124
|
azure.cache.AccessPolicyAssignment(
|
|
1122
1125
|
f"ra-{name}-cache",
|
|
1123
1126
|
resource_group_name=self._rg,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
pulumi_django_azure/__init__.py,sha256=5RY9reSVNw-HULrOXfhcq3cyPne-94ojFmeV1m6kIVg,79
|
|
2
|
+
pulumi_django_azure/django_deployment.py,sha256=e4DHIoB3ibzFHAuK1lwaRCLrLly5DdhikQLuhOMYpBc,49365
|
|
3
|
+
pulumi_django_azure-1.0.21.dist-info/LICENSE,sha256=NX2LN3U319Zaac8b7ZgfNOco_nTBbN531X_M_13niSg,1087
|
|
4
|
+
pulumi_django_azure-1.0.21.dist-info/METADATA,sha256=QiN9s5lzA-moy_wwLxZSScUqj-p1goLfUIHmBrG7eQA,13955
|
|
5
|
+
pulumi_django_azure-1.0.21.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
6
|
+
pulumi_django_azure-1.0.21.dist-info/top_level.txt,sha256=MNPRJhq-_G8EMCHRkjdcb_xrqzOkmKogXUGV7Ysz3g0,20
|
|
7
|
+
pulumi_django_azure-1.0.21.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=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,,
|
|
File without changes
|
|
File without changes
|