Jiji
Jiji

Reputation: 1402

Describing ENI error when executing DataSync task in Fargate/Lambda

I am experiencing the error "InvalidRequestException: Invalid request made for describing ENI" when executing AWS DataSync task from Fargate/Lambda. What could be the cause of this?

Upvotes: 2

Views: 2428

Answers (1)

Jiji
Jiji

Reputation: 1402

I found the cause of this. The issue is because I am using a VPC with the transfer. To fix this, the Fargate/Lambda role should allow the following:

- Effect: 'Allow'
  Action:
    - 'ec2:DescribeNetworkInterfaces'
  Resource: '*'

Upvotes: 2

Related Questions