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
Need "no quotes" string option for JMESPAth output #1961
Comments
For now I'm using
|
You can do this now with the
It should output the id that you want without the quotes. Let us know if that helps. |
AH, OK thanks will give it a go. I had assume the text output would be ALL the same info as in the json. Ie more than just the ID. |
@SteveALee Correct, it shows all the same information. |
Gotit --query IdentityPoolId filters even if not JSON output. Effectively -output text reformats the json output. |
Yes |
…ws#1961) * fix: allow parameters to be passed through to `SamTranslatorWrapper` Why is this change necessary? * Some plugins require that intrinsics are resolved and parameter information be present. How does it address the issue? * Passing parameters that have parameters and pseudo parameters resolved fixes the issue. * Also tested with local invoke and deploy What side effects does this change have? * None at this point. * fix: integration tests Why is this change necessary? * Integration testing for intrinsics. How does it address the issue? * Test use cases where the function invoke and deploys work and shouldnt work. * fix: test assertions - line numbers Why is this change necessary? * Container Implementation may have changed, which changes the line numbers in the assertion. How does it address the issue? * Updated to correct line number in the assertion. What side effects does this change have? * None * fix: address comments
I know this is an old thread but it popped up on google so I thought I'd add to the conversation. The I use the following for multi line information.
echo $(aws secretsmanager get-secret-value --secret-id my-client-pem --query SecretString | sed 's,",,g') > client.pem with aws secretsmanager get-secret-value --secret-id my-client-pem | jq -r '.SecretString' > client.pem It would be nice if the awscli supported a native |
Be careful using
You can can combine AWS cli command with
|
Is there a way to lose the quotes in returned string values?
In order to use output such as the
IdentityPoolId
fromcognito-identity create-identity-pool
on the command line the quotes need to me removed.JMSEPath jp includes an
-u/--unquoted
option or we can setexport JP_UNQUOTED=true
neither work with AWS. Can you please implement?
The text was updated successfully, but these errors were encountered: