Skip to content

Commit

Permalink
⚰️ Drop unused identity.ip_address
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Apr 16, 2024
1 parent b691f0c commit 6fbb889
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions data_safe_haven/infrastructure/stacks/sre/identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ def __init__(
),
tags=child_tags,
)
private_ip_address = get_ip_address_from_container_group(container_group)

# Register the container group in the SRE DNS zone
local_dns = LocalDnsRecordComponent(
Expand All @@ -236,7 +235,7 @@ def __init__(
base_fqdn=props.sre_fqdn,
public_dns_resource_group_name=props.networking_resource_group_name,
private_dns_resource_group_name=props.dns_resource_group_name,
private_ip_address=private_ip_address,
private_ip_address=get_ip_address_from_container_group(container_group),
record_name="identity",
),
opts=ResourceOptions.merge(
Expand All @@ -246,4 +245,3 @@ def __init__(

# Register outputs
self.hostname = local_dns.hostname
self.ip_address = private_ip_address

0 comments on commit 6fbb889

Please sign in to comment.