cloud-radar 0.13.2a0__py3-none-any.whl → 0.13.2a1__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/_hooks.py +0 -1
- cloud_radar/cf/unit/functions.py +7 -2
- {cloud_radar-0.13.2a0.dist-info → cloud_radar-0.13.2a1.dist-info}/METADATA +1 -1
- {cloud_radar-0.13.2a0.dist-info → cloud_radar-0.13.2a1.dist-info}/RECORD +6 -6
- {cloud_radar-0.13.2a0.dist-info → cloud_radar-0.13.2a1.dist-info}/LICENSE.txt +0 -0
- {cloud_radar-0.13.2a0.dist-info → cloud_radar-0.13.2a1.dist-info}/WHEEL +0 -0
cloud_radar/cf/unit/_hooks.py
CHANGED
@@ -158,7 +158,6 @@ class HookProcessor:
|
|
158
158
|
) -> None:
|
159
159
|
# Iterate through the resources in the rendered stack
|
160
160
|
for logical_id in stack.data.get("Resources", {}):
|
161
|
-
print("Got resource " + logical_id)
|
162
161
|
resource_definition = stack.get_resource(logical_id)
|
163
162
|
|
164
163
|
resource_type = resource_definition.get("Type")
|
cloud_radar/cf/unit/functions.py
CHANGED
@@ -888,9 +888,14 @@ def _fetch_region_data() -> List[dict]:
|
|
888
888
|
|
889
889
|
url = "https://raw.githubusercontent.com/jsonmaur/aws-regions/master/regions.json"
|
890
890
|
|
891
|
-
|
891
|
+
# set user-agent to avoid being throttled
|
892
|
+
headers = {"User-Agent": "cloud-radar"}
|
892
893
|
|
893
|
-
|
894
|
+
r = requests.get(url, headers=headers)
|
895
|
+
|
896
|
+
if not r.ok:
|
897
|
+
print(f"Failed to fetch region data from {url}.")
|
898
|
+
print(r.text)
|
894
899
|
r.raise_for_status()
|
895
900
|
|
896
901
|
return json.loads(r.text)
|
@@ -4,15 +4,15 @@ cloud_radar/cf/e2e/__init__.py,sha256=83Bf_ftCxMimG1mxQH0xsKFCmsrQ7YJEAQkeZtJIxL
|
|
4
4
|
cloud_radar/cf/e2e/_stack.py,sha256=Qm5vQsUSUluHirTFTs_n40yI6Z8-HMZ837OvSJcyWqM,1676
|
5
5
|
cloud_radar/cf/unit/__init__.py,sha256=H9iQw4PSZEW-u0Ey-Z8eZfzQ6GJ7wdxmkKE8Z09U7pU,198
|
6
6
|
cloud_radar/cf/unit/_condition.py,sha256=e7gwcz87yF6dKl2quxmOmjzHku8OW6EWAsgbCeDMARg,711
|
7
|
-
cloud_radar/cf/unit/_hooks.py,sha256=
|
7
|
+
cloud_radar/cf/unit/_hooks.py,sha256=BzFQ2pV6Wfk9KEETTM4DU6Ue0BO1D0HdMFjRM1xo1VM,6866
|
8
8
|
cloud_radar/cf/unit/_output.py,sha256=rhQQ4aJu06bxAoG7GOXkuOPzAmLCrTA2Ytb8rNXA4Vg,1822
|
9
9
|
cloud_radar/cf/unit/_parameter.py,sha256=AdPIqc2ggSW1VR0USF30zjphX3z1HHbGKQt8n-Kzhfo,3199
|
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=XtYiEG3PZT-JjQwRls-59XKHYdw-hWH9QaOZcb9zd_Y,28719
|
14
14
|
cloud_radar/cf/unit/test__template.py,sha256=jVPMJTn6Q0sSZ8BjRGyutuR9-NjdHdwDTVsd2kvjQbs,1491
|
15
|
-
cloud_radar-0.13.
|
16
|
-
cloud_radar-0.13.
|
17
|
-
cloud_radar-0.13.
|
18
|
-
cloud_radar-0.13.
|
15
|
+
cloud_radar-0.13.2a1.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
16
|
+
cloud_radar-0.13.2a1.dist-info/METADATA,sha256=-rmxm1JTr4_GLOQq4bwX4K84Ua533Bp6tGXkWcZ1kU8,15744
|
17
|
+
cloud_radar-0.13.2a1.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
18
|
+
cloud_radar-0.13.2a1.dist-info/RECORD,,
|
File without changes
|
File without changes
|