Skip to content

Commit

Permalink
Add log messages for SRE deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Sep 25, 2024
1 parent 3f7dce5 commit 1604757
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data_safe_haven/commands/sre.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ def deploy(
sre_config.azure.subscription_id,
replace=False,
)
logger.info(
f"SRE will be deployed to subscription '[green]{sre_config.azure.subscription_id}[/]'"
)
stack.add_option(
"azure-native:tenantId", sre_config.azure.tenant_id, replace=False
)
Expand All @@ -96,6 +99,7 @@ def deploy(
shm_config.shm.fqdn,
replace=True,
)
logger.info(f"SRE will be registered in shm '[green]{shm_config.shm.fqdn}[/]'")

# Deploy Azure infrastructure with Pulumi
try:
Expand Down

0 comments on commit 1604757

Please sign in to comment.