We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.13.5
docker_network
resource "docker_network" "vlan" { ipam_config { aux_address = { foo: "1.2.3.4" } } }
I can't do that right now. The config is massive and does leak a lot of important info that I would have to scrub out first.
The bug is easy to reproduce though.
Not crash.
Crash.
terraform apply
I'm out of my depth here.
Feels to me though that:
terraform-provider-docker/docker/resource_docker_network_funcs.go
Line 127 in 75c8db4
^ is problematic
The text was updated successfully, but these errors were encountered:
I could reproduce the panic.
$ terraform version Terraform v0.13.5 + provider registry.terraform.io/kreuzwerker/docker v2.8.0
resource "docker_network" "vlan" { name = "pr-8" ipam_config { subnet = "192.168.0.0/16" aux_address = { foo : "192.168.1.5" } } } provider "docker" { } terraform { required_providers { docker = { source = "kreuzwerker/docker" } } required_version = ">= 0.13" }
$ TF_LOG=DEBUG terraform apply
... panic: interface conversion: interface {} is map[string]string, not map[string]interface {} ... 2020-12-02T12:24:36.815+0900 [DEBUG] plugin.terraform-provider-docker_v2.8.0: github.com/terraform-providers/terraform-provider-docker/docker/resource_docker_network_funcs.go:231 +0x329 ...
Line 231 in b8d28d6
AuxAddress is map[string]string, so I guess we have to convert it to map[string]interface{}.
AuxAddress
map[string]string
map[string]interface{}
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Terraform Version
0.13.5
Affected Resource(s)
docker_network
Terraform Configuration Files
Panic Output
I can't do that right now.
The config is massive and does leak a lot of important info that I would have to scrub out first.
The bug is easy to reproduce though.
Expected Behavior
Not crash.
Actual Behavior
Crash.
Steps to Reproduce
terraform apply
Notes
I'm out of my depth here.
Feels to me though that:
terraform-provider-docker/docker/resource_docker_network_funcs.go
Line 127 in 75c8db4
^ is problematic
The text was updated successfully, but these errors were encountered: