3

I'm trying to add active tracing to 2 lambda functions, one in Node and one in Python. My service role has all the XRayWriteAccess permissions, I click the Advanced > Enable active tracing , see the info on permissions, click save, and see :

enter image description here

A web search did not return anything conclusive, any ideas?

4

1 回答 1

3

Your web console maybe was prefilling some form fields (I blame the browser for it). If you just want to enable X-Ray Active tracing for the function, make a call to update-function-configuration with AWS CLI:

aws lambda update-function-configuration \
    --function-name <name> \
    --tracing-config Mode=Active
于 2017-11-25T20:04:59.137 回答