Skip to content

Commit

Permalink
Remove unnecessary loading of SRE stack
Browse files Browse the repository at this point in the history
  • Loading branch information
craddm committed Nov 26, 2024
1 parent 510a714 commit 309d777
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions data_safe_haven/commands/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from data_safe_haven.config import ContextManager, DSHPulumiConfig, SHMConfig, SREConfig
from data_safe_haven.exceptions import DataSafeHavenError
from data_safe_haven.external import GraphApi
from data_safe_haven.infrastructure import SREProjectManager
from data_safe_haven.logging import get_logger

users_command_group = typer.Typer()
Expand Down Expand Up @@ -135,12 +134,6 @@ def register(
logger.error(msg)
raise typer.Exit(1)

sre_stack = SREProjectManager(
context=context,
config=sre_config,
pulumi_config=pulumi_config,
)

# Load GraphAPI
graph_api = GraphApi.from_scopes(
scopes=["Group.ReadWrite.All", "GroupMember.ReadWrite.All"],
Expand Down

0 comments on commit 309d777

Please sign in to comment.