Skip to content

Commit

Permalink
Merge pull request #1711 from jemrobinson/1710-create-pulumi-container
Browse files Browse the repository at this point in the history
Create pulumi container
  • Loading branch information
JimMadge authored Jan 24, 2024
2 parents ec972a6 + a4c4464 commit 9e695cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion data_safe_haven/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from .config import Config
from .config import Config, ConfigSectionPulumi, ConfigSectionTags
from .context_settings import Context, ContextSettings

__all__ = [
"Config",
"ConfigSectionPulumi",
"ConfigSectionTags",
"Context",
"ContextSettings",
]
5 changes: 2 additions & 3 deletions data_safe_haven/context/context.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from data_safe_haven.config.config import ConfigSectionPulumi, ConfigSectionTags
from data_safe_haven.config.context_settings import Context
from data_safe_haven.config import ConfigSectionPulumi, ConfigSectionTags, Context
from data_safe_haven.exceptions import DataSafeHavenAzureError
from data_safe_haven.external import AzureApi

Expand Down Expand Up @@ -60,7 +59,7 @@ def create(self) -> None:
storage_account_name=storage_account.name,
)
_ = self.azure_api.ensure_storage_blob_container(
container_name=self.context.storage_container_name,
container_name=ConfigSectionPulumi.storage_container_name,
resource_group_name=resource_group.name,
storage_account_name=storage_account.name,
)
Expand Down

0 comments on commit 9e695cb

Please sign in to comment.