Open rlyle opened 3 years ago
Update: I put the batch: onto an existing function in my serverless.yaml, and it deployed correctly this time.
Just hit the same issue like @rlyle, had to comment the plugin in my serverless.yml configuration, deploy, uncomment it and deploy again.
Fixed this issue in my fork: https://github.com/rlyle/serverless-aws-batch
Hitting the following error when trying to create an AWS batch function using serverless:
An error occurred: TestBatchLambdaFunction - The provided execution role does not have permissions to call CreateNetworkInterface on EC2 (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 66cd36bb-eaf5-420b-8880-359e52d985c1; Proxy: null).
Here is my serverless.yaml (clipped to be more succinct):
Any idea what I'm doing wrong, or am I hitting a bug in this plugin?