-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 when loading plugin schemas outputs diagnostics suffixed with double period #34865
Comments
Hi @bendbennett, Our typical convention is that Because of that, whenever we're using an From the locations you linked it seems like this symptom would arise if the |
Hi @apparentlymart, Thanks for looking into this. Apologies if I've misunderstood. It seems the double period is because the |
Generating an Looking around at the context near the code snippets you pointed to, I think what we have here is some leftover tech debt from the original shift from using There thankfully aren't many example of that left anymore, but this seems like one we missed. The |
Terraform Version
Terraform Configuration Files
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:
│ 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:
│ Function "string_len": Parameter at position 0 does not have a name..
Steps to Reproduce
terraform init
terraform apply
Additional Context
This appears to be because the diagnostics are suffixed with a period in two locations:
References
No response
The text was updated successfully, but these errors were encountered: