hashicorp / terraform-provider-consul

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

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

Open simonctrlz opened 9 months ago

simonctrlz commented 9 months 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 9 months 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.