You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an interesting issue today. I have a SNS Subscription with a filter policy which uses a list of strings of numerical values to create filters. It looks something like this:
So the number with a leading 0 was converted to a number, but not one which had a 0 followed by a 5. I traced the issue to a bug in the AWS CLI: aws/aws-cli#2934 - it was fixed apparently in AWS CLI v2 because they dropped pyyaml for ruamel according to aws/aws-cli#2934 (comment)
Since we are consuming awscli==1.18.97 we are still experiencing this.
Apparently the workaround is to use a trivial !Join [ "", "0900" ] which will prevent the incorrect parsing.
What would it take to move our code to awscli 2?
The text was updated successfully, but these errors were encountered:
I did some very quick check, turns out awscli2 is not on pypi, the latest version is 1.18.121, seems AWS is pushing for a binary distribution for awscli v2... any thoughts...?
I ran into an interesting issue today. I have a SNS Subscription with a filter policy which uses a list of strings of numerical values to create filters. It looks something like this:
When the template is deployed, I end up with a template which looks like:
I traced it to the cfn package command by adding a --verbose:
So the number with a leading 0 was converted to a number, but not one which had a 0 followed by a 5. I traced the issue to a bug in the AWS CLI: aws/aws-cli#2934 - it was fixed apparently in AWS CLI v2 because they dropped pyyaml for ruamel according to aws/aws-cli#2934 (comment)
Since we are consuming
awscli==1.18.97
we are still experiencing this.Apparently the workaround is to use a trivial
!Join [ "", "0900" ]
which will prevent the incorrect parsing.What would it take to move our code to awscli 2?
The text was updated successfully, but these errors were encountered: