Terraform plan operations and output ' - No changes. Your infrastructure matches the configuration.'

Terraform doesn’t consistently send out summary line: ‘No changes. Your infrastructure matches the configuration.’

recently we upgraded terraform to version 1.4.0, and we found that terraform doesn’t always report the summary line ‘No changes …’.

Some times it emits out a bunch of lines like:

...
aws_instance.syslog: Refreshing state... [id=i-00ca9a54a6533ba03]
aws_eip.syslog: Refreshing state... [id=eipalloc-0ed1388ebdae8ca15]
...

But after that, the much-waited-for green line ‘No changes. Your infrastructure matches the configuration.’ is missed.

I even tried terragrunt: ‘terragrunt run-all plan --terragrunt-include-external-dependencies --terragrunt-non-interactive’, that command didn’t help neither.

anyone know what might be the real cause, Thanks,

IIRC that was a bug in the CLI output in a release or two of Terraform. Except for very specific reasons you should always be using the latest patch release – there were quite a few bugs fixed throughout the v1.4 release cycle that you are missing.