Terraform version: 0.12.13
Signalfx provider version: 4.10.2
When I create SignalFx chart using dynamics as below, I keep on getting this error "Error: Provider produced inconsistent final plan" sometimes.
locals {
my_modules = [
module.a,
module.b,
module.c,
]
}
resource "signalfx_dashboard" "my_dashboard" {
name = "my dashboard"
dashboard_group = "${signalfx_dashboard_group.my_dashboard_group.id}"
time_range = "-4h"
dynamic "chart" {
iterator = chart_id
for_each = compact([for mod in local.my_modules : mod.output_chart_id])
content {
chart_id = chart_id.value
width = 6
column = 6 * (chart_id.key % 2)
row = floor(chart_id.key / 2)
}
}
}
Here is the error.
Error: Provider produced inconsistent final plan
When expanding the plan for signalfx_dashboard.experience_success to include
new values learned so far during apply, provider "signalfx" produced an
invalid new value for .chart: block set length changed from 1 to 3.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: exit code from docker is 1
Command to apply is as below. (I have removed some personal info)
docker run -u root --entrypoint /tf/0.12.13/terraform -e TF_VAR_signalfx_auth_token -e TF_WARN_OUTPUT_ERRORS --rm -it -w /app/ -v /mypath/signalfx:/app terraform_docker_image:latest apply -refresh=false -parallelism=1
Terraform version: 0.12.13
Signalfx provider version: 4.10.2
When I create SignalFx chart using dynamics as below, I keep on getting this error "Error: Provider produced inconsistent final plan" sometimes.
Here is the error.
Command to apply is as below. (I have removed some personal info)