You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stack trace from the terraform-provider-azurerm_v3.37.0_x5.exe plugin:
2023-01-12T15:09:08.9097908Z
2023-01-12T15:09:08.9098357Z panic: interface conversion: interface {} is nil, not map[string]interface {}
2023-01-12T15:09:08.9098632Z
2023-01-12T15:09:08.9098931Z goroutine 332 [running]:
2023-01-12T15:09:08.9099587Z github.com/hashicorp/terraform-provider-azurerm/internal/services/containers.expandContainerGroupDnsConfig({0x6547500?, 0xc001dd6920?})
2023-01-12T15:09:08.9101402Z github.com/hashicorp/terraform-provider-azurerm/internal/services/containers/container_group_resource.go:1976 +0x658
2023-01-12T15:09:08.9102389Z github.com/hashicorp/terraform-provider-azurerm/internal/services/containers.resourceContainerGroupCreate(0xc002206500, {0x6726c00?, 0xc0006cd800})
2023-01-12T15:09:08.9103317Z github.com/hashicorp/terraform-provider-azurerm/internal/services/containers/container_group_resource.go:708 +0xdb3
2023-01-12T15:09:08.9104212Z github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x7992380?, {0x7992380?, 0xc001d90750?}, 0xd?, {0x6726c00?, 0xc0006cd800?})
2023-01-12T15:09:08.9105314Z github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.1/helper/schema/resource.go:695 +0x178
2023-01-12T15:09:08.9106274Z github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc000ad2700, {0x7992380, 0xc001d90750}, 0xc001d98dd0, 0xc002206380, {0x6726c00, 0xc0006cd800})
2023-01-12T15:09:08.9108038Z github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.1/helper/schema/resource.go:837 +0xa85
2023-01-12T15:09:08.9108963Z github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc0005e5500, {0x7992380?, 0xc001d90630?}, 0xc0015fcc80)
2023-01-12T15:09:08.9109909Z github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.1/helper/schema/grpc_provider.go:1021 +0xe8d
2023-01-12T15:09:08.9110847Z github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc000170c80, {0x7992380?, 0xc001d90000?}, 0xc0012eaf50)
2023-01-12T15:09:08.9113987Z github.com/hashicorp/terraform-plugin-go@v0.14.1/tfprotov5/tf5server/server.go:818 +0x574
2023-01-12T15:09:08.9115043Z github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x6dd9960?, 0xc000170c80}, {0x7992380, 0xc001d90000}, 0xc0012eaee0, 0x0)
2023-01-12T15:09:08.9115836Z github.com/hashicorp/terraform-plugin-go@v0.14.1/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
2023-01-12T15:09:08.9116443Z google.golang.org/grpc.(*Server).processUnaryRPC(0xc00001e000, {0x79a4520, 0xc000d221a0}, 0xc00197a6c0, 0xc0017f9a40, 0xbc5d1a0, 0x0)
2023-01-12T15:09:08.9116962Z google.golang.org/grpc@v1.50.1/server.go:1340 +0xd23
2023-01-12T15:09:08.9117594Z google.golang.org/grpc.(*Server).handleStream(0xc00001e000, {0x79a4520, 0xc000d221a0}, 0xc00197a6c0, 0x0)
2023-01-12T15:09:08.9118062Z google.golang.org/grpc@v1.50.1/server.go:1713 +0xa2f
2023-01-12T15:09:08.9118437Z google.golang.org/grpc.(*Server).serveStreams.func1.2()
2023-01-12T15:09:08.9118806Z google.golang.org/grpc@v1.50.1/server.go:965 +0x98
2023-01-12T15:09:08.9119194Z created by google.golang.org/grpc.(*Server).serveStreams.func1
2023-01-12T15:09:08.9119566Z google.golang.org/grpc@v1.50.1/server.go:963 +0x28a
2023-01-12T15:09:08.9119739Z
2023-01-12T15:09:08.9120046Z Error: The terraform-provider-azurerm_v3.37.0_x5.exe plugin crashed!
2023-01-12T15:09:08.9120243Z
2023-01-12T15:09:08.9121414Z This is always indicative of a bug within the plugin. It would be immensely
2023-01-12T15:09:08.9121839Z helpful if you could report the crash with the plugin's maintainers so that it2023-01-12T15:09:08.9122246Z can be fixed. The output above should help diagnose the issue.2023-01-12T15:09:08.9122430Z 2023-01-12T15:09:08.9294587Z ##[error]Terraform command 'apply' failed with exit code '1'.: The terraform-provider-azurerm_v3.37.0_x5.exe plugin crashed!2023-01-12T15:09:08.9513720Z ##[error]�[31m╷�[0m�[0m
Expected Behaviour
I wanted to configure a container instance that supported both having and not having a dns_config block, depending on how the VNet component is configured (in the example it doesn't have custom DNS)
I expected the plugin to be able create the Container Instance with no dns_config section in this case
Actual Behaviour
It totally crashes the terraform executable and in my opinion the syntax for the dynamic block is not wrong, so I suspect it may be a bug
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
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.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.37.0
Affected Resource(s)/Data Source(s)
azurerm_container_group
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
I wanted to configure a container instance that supported both having and not having a dns_config block, depending on how the VNet component is configured (in the example it doesn't have custom DNS)
I expected the plugin to be able create the Container Instance with no dns_config section in this case
Actual Behaviour
It totally crashes the terraform executable and in my opinion the syntax for the dynamic block is not wrong, so I suspect it may be a bug
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: