Loading...
Loading...
### Terraform Version ```shell Terraform v1.8.0-dev on darwin_arm64 v1.8.0-beta1 ``` ### Terraform Configuration Files ```terraform resource "example_resource" "example" { configurable_attribute = provider::example::string_len("some-value") } ``` ### Debug Output https://gist.github.com/bendbennett/6e635384603062b983df30f74b9bbacc ### Expected Behavior Expected the last line of the practitioner-facing error message from the CLI to be suffixed with a single period: ```shell │ Function "string_len": Parameter at position 0 does not have a name. ``` ### Actual Behavior The last line of the practitioner-facing error message from the CLI is suffixed with a double period: ```shell │ Function "string_len": Parameter at position 0 does not have a name.. ``` ### Steps to Reproduce 1. `terraform init` 2. `terraform apply` ### Additional Context This appears to be because the diagnostics are suffixed with a period in two locations: - https://github.com/hashicorp/terraform/blob/v1.8.0-beta1/internal/terraform/schemas.go#L109 - https://github.com/hashicorp/terraform/blob/v1.8.0-beta1/internal/terraform/context.go#L173 ### References _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.