Skip to content
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 while installing hashicorp/aws v5.71.0: archive has incorrect checksum #356

Closed
1 task done
yogeshelke opened this issue Oct 11, 2024 · 2 comments
Closed
1 task done
Labels

Comments

@yogeshelke
Copy link

yogeshelke commented Oct 11, 2024

Terraform CLI and Provider Versions

https://www.terraform.io/docs/cli/plugins/signing.html
│ Error: Failed to install provider

│ Error while installing hashicorp/aws v5.71.0: archive has incorrect
│ checksum
│ zh:21f5d77f2859d9ddb5fafa7b6cfd0efdf82977c631ce788e56728afc6da17323
│ (expected
│ zh:c164d3ed13eb4c28ac243221591fc4ac3cfe621f8cd20af533dedd98a6387363)

Error: Process completed with exit code 1.

Terraform Configuration

provider "aws" {
  region = "eu-central-1"
}

terraform {
  required_version = "~> 1.8.0"

  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 5.0"
    }
  }
}

Expected Behavior

Terraform Init Plan & Apply should be successful. ( Installation of latest provider hashicorp/aws "~> 5.0" should be successful.)

Actual Behavior

Terraform init failed with error added in description.

Steps to Reproduce

  1. set up terraform provider configuration as mention in Terraform Configuration
  2. terraform init

How much impact is this issue causing?

High

Logs

No response

Additional Information

There is new version of Terraform aws Provider released 4 hrs back causing pipeline failure, due to incorrect checksum. This is not happening in local run.
Looks like it's the issue for some platforms, Hashicorp released new version when this issue occurred last time.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@yogeshelke yogeshelke added the bug label Oct 11, 2024
@austinvalle
Copy link
Member

Hey there @yogeshelke 👋🏻, looks like this issue was meant for the aws provider repository and not the local provider so I'm going to close it.

I do see there already is an issue open over there, so you can subscribe to that one for updates: hashicorp/terraform-provider-aws#39676

@austinvalle austinvalle closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2024
@yogeshelke
Copy link
Author

Hi @austinvalle thanks a lot for checking and directing to right place.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants