hashicorp / terraform-provider-azure-classic

Terraform Azure Classic (Service Management) provider
https://www.terraform.io/docs/providers/azure/
Mozilla Public License 2.0
2 stars 11 forks source link

terraform-provider-azure: panic: runtime error: index out of range #19

Closed hashibot closed 6 years ago

hashibot commented 7 years ago

This issue was originally opened by @Rammohanrmc as hashicorp/terraform#4525. It was migrated here as part of the provider split. The original body of the issue is below.


Because of above subject line error(found in crash.log) I am getting !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! Terraform crashed! This is always indicative of a bug within Terraform. A crash log has been placed at "crash.log" relative to your current working directory. It would be immensely helpful if you could please report the crash with Terraform1 so that we can fix this.

When reporting bugs, please include your terraform version. That information is available on the first line of crash.log. You can also get it by running 'terraform --version' on the command line.

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

P.S: I did executed some operations like Network creation, VM Creation, Storage Service etc... successfully a week back with out any errors. Now I just tried to create on more VM with new script but it is giving above error. even I removed new script and did terraform apply on old scripts but its giving same error. Please help me out to fix this error.

hashibot commented 7 years ago

This comment was originally opened by @Rammohanrmc as https://github.com/hashicorp/terraform/issues/4525#issuecomment-169283628. It was migrated here as part of the provider split. The original comment is below.


After Some Research, I did realized that this issue is occurring because, the terraform is referring to previously created LinuxVM which was stopped/inactive. Restarted that VM and done with terraform refresh, apply which solved my problem.

hashibot commented 7 years ago

This comment was originally opened by @jen20 as https://github.com/hashicorp/terraform/issues/4525#issuecomment-169405308. It was migrated here as part of the provider split. The original comment is below.


Hi @Rammohanrmc. Thanks for opening an issue here. To confirm, were the steps you took:

Could you post the contents of crash.log as a gist, making sure you give it a scan for any information which might be considered sensitive?

vancluever commented 6 years ago

Hello!

Thank you for opening this issue and participating in the discussion. Today (December 19, 2017) we’ve announced the deprecation and archival of the Azure Classic Provider. Matching Microsoft’s commitment to gradually remove access to Azure Classic (or Service Management) which is outlined in this blog post, we are closing all open PR's and Issues here. This repository will remain available here on GitHub, but in an archived state, and no longer receiving support or new releases.

The Azure (Resource Manager) Provider remains fully supported and is our recommended approach for managing Azure with Terraform. More information about this process is available in the blog post linked above.

Thanks! The Terraform Team