Closed mark88d closed 2 years ago
Stack trace:
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: panic: runtime error: index out of range [1] with length 1
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe:
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: goroutine 1359 [running]:
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: github.com/hashicorp/terraform-provider-azurerm/internal/services/springcloud.flattenSpringCloudGitPatternRepository(0xc00188e348, 0xc0018ea960)
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/internal/services/springcloud/spring_cloud_service_resource.go:788 +0xed9
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: github.com/hashicorp/terraform-provider-azurerm/internal/services/springcloud.flattenSpringCloudConfigServerGitProperty(0xc00171a700, 0x61b56e5)
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/internal/services/springcloud/spring_cloud_service_resource.go:766 +0xa8f
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: github.com/hashicorp/terraform-provider-azurerm/internal/services/springcloud.resourceSpringCloudServiceRead(0xc00171a700, {0x58e46c0, 0xc001969c00})
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/internal/services/springcloud/spring_cloud_service_resource.go:454 +0x97a
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x61b071a, {0x68b5c78, 0xc00111e240}, 0x24, {0x58e46c0, 0xc001969c00})
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:346 +0x178
2022-01-10T16:13:02.042Z [DEBUG] provider.terraform-provider-azurerm_v2.90.0_x5.exe: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0000141c0, {0x68b5c78, 0xc00111e240}, 0xc001967380, {0x58e46c0, 0xc001969c00})
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.
Community Note
Terraform (and AzureRM Provider) Version
**terraform -v Terraform v1.1.3 on windows_amd64
Affected Resource(s)
azurerm_eventhub_namespace, azurerm_spring_cloud_service, azurerm_key_vault_access_policy
Terraform Configuration Files
retrieve additional subnet details to allow elastic to access event hub
Debug Output
Panic Output
Expected Behaviour
a Successful plan or apply
Actual Behaviour
2022-01-11T08:58:30.560Z [DEBUG] plugin: plugin exited
Error: rpc error: code = Canceled desc = context canceled
Error: rpc error: code = Canceled desc = context canceled
Error: rpc error: code = Canceled desc = context canceled
Error: rpc error: code = Canceled desc = context canceled
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Canceled desc = context canceled
Error: rpc error: code = Canceled desc = context canceled
!!!!!!!!!!!!!!!!!!!!!!!!!!! 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
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.
SECURITY WARNING: the "crash.log" file that was created may contain sensitive information that must be redacted before it is safe to share on the issue tracker.
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Steps to Reproduce
terraform plan
local or remote on the terraform workspaceImportant Factoids
References
crash_terraforml.zip
0000