cloud-radar 0.12.1a25__tar.gz → 0.12.1a27__tar.gz
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-0.12.1a25 → cloud_radar-0.12.1a27}/PKG-INFO +1 -1
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/pyproject.toml +1 -1
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/functions.py +11 -7
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/LICENSE.txt +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/README.md +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/__init__.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/__init__.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/e2e/__init__.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/e2e/_stack.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/__init__.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/_condition.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/_hooks.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/_output.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/_parameter.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/_resource.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/_stack.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/_template.py +0 -0
- {cloud_radar-0.12.1a25 → cloud_radar-0.12.1a27}/src/cloud_radar/cf/unit/test__template.py +0 -0
@@ -830,17 +830,21 @@ 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
|
+
|
833
835
|
param_def = template.template["Parameters"][var_name]
|
834
|
-
|
835
|
-
|
836
|
-
|
836
|
+
param_type = param_def.get("Type", "")
|
837
|
+
param_value = param_def["Value"]
|
838
|
+
|
839
|
+
if param_type.startswith("AWS::SSM::Parameter::Value<"):
|
837
840
|
# This is an SSM parameter value, look it up from our dynamic references
|
838
|
-
return template._get_dynamic_reference_value(
|
839
|
-
|
840
|
-
|
841
|
+
return template._get_dynamic_reference_value("ssm", param_value)
|
842
|
+
if param_type == "CommaDelimitedList" or param_type.startswith("List<"):
|
843
|
+
# Return the value split into a list of strings
|
844
|
+
return param_value.split(",")
|
841
845
|
|
842
846
|
# If we get this far, regular parameter value to lookup & return
|
843
|
-
return
|
847
|
+
return param_value
|
844
848
|
|
845
849
|
if var_name in template.template["Resources"]:
|
846
850
|
return var_name
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|