-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: --base-dir is disregarded in sam build #2718
Conversation
@@ -80,8 +84,8 @@ def __enter__(self) -> "BuildContext": | |||
"\n".join([f"- {full_path}" for full_path in remote_stack_full_paths]), | |||
) | |||
|
|||
self._function_provider = SamFunctionProvider(self.stacks) | |||
self._layer_provider = SamLayerProvider(self.stacks) | |||
self._function_provider = SamFunctionProvider(self.stacks, self._use_raw_codeuri) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a note here too and reference the issue number.
a62c74d
to
3ac6120
Compare
ChildStackX: | ||
Type: AWS::Serverless::Application | ||
Properties: | ||
Location: ../ChildStackX/template.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will combine with provided base dir right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no this will not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However if a base dir is not provided, we just resolve with location of the template. (which is not this particular test, but asking to help grok through the test)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, whether base dir is provided or not, this Location
is resolved according to its parent template path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on offline conversation: applies only to codeuri and contenturi.
Which issue(s) does this change fix?
#2717
Why is this change necessary?
How does it address the issue?
What side effects does this change have?
Checklist
make pr
passesmake update-reproducible-reqs
if dependencies were changedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.