Skip to content

Commit

Permalink
🐛 Add missing access_mode_settings to PrivateLinkScope
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Jan 24, 2024
1 parent ec972a6 commit 2c74f43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data_safe_haven/infrastructure/stacks/shm/monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ def __init__(
# Set up a private linkscope and endpoint for the log analytics workspace
log_analytics_private_link_scope = insights.PrivateLinkScope(
f"{self._name}_log_analytics_private_link_scope",
access_mode_settings=insights.AccessModeSettingsArgs(
ingestion_access_mode=insights.AccessMode.PRIVATE_ONLY,
query_access_mode=insights.AccessMode.PRIVATE_ONLY,
),
location="Global",
resource_group_name=resource_group.name,
scope_name=f"{stack_name}-ampls-log",
Expand Down

0 comments on commit 2c74f43

Please sign in to comment.