Comments (4)
That is the cause of the error !
I will close this issue.
Thank you !
from cdk-serverless-clamscan.
It doesn't look like AWS plans on making yum available in the python images going forward (aws/aws-lambda-base-images#124 (comment)), so this is probably still an open issue with this repo. This repo will probably need to either:
- Pin the python image used to one that includes yum
- or, update the yum commands to be dnf commands
I'll open a new issue to address this & try and submit a PR π
from cdk-serverless-clamscan.
I use the following code (copied from README).
import {
SqsDestination,
EventBridgeDestination,
} from 'aws-cdk-lib/aws-lambda-destinations';
import { Bucket } from 'aws-cdk-lib/aws-s3';
import { Queue } from 'aws-cdk-lib/aws-sqs';
import { Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { ServerlessClamscan } from 'cdk-serverless-clamscan';
export class TestStack extends Stack {
constructor(scope: Construct, id: string, props?: StackProps) {
super(scope, id, props);
const bucket_1 = new Bucket(this, 'rBucket1');
const bucket_2 = new Bucket(this, 'rBucket2');
const bucketList = [bucket_1, bucket_2];
const queue = new Queue(this, 'rQueue');
const sc = new ServerlessClamscan(this, 'default', {
buckets: bucketList,
onResult: new EventBridgeDestination(),
onError: new SqsDestination(queue),
});
const bucket_3 = new Bucket(this, 'rBucket3');
sc.addSourceBucket(bucket_3);
}
}
from cdk-serverless-clamscan.
We're having the same issue - looks to be related to aws/aws-lambda-base-images#128
from cdk-serverless-clamscan.
Related Issues (20)
- Feature Request: Optional Property to provide own iam.PolicyStatement for Bucket. HOT 2
- Need guidance as beginner
- Yum is no longer available in AWS python images HOT 1
- Access Denied on Deployment HOT 8
- cannot scan large files: No such file or directory: '7za' HOT 3
- PyPi Release not working since 2.6.61 HOT 1
- Error when trying to use a pre-existing bucket HOT 2
- scanning large file failed. No such file or directory: '7za' HOT 3
- Run Against Backlog HOT 2
- Lambda Timing out after max runtime 900s on 102400mb lambda HOT 2
- pnpm fails: EISDIRβ EISDIR: illegal operation on a directory, read HOT 1
- Feature Request: Filtering Options for Scanning (Tags, Extensions, Paths, Size) HOT 3
- Access to Infected Files
- Deploy Failing HOT 2
- Is it possible to add multiple buckets to the same ServerlessClamscan? HOT 2
- cdk deploy -failed HOT 7
- After importing buckets, S3 trigger invoked for existing files, instead of newly created files HOT 1
- Feature request: option to allow multiple lambda listen to s3 events
- aws-cdk-lib Version 2.100.0 Fails with Access Denied on Deployment HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdk-serverless-clamscan.