Open
Description
Describe the Bug
From yesterday, 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" {
If we enable TF_LOG=DEBUG we can see this:
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")
This URL:
https://artifacts.cloudposse.com/terraform-aws-lambda-elasticsearch-cleanup/5b2d34b7a97d386cdf76691b5952c30b31c9a39e/lambda.zip
returns 404.
We are using 0.12.3
module version. We tried to upgrade to the last recent release (0.12.4)
but we are getting the same error.
Steps to Reproduce
Simply run a terraform plan
Environment (please complete the following information):
- Terraform 0.14.10
- Module version 0.12.3 and 0.12.4
Additional Context
This problem started just yesterday. Maybe some thing is broken with the latest release?