-
Notifications
You must be signed in to change notification settings - Fork 4k
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(s3-deployment): passing any system metadata causes lambda to fail on "Unknown options:" when invoking aws cli. #6086
fix(s3-deployment): passing any system metadata causes lambda to fail on "Unknown options:" when invoking aws cli. #6086
Conversation
…yment-metadata-fix
…l elements in aws commands
…yment-metadata-fix
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
…b.com/AlexCheema/aws-cdk into alexcheema/s3-deployment-metadata-fix
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
fix(s3-deployment): remove unnecessary fstring Co-Authored-By: Eli Polonsky <[email protected]>
Pull request has been modified.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@eladb some minor changes after your previous review |
Thank you for contributing! Your pull request is now being automatically merged. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request is now being automatically merged. |
Fixes #4665
The AWS CLI list of commands generated when using system-defined metadata bundled together pairs of arguments, which caused the CLI to give e.g.
Unknown options: --cache-control 'max-age=600'
as an error. The fix is to ensure that each argument is a separate string in the list of AWS CLI commands.Tests have been added for checking individual aws commands elementwise.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license