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

fix(sam-translate.py): add samtranslator to path #2875

Merged
merged 3 commits into from
Feb 8, 2023
Merged

fix(sam-translate.py): add samtranslator to path #2875

merged 3 commits into from
Feb 8, 2023

Conversation

hoffa
Copy link
Contributor

@hoffa hoffa commented Feb 8, 2023

Issue #, if available

Fixes #2873

Description of changes

Removed in #2865.

Description of how you validated changes

% python3 -m venv .venv && source .venv/bin/activate
% pip install -r serverless-application-model/requirements/base.txt
% pip install pyyaml
% python serverless-application-model/bin/sam-translate.py --template-file foo.yaml --output-template bar.yaml
Wrote transformed CloudFormation template to: bar.yaml

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

bin/sam-translate.py Show resolved Hide resolved
hoffa and others added 2 commits February 8, 2023 15:06
Co-authored-by: _sam <3804518+aahung@users.noreply.github.com>
@hoffa hoffa marked this pull request as ready for review February 8, 2023 23:11
@hoffa hoffa requested a review from a team as a code owner February 8, 2023 23:11
@hoffa hoffa merged commit aff1d85 into aws:develop Feb 8, 2023
@hoffa hoffa deleted the fix-path branch February 8, 2023 23:13
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

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'samtranslator'
4 participants