Comments (2)
Good question. I need to dig deeper to find where the ARN is created and set. I think it comes from Docker container.
from aws-sam-cli.
This is a dupe of #48. In docker-lambda, ARN is constructed by concatenating accountId, region, and function name here https://github.com/lambci/docker-lambda/blob/master/python2.7/run/runtime-mock.py#L51. But due to #48, region is not available in Docker container due to some reason.
I will close this Issue now. Feel free to track #48 for updates.
from aws-sam-cli.
Related Issues (20)
- Concurrent requests to `sam local start-api` cause crash in _clean_decompressed_paths function and 502 in browser HOT 4
- Unable to upload artifact using SAM CLI Version 1.109.0 HOT 16
- An HTTP Client raised an unhandled exception: sequence item 0: expected str instance, bytes found HOT 4
- Is FullAccess Role secure? HOT 3
- Bug: sam local invoke - KeyError HOT 1
- Bug: sam local invoke - ReadTimeout HOT 2
- Prevent Image Build/Rebuild for sam local start-api ? HOT 3
- Bug: sam local start-api --warm-containers doesn't work on docker HOT 8
- Bug: Cannot push image to public Repository on ECR HOT 3
- Bug: Cannot resolve http://host.docker.internal when using --warm-containers HOT 6
- Bug: sam local invoke throws exception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: HOT 14
- Mistakingly created HOT 2
- API CORS HOT 4
- Bug: High init duration when deployed through SAM. HOT 5
- Feature request: Allow makefile BuildMethod to use Amazon Linux 2 based build image HOT 2
- Need help with Error: No images found to deploy, try running sam build HOT 4
- Bug: Breaking change on sam 1.110 with NodeJs14 HOT 3
- Sam build duplicates dependency packages even if they share the same manifest HOT 2
- Bug: Error: .NET binaries for Lambda function are not correctly installed HOT 4
- Feature request: Add changeset arns/ids to `sam list` 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 aws-sam-cli.