Terraform-provider-azurerm: v1.0.0 checksum mismatch error

Created on 15 Dec 2017  Â·  7Comments  Â·  Source: terraform-providers/terraform-provider-azurerm

When running a terraform init with v1.0.0 of the azurerm provider, an error is occurring.

Terraform Version

0.11.1

Affected Resource(s)

(entire provider)

Debug Output

https://gist.github.com/aoggz/d63a891721262ce952f6428756787de9

Expected Behavior

The workspace should have been initialized

Actual Behavior

A checksum mismatch error was thrown

Steps to Reproduce

  1. terraform init
bug

Most helpful comment

Hey @aoggz

Thanks for opening this issue - apologies about this.

This was due to a re-release, as the build agent didn't have permissions to push to the repository due to branch protection on the first attempt (but unfortunately did push the binaries). I've re-cleared the cache and believe this should now be fixed (it works for me as shown below) - would it be possible to try re-running terraform init to see if that works for you?

$ terraform init

Initializing provider plugins...
- Checking for available provider plugins on https://releases.hashicorp.com...
- Downloading plugin for provider “azurerm” (1.0.0)...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running “terraform plan” to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

We'll be looking to update the build process to push the tag before pushing the binaries to avoid this issue in the future.

Thanks!

All 7 comments

Hey @aoggz

Thanks for opening this issue - apologies about this.

This was due to a re-release, as the build agent didn't have permissions to push to the repository due to branch protection on the first attempt (but unfortunately did push the binaries). I've re-cleared the cache and believe this should now be fixed (it works for me as shown below) - would it be possible to try re-running terraform init to see if that works for you?

$ terraform init

Initializing provider plugins...
- Checking for available provider plugins on https://releases.hashicorp.com...
- Downloading plugin for provider “azurerm” (1.0.0)...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running “terraform plan” to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

We'll be looking to update the build process to push the tag before pushing the binaries to avoid this issue in the future.

Thanks!

Looks good for us now. Thanks @tombuildsstuff

Works for me too. Thank you @tombuildsstuff

@mattpound808 @antonydenyer awesome - thanks for confirming that 👍

I'm going to close this issue since it's resolved - but please feel free to re-open it if you're still seeing issues and we'll take another look :)

Thanks!

Worked for me. Thanks @tombuildsstuff

Thanks! @tombuildsstuff

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

Was this page helpful?
0 / 5 - 0 ratings