cloudposse / cloudposse/terraform-aws-lambda-elasticsearch-cleanup

"filename_effective" is not a valid template control keyword.

Open
#13 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
HCL
Stars
12
Forks
12
PR merge metrics
No merged PRs in 30d

Description

```
There are some problems with the configuration, described below.

The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.

Error: Invalid template control keyword

on .terraform/modules/elasticsearch_cleanup.artifact/main.tf line 2, in data "external" "curl":
2: program = ["curl", "${var.curl_arguments}", "--write-out", "{\"success\": \"true\", \"filename_effective\": \"%{filename_effective}\"}", "-o", "${local.output_file}", "${local.url}"]

"filename_effective" is not a valid template control keyword.

Error: Unsuitable value type

on .terraform/modules/elasticsearch_cleanup.artifact/variables.tf line 11, in variable "module_path":
11: description = "Local path to the terraform module; e.g. `${path.module}`"

Unsuitable value: value must be known

Error: Variables not allowed

on .terraform/modules/elasticsearch_cleanup.artifact/variables.tf line 11, in variable "module_path":
11: description = "Local path to the terraform module; e.g. `${path.module}`"

Variables may not be used here.
```

After a clean `terraform init`. I am using `?ref=tags/0.4.0`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.