-
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
sam deploy incorrectly displays parameter override when value has a space in it #2018
Comments
Did you try single quoting all the parameters as referenced in: #1652 |
Hi @sriram-mv, no. it doesn't help |
I had similar issue passing an xml file as parameter for SSO and it gets truncated after the first space. |
Can you label this as a bug? This needs more attention |
Treating as a bug and investigating. |
I can confirm this bug does not exist, at least for the given example, when using
This works in |
This doesn't preclude the issue in the original issue post, but it's at least a workaround. Looking at the original issue as well. |
$ sam deploy --parameter-overrides "TestParam='hello test'"
Deploying with following values
===============================
Stack name : issue2018
Region : us-east-1
Confirm changeset : False
Deployment s3 bucket : aws-sam-cli-managed-default-samclisourcebucket-1fme5yordvskg
Capabilities : ["CAPABILITY_IAM"]
Parameter overrides : {'TestParam': "'hello"} So this issue is confirmed by me as well, will try to see what the difference in behavior is. I can also note that double-quotes seem to behave differently and are another workaround: $ sam deploy --parameter-overrides "TestParam=\"hello test\""
Deploying with following values
===============================
Stack name : issue2018
Region : us-east-1
Confirm changeset : False
Deployment s3 bucket : aws-sam-cli-managed-default-samclisourcebucket-1fme5yordvskg
Capabilities : ["CAPABILITY_IAM"]
Parameter overrides : {'TestParam': 'hello test'} |
I'm still experiencing this issue. I've tried several combinations mentionned in the issues but none of them worked for me |
Hi @Aleksandr-Filichkin @luchees ,
|
PR is released. |
I resolved this scenario using options below:
Or
|
sam version is 0.52.0
Cannot send parameter with whitespace in value
but in log I see
Looks like it was not fixed for #1652
The text was updated successfully, but these errors were encountered: