Skip to content

Commit 0ea2569

Browse files
authored
Making TA keys Athena compatible by converting to lowercase (#134)
1 parent 7960caa commit 0ea2569

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data-collection/deploy/module-trusted-advisor.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ Resources:
202202
resource["Status"] = resource.pop("status") if "status" in resource else '-'
203203
output.update({"AccountId":account_id, "AccountName":account_name, "Category": check["category"], 'DateTime': dt, 'Timestamp': ts, "CheckName": check["name"], "CheckId": check["id"]})
204204
output.update(resource)
205+
output = {k.lower(): v for k, v in output.items()}
205206
f.write(json.dumps(output, default=_json_serial) + "\n")
206207
except Exception as e:
207208
print(f'{type(e)}: {e}')

0 commit comments

Comments
 (0)