Provider incorrectly report the latest version as 2 versions behind the latest in any error message #2263
Labels
awaiting-affected-resources
Please Provide the affected resource name in description. ex. Affected resource - oci_core_instance
bug
Community Note
Terraform Version and Provider Version
Terraform v1.8.5
on linux_amd64
Affected Resource(s)
affected_resources = terraform
Terraform Configuration Files
N/A. Any terraform run producing an error will have this issue.
Debug Output
Panic Output
│ Error: 404-NotAuthorizedOrNotFound, Failed to validate tags: TagNamespace ns does not exists
│ Suggestion: Either the resource has been deleted or service Identity Compartment need policy to access this resource. Policy reference: https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm
│ Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_compartment
│ API Reference: https://docs.oracle.com/iaas/api/#/en/identity/20160918/Compartment/CreateCompartment
│ Request Target: POST https://identity.ca-toronto-1.oci.oraclecloud.com/20160918/compartments
│ Provider version: 6.21.0, released on 2024-12-22. This provider is 2 Update(s) behind to current.
│ Service: Identity Compartment
│ Operation Name: CreateCompartment
│ OPC request ID: 7e54ff190781fece5b9e0978a2d54970/53CD14EF4076FFEA613F311BF0996F7B/32B37618E54F3694336E2E3D80012ACC
│ Error: 429-TooManyRequests, Tenant has been throttled. Too Many Requests
│ Suggestion: Please re-apply your Terraform config and/or increase the retry timeout using this document: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformtroubleshooting.htm#common_issues__automaticretries
│ Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_tag
│ API Reference: https://docs.oracle.com/iaas/api/#/en/identity/20160918/Tag/DeleteTag
│ Request Target: DELETE https://identity.ca-toronto-1.oci.oraclecloud.com/20160918/tagNamespaces/ocid1.tagnamespace.oc1..aaaaaaaas4jtlhko64f22bhpzxf4x2strcysub4bczhyroivpc4svpk2u6yq/tags/k3
│ Provider version: 6.21.0, released on 2024-12-22. This provider is 2 Update(s) behind to current.
│ Service: Identity Tag
│ Operation Name: DeleteTag
│ OPC request ID: 7737077f23a440e1cf21a80dffdbc971/92E643E906742C48465D23A5E6BC4CF6/006F3E46D0BFDF07E7C6201FF6A1DCD2
Expected Behavior
As of today, Jan 9, 2025, provider version 6.21.0 is the latest published version, so in any message referencing the version should NOT say it's out-of-date.
Actual Behavior
As the two error messages posted above, even though 6.21.0 is the latest, it says it's 2 Updates behind to the current.
Steps to Reproduce
create a dummy terraform code that will fail with error
terraform apply
The text was updated successfully, but these errors were encountered: