Skip to content

Commit 76f4b68

Browse files
committed
precommit fix
1 parent ca73e1a commit 76f4b68

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

sds_data_manager/constructs/ialirt_vpn_construct.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ def __init__(
2929
The Virtual Private Gateway to attach the VPN connections to.
3030
psk : str
3131
Pre-shared key for IKE authentication. Pass a CDK token from
32-
``secret_value_from_json(...).to_string()`` so the value is resolved
33-
by CloudFormation at deploy time and never appears in the template.
32+
``secret_value_from_json(...).unsafe_unwrap()`` so the value is
33+
resolved by CloudFormation at deploy time and never appears in
34+
the template.
3435
wash_ip : str
3536
NOAA border router public IP at McLean, VA (WASH), retrieved from SSM.
3637
denv_ip : str

sds_data_manager/utils/stackbuilder.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def build_sds(
445445
ialirt_stack, "NoaaVpnPsk", "noaa-vpn-psk"
446446
)
447447
.secret_value_from_json("psk")
448-
.to_string()
448+
.unsafe_unwrap()
449449
)
450450

451451
# Retrieve NOAA's border router IPs from SSM Parameter Store.
@@ -470,8 +470,6 @@ def build_sds(
470470
denv_ip=noaa_denv_ip,
471471
)
472472

473-
474-
475473
reprocessing_tools_construct = instrument_lambdas.ReprocessingTools(
476474
scope=sdc_stack,
477475
construct_id="ReprocessingTools",

0 commit comments

Comments
 (0)