Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Provider produced inconsistent final plan #43

Open
hae-andrew-young opened this issue Jul 22, 2024 · 0 comments
Open

Error: Provider produced inconsistent final plan #43

hae-andrew-young opened this issue Jul 22, 2024 · 0 comments

Comments

@hae-andrew-young
Copy link

I'm running into this error when using this provider. Any idea what's going on here? Oddly enough, sometimes it does not error out but it does often enough for this to be a problem for us.

│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for
│ module.foo-environments["wanted-mayfly"].windns_record.cnames to include
│ new values learned so far during apply, provider
│ "registry.terraform.io/nrkno/windns" produced an invalid new value for
│ .records: was null, but now
│ cty.SetVal([]cty.Value{cty.StringVal("foo.example.com")}).
│ 
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.

The usage looks like this

resource "windns_record" "cnames" {
  name      = var.name
  zone_name = var.domain_to_join
  type      = "CNAME"
  records   = ["${local.app_vm_name}.${var.domain_to_join}"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant