Skip to content

lambda.null_resource.archive[0] must be replaced #51

@123BLiN

Description

@123BLiN

Hi, thanks for your awesome work!

We are using this module from another terraform-aws-module https://github.com/terraform-aws-modules/terraform-aws-notify-slack/blob/v3.4.0/main.tf
And every new run triggers new resource:

  # module.cloudwatch_monitoring.module.notify_slack.module.lambda.null_resource.archive[0] must be replaced
-/+ resource "null_resource" "archive" {
      ~ id       = "5319273782967310555" -> (known after apply)
      ~ triggers = { # forces replacement
            "filename"  = "builds/5263a8b288d3aa735f5e3f690df38b5c344b6148f53581dd46fd72f43a77a3d3.zip"
          ~ "timestamp" = "1597778885990253000" -> "1598388524692038000"
        }
    }

I have not dig deep yet, however I wonder maybe this line is not required?
https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/master/package.tf#L54

P.S. It seems that it is only reproducible if more than one person is working on the same terraform code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions