hashicorp / terraform-provider-consul

Terraform Consul provider
https://www.terraform.io/docs/providers/consul/
Mozilla Public License 2.0
125 stars 113 forks source link

consul_config_entry_service_resolver: Error: time: invalid duration "" #382

Open simonctrlz opened 1 year ago

simonctrlz commented 1 year ago

Terraform Version

Terraform v1.6.4
on linux_amd64
+ provider registry.terraform.io/hashicorp/consul v2.20.0
+ provider registry.terraform.io/hashicorp/local v2.2.3
+ provider registry.terraform.io/hashicorp/random v3.5.1

Affected Resource(s)

Please list the resources as a list, for example:

Terraform Configuration Files

resource "consul_config_entry_service_resolver" "bug" {
  name = "bug"
  subsets {
      name = "subset"
      filter = "Service.Meta.cool == \"cool\""
      only_passing = true
  }
}

Debug Output

https://gist.github.com/simonctrlz/9115a5a41f9d380be47932f4be2a055d

Expected Behavior

It applies.

Actual Behavior

It didn't apply.

remilapeyre commented 1 year ago

Hello @simonctrlz, thanks for reporting this issue! I will fix this and https://github.com/hashicorp/terraform-provider-consul/issues/381 today and make a new release.

shabbir-saifee-cmm commented 3 weeks ago

We are running into the same error. Since its been almost a year when this issue was opened, is this going to get fixed any time soon?