#terraform-aws-modules (2021-11)

terraform Terraform Modules

Discussions related to https://github.com/terraform-aws-modules

Archive: https://archive.sweetops.com/terraform-aws-modules/

2021-11-17

Marc Lopez avatar
Marc Lopez

Hi! We use the lambda-elasticsearch-logs-cleanup module and since some hours ago we are getting this error:

Error: failed to execute "curl": curl: (22) The requested URL returned error: 404 

  on .terraform/modules/lambda-elasticsearch-logs-cleanup.artifact/main.tf line 1, in data "external" "curl":
   1: data "external" "curl" {

Seems that is trying to download the lambda artifact that does not exists anymore:

2021/11/17 12:00:29 [DEBUG] ReferenceTransformer: "module.lambda-elasticsearch-logs-cleanup[0].module.artifact.data.template_file.url[0]" references: []
2021/11/17 12:00:29 [WARN] Provider "registry.terraform.io/hashicorp/template" produced an unexpected new value for module.lambda-elasticsearch-logs-cleanup[0].module.artifact.data.template_file.url[0].
      - .rendered: was cty.StringVal("<https://artifacts.cloudposse.com/terraform-aws-lambda-elasticsearch-cleanup/20f9b1fd94e4b5f808d9ed51fec5a60094fce49b/lambda.zip>"), but now cty.StringVal("<https://artifacts.cloudposse.com/terraform-aws-lambda-elasticsearch-cleanup/5b2d34b7a97d386cdf76691b5952c30b31c9a39e/lambda.zip>")
      - .id: was cty.StringVal("ab6aa662215a10b692c7a657849e815b43d07d9fdc0324927c75004323d96e7e"), but now cty.StringVal("22dd58a23ba0d8516e44975edf035e16fd8eb7876b81977de63fc182e4b42de1")

Thanks!

    keyboard_arrow_up