Availability to disable timestamp for lambda package
jBouyoud opened this issue ยท 40 comments
jBouyoud commented
Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.
- No
๐ : please wait to file a request until the functionality is avaialble in the AWS provider - Yes
โ : please list the AWS provider version which introduced this functionality
Is your request related to a problem? Please describe.
When using this module in a CI environment that aims to detect drift. If the package is freshly checkout the timestamp is always drifting even the checksum doesn't move.
Describe the solution you'd like.
Give a way to disable timestamp checks (probably with a terraform variable)
Describe alternatives you've considered.
Manually touch with a specific timestamp all file that are targeted by the module instance
Additional context
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# module.lambda-export-elasticache-exports.null_resource.archive[0] must be replaced
-/+ resource "null_resource" "archive" {
~ id = "4346580655420454952" -> (known after apply)
~ triggers = { # forces replacement
~ "timestamp" = "1673343927935659800" -> "1673447867144085800"
# (1 unchanged element hidden)
}
}
Plan: 1 to add, 0 to change, 1 to destroy.
evya123 commented
Would be super helpful since currently every run detects a change :\
andrewhharmon commented
plus one for this, I thought maybe i was doing something wrong. Is there any workaround at the moment?