Created
February 17, 2017 14:48
-
-
Save BastienM/17af55eff030d8f8a98dba22db6b29ee to your computer and use it in GitHub Desktop.
lookup doesn't like interpolation in the first arg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017/02/17 15:47:15 [INFO] Terraform version: 0.8.1 a54c3478b456502c19be675c17eb58309808ebc1 | |
2017/02/17 15:47:15 [INFO] CLI args: []string{"C:\\Users\\44026729\\Tools\\bin\\terraform.exe", "apply"} | |
2017/02/17 15:47:15 [DEBUG] Attempting to open CLI config file: C:\Users\44026729\AppData\Roaming\terraform.rc | |
2017/02/17 15:47:15 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
onfigVariable | |
output.B - *terraform.GraphNodeConfigOutput | |
var.mesComptes_cpu_alert - *terraform.GraphNodeConfigVariable | |
output.C - *terraform.GraphNodeConfigOutput | |
var.alerts_list - *terraform.GraphNodeConfigVariable | |
var.alerts_list - *terraform.GraphNodeConfigVariable | |
var.ec2_metrics - *terraform.GraphNodeConfigVariable | |
var.mesComptes_cpu_alert - *terraform.GraphNodeConfigVariable | |
var.mesComptes_cpu_alert_dimensions - *terraform.GraphNodeConfigVariable | |
Variable | |
output.B - *terraform.GraphNodeConfigOutput | |
var.mesComptes_cpu_alert - *terraform.GraphNodeConfigVariable | |
output.C - *terraform.GraphNodeConfigOutput | |
var.alerts_list - *terraform.GraphNodeConfigVariable | |
var.alerts_list - *terraform.GraphNodeConfigVariable | |
var.ec2_metrics - *terraform.GraphNodeConfigVariable | |
var.mesComptes_cpu_alert - *terraform.GraphNodeConfigVariable | |
var.mesComptes_cpu_alert_dimensions - *terraform.GraphNodeConfigVariable | |
BUG] Checking variable noop: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] No diff, not a noop | |
2017/02/17 15:47:15 [DEBUG] Checking variable noop: var.alerts_list | |
2017/02/17 15:47:15 [DEBUG] No diff, not a noop | |
2017/02/17 15:47:15 [DEBUG] Checking variable noop: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] No diff, not a noop | |
2017/02/17 15:47:15 [DEBUG] Starting graph walk: walkInput | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkInput] Entering eval tree: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkInput] Exiting eval tree: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkInput] Entering eval tree: var.alerts_list | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkInput] Exiting eval tree: var.alerts_list | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkInput] Entering eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkInput] Exiting eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkInput] Entering eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkInput] Exiting eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] vertex "output.A", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkInput] Entering eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] vertex "output.B", got dep: "var.mesComptes_cpu_alert" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkInput] Entering eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] vertex "output.C", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkInput] Entering eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.ec2_metrics" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [WARN] Output interpolation "C" failed: At column 3, line 1: lookup: argument 1 should be type map, got type string in: | |
${lookup(format("var.%s", var.alerts_list[0]), "name")} | |
2017/02/17 15:47:15 [TRACE] [walkInput] Exiting eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.B" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.C" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.root': walking | |
2017/02/17 15:47:15 [INFO] Validating the context... | |
2017/02/17 15:47:15 [DEBUG] No diff, not a noop | |
2017/02/17 15:47:15 [DEBUG] Checking variable noop: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] No diff, not a noop | |
2017/02/17 15:47:15 [DEBUG] Starting graph walk: walkValidate | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': walking | |
2017/02/17 15:47:15 [DEBUG] vertex "output.B", got dep: "var.mesComptes_cpu_alert" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': evaluating | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: var.alerts_list | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': evaluating | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: var.alerts_list | |
2017/02/17 15:47:15 [DEBUG] vertex "output.C", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [WARN] Output interpolation "C" failed: At column 3, line 1: lookup: argument 1 should be type map, got type string in: | |
${lookup(format("var.%s", var.alerts_list[0]), "name")} | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] vertex "output.A", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.B" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.C" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.ec2_metrics" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.root': walking | |
2017/02/17 15:47:15 [INFO] Starting shadow graph walk: walkValidate | |
2017/02/17 15:47:15 [DEBUG] Waiting for shadow graph to complete... | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: var.alerts_list | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: var.alerts_list | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] vertex "output.B", got dep: "var.mesComptes_cpu_alert" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] vertex "output.A", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] vertex "output.C", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Entering eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.B" | |
2017/02/17 15:47:15 [WARN] Output interpolation "C" failed: At column 3, line 1: lookup: argument 1 should be type map, got type string in: | |
${lookup(format("var.%s", var.alerts_list[0]), "name")} | |
2017/02/17 15:47:15 [TRACE] [walkValidate] Exiting eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.C" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.ec2_metrics" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.root': walking | |
2017/02/17 15:47:15 [INFO] Shadow graph success! | |
2017/02/17 15:47:15 [INFO] Validation result: 0 warnings, 0 errors | |
2017/02/17 15:47:15 [DEBUG] No diff, not a noop | |
form.GraphNodeConfigVariable | |
output.B - *terraform.GraphNodeConfigOutput | |
var.mesComptes_cpu_alert - *terraform.GraphNodeConfigVariable | |
output.C - *terraform.GraphNodeConfigOutput | |
var.alerts_list - *terraform.GraphNodeConfigVariable | |
var.alerts_list - *terraform.GraphNodeConfigVariable | |
var.ec2_metrics - *terraform.GraphNodeConfigVariable | |
var.mesComptes_cpu_alert - *terraform.GraphNodeConfigVariable | |
var.mesComptes_cpu_alert_dimensions - *terraform.GraphNodeConfigVariable | |
2017/02/17 15:47:15 [DEBUG] Starting graph walk: walkRefresh | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: var.ec2_metrics | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.ec2_metrics" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: var.alerts_list | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: var.alerts_list | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [DEBUG] vertex "output.A", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] vertex "output.C", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] vertex "output.B", got dep: "var.mesComptes_cpu_alert" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [WARN] Output interpolation "C" failed: At column 3, line 1: lookup: argument 1 should be type map, got type string in: | |
${lookup(format("var.%s", var.alerts_list[0]), "name")} | |
ptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: var.mesComptes_cpu_alert | |
2017/02/17 15:47:15 [DEBUG] vertex "output.B", got dep: "var.mesComptes_cpu_alert" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalNoop | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: var.mesComptes_cpu_alert_dimensions | |
2017/02/17 15:47:15 [DEBUG] vertex "output.A", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Entering eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [TRACE] [walkRefresh] Exiting eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.B" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.C" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.ec2_metrics" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.root': walking | |
2017/02/17 15:47:15 [INFO] Shadow graph success! | |
.NodeRootVariable | |
2017/02/17 15:47:15 [DEBUG] Starting graph walk: walkPlan | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': walking | |
2017/02/17 15:47:15 [DEBUG] vertex "output.C", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Entering eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [WARN] Output interpolation "C" failed: At column 3, line 1: lookup: argument 1 should be type map, got type string in: | |
${lookup(format("var.%s", var.alerts_list[0]), "name")} | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Exiting eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] vertex "output.A", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': walking | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Entering eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': walking | |
2017/02/17 15:47:15 [DEBUG] vertex "output.B", got dep: "var.mesComptes_cpu_alert" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Entering eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Exiting eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': walking | |
2017/02/17 15:47:15 [DEBUG] vertex "output.B", got dep: "var.mesComptes_cpu_alert" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': evaluating | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex "output.C", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Entering eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Entering eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Exiting eval tree: output.B | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.B" | |
2017/02/17 15:47:15 [WARN] Output interpolation "C" failed: At column 3, line 1: lookup: argument 1 should be type map, got type string in: | |
${lookup(format("var.%s", var.alerts_list[0]), "name")} | |
2017/02/17 15:47:15 [TRACE] [walkPlan] Exiting eval tree: output.C | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "output.C" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.ec2_metrics" | |
2017/02/17 15:47:15 [DEBUG] vertex "root", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.root': walking | |
2017/02/17 15:47:15 [INFO] Shadow graph success! | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraform.DiffTransformer: | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraform.OrphanOutputTransformer: | |
2017/02/17 15:47:15 [TRACE] AttachResourceConfigTransformer: Beginning... | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer: | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraform.MissingProviderTransformer: | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraforferenceTransformer: "output.C" references: [var.alerts_list] | |
2017/02/17 15:47:15 [DEBUG] ReferenceTransformer: "var.ec2_metrics" references: [] | |
2017/02/17 15:47:15 [DEBUG] ReferenceTransformer: "var.alerts_list" references: [] | |
2017/02/17 15:47:15 [DEBUG] ReferenceTransformer: "var.mesComptes_cpu_alert" references: [] | |
2017/02/17 15:47:15 [DEBUG] ReferenceTransformer: "var.mesComptes_cpu_alert_dimensions" references: [] | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
output.A - *terraform.NodeApplyableOutput | |
var.alerts_list - *terraform.NodeRootVariable | |
output.B - *terraform.NodeApplyableOutput | |
var.mesComptes_cpu_alert - *terraform.NodeRootVariable | |
output.C - *terraform.NodeApplyableOutput | |
var.alerts_list - *terraform.NodeRootVariable | |
var.alerts_list - *terraform.NodeRootVariable | |
var.ec2_metrics - *terraform.NodeRootVariable | |
var.mesComptes_cpu_alert - *terraform.NodeRootVariable | |
var.mesComptes_cpu_alert_dimensions - *terraform.NodeRootVariable | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraform.CountBoundaryTransformer: | |
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary | |
output.A - *terraform.NodeApplyableOutput | |
output.B - *terraform.NodeApplyableOutput | |
output.C - *terraform.NodeApplyableOutput | |
var.alerts_list - *terraform.NodeRootVariable | |
var.ec2_metrics - *terraform.NodeRootVariable | |
var.mesComptes_cpu_alert - *terraform.NodeRootVariable | |
var.mesComptes_cpu_alert_dimensions - *terraform.NodeRootVariable | |
output.A - *terraform.NodeApplyableOutput | |
var.alerts_list - *terraform.NodeRootVariable | |
output.B - *terraform.NodeApplyableOutput | |
var.mesComptes_cpu_alert - *terraform.NodeRootVariable | |
output.C - *terraform.NodeApplyableOutput | |
var.alerts_list - *terraform.NodeRootVariable | |
var.alerts_list - *terraform.NodeRootVariable | |
var.ec2_metrics - *terraform.NodeRootVariable | |
var.mesComptes_cpu_alert - *terraform.NodeRootVariable | |
var.mesComptes_cpu_alert_dimensions - *terraform.NodeRootVariable | |
2017/02/17 15:47:15 [TRACE] Graph after step *terraform.RootTransformer: | |
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary | |
output.A - *terraform.NodeApplyableOutput | |
output.B': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.B': evaluating | |
15 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkApply] Entering eval tree: meta.count-boundary (count boundary fixup) | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal | |
2017/02/17 15:47:15 [TRACE] [walkApply] Exiting eval tree: meta.count-boundary (count boundary fixup) | |
2017/02/17 15:47:15 [INFO] Starting shadow graph walk: walkApply | |
2017/02/17 15:47:15 [DEBUG] Waiting for shadow graph to complete... | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.ec2_metrics': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.alerts_list': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.var.mesComptes_cpu_alert_dimensions': walking | |
2017/02/17 15:47:15 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "var.mesComptes_cpu_alert_dimensions" | |
2017/02/17 15:47:15 [DEBUG] vertex "output.A", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.A': evaluating | |
2017/02/17 15:47:15 [TRACE] [walkApply] Entering eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalOpFilter | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalSequence | |
2017/02/17 15:47:15 [DEBUG] root: eval: *terraform.EvalWriteOutput | |
2017/02/17 15:47:15 [TRACE] [walkApply] Exiting eval tree: output.A | |
2017/02/17 15:47:15 [DEBUG] vertex "output.B", got dep: "var.mesComptes_cpu_alert" | |
2017/02/17 15:47:15 [DEBUG] vertex "output.C", got dep: "var.alerts_list" | |
2017/02/17 15:47:15 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "output.A" | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': walking | |
2017/02/17 15:47:15 [DEBUG] vertex 'root.output.C': evaluating |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment