Hello,
The registry API call for the google provider versions return an incorrect value in the protocols
fields for version 2.20.3
.
According to documentation (Provider Registry Protocol | Terraform | HashiCorp Developer) protocols version should be a list of MAJOR.MINOR
.
Version 2.20.3 of the return "4,5"
with a comma.
$
curl https://registry.terraform.io/v1/providers/-/google/versions --no-progress-meter | jq -r '.versions[] | select(.version == "2.20.3") | .version,.protocols'
2.20.3
[
“4,5”
]
For example version 2.20.0
is correct:
$
curl https://registry.terraform.io/v1/providers/-/google/versions --no-progress-meter | jq -r '.versions[ ] | select(.version == "2.20.0") | .version,.protocols'
2.20.0
[
“4.0”,
“5.0”
]
It look that this is a recent error. Is it something that can be fixed ?