hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.83k stars 9.17k forks source link

[Bug]: terraform -v not reporting 1.9.4 as current, 1.9.3 as out-of-date. Still reportin 1.9.3 as current #38922

Closed jaffel-lc closed 2 months ago

jaffel-lc commented 2 months ago

Terraform Core Version

1.9.3, 1.3.10, 1.8.5

AWS Provider Version

n/a

Affected Resource(s)

$ terraform version doesn't report 1.9.3 as out of date despite 1.9.4 being releases on 2024-08-07

Expected Behavior

Actual Behavior

1.9.3 is not reporting that it is out-of-date

1.3.10 (and 1.8.5) are reporting that 1.9.3 is the latest version

Relevant Error/Panic Output Snippet

1.9.3:
$ terraform version
Terraform v1.9.3
on linux_amd64

1.3.10:
$ terraform version
Terraform v1.3.10
on linux_amd64

Your version of Terraform is out of date! The latest version
is 1.9.3. You can update by downloading from https://www.terraform.io/downloads.html

Terraform Configuration Files

n/a

Steps to Reproduce

Execute "terraform version" while configured to use Terraform 1.9.3 - we use symbolic links

Execute "terraform version" while configured to use Terraform 1.3.10 - we use symbolic links

Execute "terraform version" while configured to use any other version - e.g. 1.8.5

Debug Output

n/a

Panic Output

n/a

Important Factoids

No response

References

https://releases.hashicorp.com/terraform/ - shows that terrafrom_1.9.4 is available

https://github.com/hashicorp/terraform/blob/v1.9/CHANGELOG.md - shows that Terraform 1.9.4 was released on 2024-08-07

Would you like to implement a fix?

None

github-actions[bot] commented 2 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 2 months ago

Hey @jaffel-lc 👋 Thank you for taking the time to raise this! This repository is used to track bugs and enhancement requests for the Terraform AWS Provider. For more general Terraform-related issues like this, you'll need to open an issue in the Terraform Core repository. With that in mind, I'm going to close this issue.

github-actions[bot] commented 2 months ago

[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

stefanfreitag commented 2 months ago

Hi @jaffel-lc,

thanks for raising the issue. I think you are right as I see same behavior in my local environment

$ terraform version
Terraform v1.9.3
on linux_amd64

The additional information on the new Terraform release is created here (in the Terraform repository, not in the Terraform AWS provider repository). To my current understanding the check fails at the moment because the API provides outdated information.

{"product":"terraform","current_version":"1.9.3","current_release":1721850049,"current_download_url":"https://releases.hashicorp.com/terraform/1.9.3","current_changelog_url":"https://github.com/hashicorp/terraform/blob/v1.9.3/CHANGELOG.md","project_website":"https://www.terraform.io","alerts":[]}

I would kindly ask you to raise the issue here.

jaffel-lc commented 2 months ago

Oops. Too bad there isn't a tools to let you clone this issue into the other repo.

github-actions[bot] commented 1 month ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.