cloud-radar 0.12.1__py3-none-any.whl → 0.12.1a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cloud_radar/cf/unit/functions.py +7 -11
- {cloud_radar-0.12.1.dist-info → cloud_radar-0.12.1a1.dist-info}/METADATA +1 -1
- {cloud_radar-0.12.1.dist-info → cloud_radar-0.12.1a1.dist-info}/RECORD +5 -5
- {cloud_radar-0.12.1.dist-info → cloud_radar-0.12.1a1.dist-info}/LICENSE.txt +0 -0
- {cloud_radar-0.12.1.dist-info → cloud_radar-0.12.1a1.dist-info}/WHEEL +0 -0
cloud_radar/cf/unit/functions.py
CHANGED
@@ -830,21 +830,17 @@ def ref(template: "Template", var_name: str) -> Any:
|
|
830
830
|
|
831
831
|
if "Parameters" in template.template:
|
832
832
|
if var_name in template.template["Parameters"]:
|
833
|
-
# This is a reference to a parameter
|
834
|
-
|
835
833
|
param_def = template.template["Parameters"][var_name]
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
if param_type.startswith("AWS::SSM::Parameter::Value<"):
|
834
|
+
if "Type" in param_def and param_def["Type"].startswith(
|
835
|
+
"AWS::SSM::Parameter::Value<"
|
836
|
+
):
|
840
837
|
# This is an SSM parameter value, look it up from our dynamic references
|
841
|
-
return template._get_dynamic_reference_value(
|
842
|
-
|
843
|
-
|
844
|
-
return param_value.split(",")
|
838
|
+
return template._get_dynamic_reference_value(
|
839
|
+
"ssm", template.template["Parameters"][var_name]["Value"]
|
840
|
+
)
|
845
841
|
|
846
842
|
# If we get this far, regular parameter value to lookup & return
|
847
|
-
return
|
843
|
+
return template.template["Parameters"][var_name]["Value"]
|
848
844
|
|
849
845
|
if var_name in template.template["Resources"]:
|
850
846
|
return var_name
|
@@ -10,9 +10,9 @@ cloud_radar/cf/unit/_parameter.py,sha256=AdPIqc2ggSW1VR0USF30zjphX3z1HHbGKQt8n-K
|
|
10
10
|
cloud_radar/cf/unit/_resource.py,sha256=dWaR-5s6ea5mIu6Dhf1hY31Wd4WLHbHsbyxnu2Tz6QI,8512
|
11
11
|
cloud_radar/cf/unit/_stack.py,sha256=_S0L9O7Lw-QAJDKubClp2b6UYtYfyzg272_7WQkUdo8,5785
|
12
12
|
cloud_radar/cf/unit/_template.py,sha256=u1r1RkUPI0t8SGolWEjb3doavFwUQRaE0wOKCi_ijiI,32242
|
13
|
-
cloud_radar/cf/unit/functions.py,sha256=
|
13
|
+
cloud_radar/cf/unit/functions.py,sha256=KPPPNLrXzYMi5dtsXkvi0RvaaeAnvBC_2MhqHPs1lHo,28329
|
14
14
|
cloud_radar/cf/unit/test__template.py,sha256=jVPMJTn6Q0sSZ8BjRGyutuR9-NjdHdwDTVsd2kvjQbs,1491
|
15
|
-
cloud_radar-0.12.
|
16
|
-
cloud_radar-0.12.
|
17
|
-
cloud_radar-0.12.
|
18
|
-
cloud_radar-0.12.
|
15
|
+
cloud_radar-0.12.1a1.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
16
|
+
cloud_radar-0.12.1a1.dist-info/METADATA,sha256=yILTez8S8Fz0kGkwWcDgu-2n4dxFQXb8HY6XgU0gIFI,15529
|
17
|
+
cloud_radar-0.12.1a1.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
18
|
+
cloud_radar-0.12.1a1.dist-info/RECORD,,
|
File without changes
|
File without changes
|