You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iliapolo
changed the title
[EKS] Failed to run eks.ClusterResource if upgrade lambda-layer-kubectl to 2.0.0-beta1
[aws-eks] Failed to run eks.ClusterResource if upgrade lambda-layer-kubectl to 2.0.0-beta1
Aug 16, 2020
eks.ClusterResource lambda function raise exception if I upgrade lambda-layer-kubectl to 2.0.0-beta1
Reproduction Steps
Error Log
Exception raised in lambda function:
Traceback (most recent call last):
File "/var/task/index.py", line 192, in cfn_send
response = requests.put(responseUrl, data=body, headers=headers)
AttributeError: module 'botocore.vendored.requests' has no attribute 'put'
Environment
Other
Actually lambda-layer-kubectl is unnecessary in eks.ClusterResource, it's not used by any code in the lambda function, if I remove kubectl layer in eks.ClusterResource and related code in lambda function, it still works fine.
I will submit a PR to fix this issue.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: