AWSexit code > 0
An error occurred (ResourceNotFoundException)
$An error occurred (ResourceNotFoundException) when calling the GetFunction operation: Requested resource not found
Analysis
The AWS resource you are trying to access (Lambda function, DynamoDB table, etc.) does not exist in the region you are querying.
Common Triggers
- ●Typo in resource name.
- ●Wrong AWS region.
- ●Resource was deleted.
Debug Checks
- $Check the region:
aws configure get region. - $List resources to verify exact name.
Resolution
1
Specify the correct region with
--region.2
Correct the resource name.
Metadata
- Tool
- AWS
- Severity
- High
- Tags
- #aws#resource#not-found