terraform-aws-lambda icon indicating copy to clipboard operation
terraform-aws-lambda copied to clipboard

fix: Make the archive resource change when its content changes

Open mhmd3bdo opened this issue 3 years ago β€’ 0 comments

Description

The suggested change is to detect changes in null_resource archive by hash and instead of timestamps.

Motivation and Context

The terraform plan command will always show changes because the null_resource archive is triggered by timestamps which makes TF runs not idempotent.

Breaking Changes

No

How Has This Been Tested?

  • [ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • [ ] I have tested and validated these changes using one or more of the provided examples/* projects
  • [ ] I have executed pre-commit run -a on my pull request

mhmd3bdo avatar Jul 25 '22 20:07 mhmd3bdo