You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if the for_each in place, the second round can't be successfully applied, even if the first got succeeded(which helm ls can work and show the proper results )
Versions
➜ terraform version
Terraform v0.12.28
+ provider.helmfile v0.3.16
➜ terraform apply --parallelism=1 -auto-approve
helmfile_release_set.helmfile_release["test"]: Creating...
helmfile_release_set.helmfile_release["test"]: Still creating... [10s elapsed]
helmfile_release_set.helmfile_release["test"]: Still creating... [20s elapsed]
helmfile_release_set.helmfile_release["test"]: Still creating... [30s elapsed]
helmfile_release_set.helmfile_release["test"]: Creation complete after 35s [id=bssvfole8ppekekulrcg]
Error: Provider produced inconsistent final plan
When expanding the plan for helmfile_release_set.helmfile_release["dev1"] to
include new values learned so far during apply, provider
"registry.terraform.io/-/helmfile" produced an invalid new value for
.diff_output: was cty.StringVal("Adding repo ...
...
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
A piece of Trace
2020-08-17T11:39:40.234+0800 [DEBUG] plugin.terraform-provider-helmfile_v0.3.16: 2020/08/17 11:39:40 [DEBUG] Unlocking ".terraform/modules/china-deploy/"
2020-08-17T11:39:40.234+0800 [DEBUG] plugin.terraform-provider-helmfile_v0.3.16: 2020/08/17 11:39:40 [DEBUG] Unlocked ".terraform/modules/china-deploy/"
2020-08-17T11:39:40.234+0800 [DEBUG] plugin.terraform-provider-helmfile_v0.3.16: 2020/08/17 11:39:40 Writing diff file to .terraform/helmfile/diff-0d61dda974b408c0124baa9d71fcaf530c3b0f5661c2d38ab89aa80e36569406
2020/08/17 11:39:40 [WARN] Provider "registry.terraform.io/-/helmfile" produced an invalid plan for helmfile_release_set.helmfile_release["dev1"], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .binary: planned value cty.StringVal("helmfile") does not match config value cty.NullVal(cty.String)
- .dirty: planned value cty.False does not match config value cty.NullVal(cty.Bool)
- .helm_binary: planned value cty.StringVal("helm") does not match config value cty.NullVal(cty.String)
2020/08/17 11:39:40 [TRACE] <root>: eval: *terraform.EvalCheckPlannedChange
2020/08/17 11:39:40 [TRACE] EvalCheckPlannedChange: Verifying that actual change (action Create) matches planned change (action Create)
2020/08/17 11:39:40 [ERROR] <root>: eval: *terraform.EvalCheckPlannedChange, err: Provider produced inconsistent final plan: When expanding the plan for helmfile_release_set.helmfile_release["dev1"] to include new values learned so far during apply, provider "registry.terraform.io/-/helmfile" produced an invalid new value for .diff_output: was cty.StringVal("
...
2020/08/17 11:39:40 [ERROR] <root>: eval: *terraform.EvalSequence, err: Provider produced inconsistent final plan: When expanding the plan for helmfile_release_set.helmfile_release["dev1"] to include new values learned so far during apply, provider "registry.terraform.io/-/helmfile" produced an invalid new value for .diff_output: was cty.StringVal("
The text was updated successfully, but these errors were encountered:
@caryyu Hey! Thanks for the detailed report. I believe this can happen due to the same cause as #28 and another one that was fixed while addressing #28.
I've just release v0.4.0 that should fix the both issues. Would you mind giving it a shot? Also upgrading Helmfile to v0.126.0 is highly recommended to solve #28
if the
for_each
in place, the second round can't be successfully applied, even if the first got succeeded(whichhelm ls
can work and show the proper results )Versions
tfvars
terraform code
Output
A piece of Trace
The text was updated successfully, but these errors were encountered: