Skip to content

Commit

Permalink
🐛 Set PULUMI_PYTHON_CMD to use the same Python executable that is bei…
Browse files Browse the repository at this point in the history
…ng used by dsh
  • Loading branch information
jemrobinson committed Oct 17, 2024
1 parent 056ee31 commit 95a2476
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data_safe_haven/external/interface/pulumi_account.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Manage Pulumi accounts"""

import sys
from shutil import which
from typing import Any

Expand Down Expand Up @@ -39,5 +40,6 @@ def env(self) -> dict[str, Any]:
"AZURE_STORAGE_ACCOUNT": self.storage_account_name,
"AZURE_STORAGE_KEY": str(storage_account_keys[0].value),
"AZURE_KEYVAULT_AUTH_VIA_CLI": "true",
"PULUMI_PYTHON_CMD": sys.executable,
}
return self._env

0 comments on commit 95a2476

Please sign in to comment.