We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e882b7f commit beb717fCopy full SHA for beb717f
data-collection/deploy/module-inventory.yaml
@@ -1114,6 +1114,8 @@ Resources:
1114
obj[f"tag_{tag['Key']}"] = tag["Value"]
1115
obj['collection_date'] = collection_date
1116
obj['region'] = region
1117
+ if 'Environment' in obj and name == 'lambda':
1118
+ obj['Environment'] = to_json(obj['Environment']) # this property breaks crawler as it has a different key structure
1119
file_.write(to_json(obj) + "\n")
1120
logger.info(f"Collected {counter} total {name} instances")
1121
upload_to_s3(name, account_id, payer_id)
0 commit comments