Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeUri should accept path outside of the current region #129

Closed
jolexa opened this issue May 6, 2017 · 1 comment
Closed

CodeUri should accept path outside of the current region #129

jolexa opened this issue May 6, 2017 · 1 comment

Comments

@jolexa
Copy link

jolexa commented May 6, 2017

Hello,

Since S3 is a global resource, it seems odd that there is a restriction that a CodeUri path must be in the same region as a Function. It seems logical that I can make s3://some_bucket/artifact.zip a publically accessible resource and then anyone should be able to use it from any region.

There are also inconsistencies within the AWS ecosystem on this practice. For example, a nested stack (AWS::CloudFormation::Stack) cloudformation template can be in any region (publically accessible) and then you use a https://s3.amazonaws.com/... url

@sanathkr
Copy link
Contributor

It is a limitation on the Lambda service API which doesn't access resources specified in another region. SAM can't do much here.

It is a common practice in many services to limit cross-region calls.

hawflau added a commit that referenced this issue Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants