cloud-radar 0.12.1a26__py3-none-any.whl → 0.13.0__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 +11 -7
- {cloud_radar-0.12.1a26.dist-info → cloud_radar-0.13.0.dist-info}/METADATA +8 -4
- {cloud_radar-0.12.1a26.dist-info → cloud_radar-0.13.0.dist-info}/RECORD +5 -5
- {cloud_radar-0.12.1a26.dist-info → cloud_radar-0.13.0.dist-info}/LICENSE.txt +0 -0
- {cloud_radar-0.12.1a26.dist-info → cloud_radar-0.13.0.dist-info}/WHEEL +0 -0
cloud_radar/cf/unit/functions.py
CHANGED
@@ -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
|
@@ -1,13 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cloud-radar
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.13.0
|
4
4
|
Summary: Run functional tests on cloudformation stacks.
|
5
5
|
Home-page: https://github.com/DontShaveTheYak/cloud-radar
|
6
6
|
License: Apache-2.0
|
7
7
|
Keywords: aws,cloudformation,cloud-radar,testing,taskcat,cloud,radar
|
8
8
|
Author: Levi Blaney
|
9
9
|
Author-email: shadycuz@gmail.com
|
10
|
-
Requires-Python: >=3.
|
10
|
+
Requires-Python: >=3.9,<3.14
|
11
11
|
Classifier: Development Status :: 2 - Pre-Alpha
|
12
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
13
13
|
Classifier: Operating System :: OS Independent
|
@@ -16,10 +16,14 @@ Classifier: Programming Language :: Python :: 3.9
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
19
|
-
Classifier: Programming Language :: Python :: 3.
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
20
23
|
Classifier: Programming Language :: Python :: 3.9
|
21
24
|
Classifier: Topic :: Software Development :: Libraries
|
22
25
|
Classifier: Topic :: Software Development :: Testing
|
26
|
+
Requires-Dist: botocore (>=1.35.36) ; python_version >= "3.13"
|
23
27
|
Requires-Dist: cfn-flip (>=1.3.0,<2.0.0)
|
24
28
|
Requires-Dist: taskcat (>=0.9.41,<0.10.0)
|
25
29
|
Project-URL: Repository, https://github.com/DontShaveTheYak/cloud-radar
|
@@ -347,7 +351,7 @@ See the [open issues](https://github.com/DontShaveTheYak/cloud-radar/issues) for
|
|
347
351
|
|
348
352
|
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
|
349
353
|
|
350
|
-
This project uses poetry to manage dependencies and pre-commit to run formatting, linting and tests. You will need to have both installed to your system as well as python 3.
|
354
|
+
This project uses poetry to manage dependencies and pre-commit to run formatting, linting and tests. You will need to have both installed to your system as well as python 3.12.
|
351
355
|
|
352
356
|
1. Fork the Project
|
353
357
|
2. Setup environment (`poetry install`)
|
@@ -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=k1i12FDChgLwGsG-3q9kdYbuEOgnMEs0qPynp-YcZAM,28494
|
14
14
|
cloud_radar/cf/unit/test__template.py,sha256=jVPMJTn6Q0sSZ8BjRGyutuR9-NjdHdwDTVsd2kvjQbs,1491
|
15
|
-
cloud_radar-0.
|
16
|
-
cloud_radar-0.
|
17
|
-
cloud_radar-0.
|
18
|
-
cloud_radar-0.
|
15
|
+
cloud_radar-0.13.0.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
16
|
+
cloud_radar-0.13.0.dist-info/METADATA,sha256=J9-Ac7C_FxFbzJonBJ9PoPmLpllXMjGJYbS7KxS8iFc,15742
|
17
|
+
cloud_radar-0.13.0.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
18
|
+
cloud_radar-0.13.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|