kiranchavala commented on issue #109:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/109#issuecomment-2049616675

   @CodeBleu  @rohityadavcloud 
   
   I think the issue is occurring if both tofu and terraform binaries are 
present in the same machine
   
   
   
   
   Can you try with only the tofu binary 
   
   ```
   tofu init
   tofu apply 
   ```
   
   I had no issue when i used tofu   but hitting the issue when I use terraform 
init
   
   ```
   root@ubuntu22:~/cloudstack-terraform# tofu --version
   OpenTofu v1.6.2
   
   ```
   ```
   
   root@ubuntu22:~/cloudstack-terraform# tofu init
   
   Initializing the backend...
   
   Initializing provider plugins...
   - Finding cloudstack/cloudstack versions matching "0.5.0-pre"...
   - Installing cloudstack/cloudstack v0.5.0-pre...
   - Installed cloudstack/cloudstack v0.5.0-pre. Signature validation was 
skipped due to the registry not containing GPG keys for this provider
   
   OpenTofu has created a lock file .terraform.lock.hcl to record the provider
   selections it made above. Include this file in your version control 
repository
   so that OpenTofu can guarantee to make the same selections by default when
   you run "tofu init" in the future.
   
   OpenTofu has been successfully initialized!
   
   You may now begin working with OpenTofu. Try running "tofu plan" to see
   any changes that are required for your infrastructure. All OpenTofu commands
   should now work.
   
   If you ever set or change modules or backend configuration for OpenTofu,
   rerun this command to reinitialize your working directory. If you forget, 
other
   commands will detect it and remind you to do so if necessary.
   ```
   
   ```
   root@ubuntu22:~/cloudstack-terraform# terraform version
   Terraform v1.8.0
   ```
   
   
   ```
   root@ubuntu22:~/cloudstack-terraform# terraform init
   
   Initializing the backend...
   
   Initializing provider plugins...
   - Finding cloudstack/cloudstack versions matching "0.5.0-pre"...
   - Finding latest version of registry.opentofu.org/cloudstack/cloudstack...
   - Installing cloudstack/cloudstack v0.5.0-pre...
   - Installed cloudstack/cloudstack v0.5.0-pre (self-signed, key ID 
484248210EE3D884)
   - Installing registry.opentofu.org/cloudstack/cloudstack v0.5.0...
   
   Partner and community providers are signed by their developers.
   If you'd like to know more about provider signing, you can read about it 
here:
   https://www.terraform.io/docs/cli/plugins/signing.html
   ╷
   │ Error: Failed to install provider
   │
   │ Error while installing registry.opentofu.org/cloudstack/cloudstack v0.5.0: 
checksum list has unexpected SHA-256 hash
   │ af68c90c16b98d249ad01b9215e0dbcb66cb9de21cb3f977cc73b78d80a90413 (expected
   │ 34ace84ac91a9fac1deb1d9ecef12d9478e3b46fd925f6df6811577964cbfcfe)
   ╵
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to