Skip to content

cdk diff not picking up differences if old/new value is in format x.y.z #15935

@johfer-bd

Description

@johfer-bd

"cdk diff" in the current version (1.117.0 / 2.0.0-rc.16) doesn't pick up differences if the old/new value has a number-like format but actually isn't a number (e.g. 0.31.1)

What did you expect to happen?

I expected the differences are picked up and shown

What actually happened?

I received "There are no differences"

Environment

  • **CDK CLI Version : 2.0.0-rc.16
  • Node.js Version: 14.17.0
  • OS : MacOs
  • Language (Version): TypeScript (4.1.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.effort/smallSmall work item – less than a day of effortp1package/toolsRelated to AWS CDK Tools or CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions