Comments (8)
Thanks for reporting and providing the sample @Garethp !
I was able to reproduce your observed exception and will reopen this issue.
from localstack.
Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide.
from localstack.
I have the same issue
from localstack.
I also think this is related to this other issue somehow: #10042
Because using the same workaround I mentioned there, it works
from localstack.
Same issue here when running samlocal deploy
from localstack.
I pulled down the latest
image and am still seeing this issue on 3.1.1.dev20240222103119
. Has this fix been pushed up to docker yet?
from localstack.
@dominikschubert I'm still seeing this error on 3.1.1.dev20240223125541, which was published an hour ago. Instead of being on APIGateway Integrations, I've reproduced it for Event Rule Targets, with the following code:
export class LambdaPermissionStack extends Stack {
constructor(scope: Construct, id: string, props: StackProps) {
super(scope, id, props);
const lambda = new Function(this, "lambda-handler", {
runtime: Runtime.NODEJS_20_X,
code: Code.fromInline("exports.handler = async () => ({ });"),
handler: "index.handler",
});
new Rule(this, "ScheduleRule", {
schedule: Schedule.cron({
hour: process.env.SECOND_RUN ? "7" : "6",
minute: "0",
weekDay: "MON-FRI",
}),
targets: [new aws_events_targets.LambdaFunction(lambda)],
});
}
}
I've pushed a reproduction up to: https://github.com/Garethp/localstack-bugs/tree/lamda-permission-redeploy, just clone down that branch, run yarn install && ./start.sh
and you should see the error occur.
from localstack.
Thanks @dominikschubert, that update works for my stack :)
from localstack.
Related Issues (20)
- StartMessageMoveTask fails when optional destination ARN is not supplied HOT 5
- bug: Unable to get-object from S3 Glacier Instant Retrieval HOT 2
- bug: Multi-Region KMS Key does not return expected data causing AWS provider in terraform to crash HOT 1
- enhancement request: publish cloudwatch metrics via Embedded Metric Format (EMF) HOT 1
- enhancement request: Native support for Kubernetes livenessProbe, readinessProbe HOT 2
- bug: ACM-PCA doesn’t honour validity dates HOT 2
- bug: ACM-PCA doesn’t honour validity dates HOT 1
- bug: exception while calling s3.CopyObject: S3 object is not in write mode HOT 5
- bug: CREATE_FAILED AWS::WAFv2::WebACLAssociation HOT 3
- DynamoDB Performance Issue when StreamEnabled is True or Enable Kinesis Streaming Destination HOT 5
- Copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes HOT 7
- enhancement request: Add samlocal to LocalStack Docker Image
- enhancement request: Add AWS::IAM::ServerCertificate to CloudFormation HOT 1
- IAM user can perform actions that should be forbidden HOT 1
- bug: describe-images podman HOT 1
- bug: cloudfront s3 origin requiring bucket name in path HOT 1
- bug: localstack start with podman ❌ Error: Expecting value: line 1 column 1 (char 0) HOT 3
- bug: Headers aren't being transformed into Title Case the way that they are in AWS
- enhancement request: update aws sdk v3 in lambda runtime HOT 2
- bug: SecurityGroupRules are being incorrectly combined HOT 1
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 localstack.