VMware {code} Community
Al_
Enthusiast
Enthusiast

NSX tagging lambda py errors

Hi, using this solution from Nico Vibert: https://nicovibert.com/2019/10/30/synchronizing-nsx-security-tags-with-vsphere-tags-using-aws-lambda.... Generates vRLIC alert based on custom alert definition from VMC vCenter "attach" or "detach" vCenter tag event, hits webhook to forward alert to AWS API gateway, then triggers lambda python code to attach to vCenter and write NSX tag. Works as expected, however python throws:

[ERROR] KeyError: 'results'
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 49, in lambda_handler
extracted_dictionary = response_dictionary['results']

I'm complete beginner in py. No clue...

0 Kudos
0 Replies