equinix / terraform-provider-equinix

Terraform Equinix provider
https://deploy.equinix.com/labs/terraform-provider-equinix/
MIT License
46 stars 45 forks source link

[Bug]: equinix_metal_connection error specifying speed in Mbps for shared connection #779

Open ocobles opened 2 months ago

ocobles commented 2 months ago

Terraform Version

Terraform v1.5.7 on darwin_arm64

Equinix Provider Version

version = "2.4.1"

Effected Terraform Resources

No response

Terraform Config Files

resource "equinix_metal_connection" "example" { name = "tf-metal-to-port" project_id = "my_project" type = "shared" redundancy = "primary" metro = "FR" speed = "1000Mbps" service_token_type = "a_side" contact_email = "username@example.com" vlans = [ equinix_metal_vlan.example.vxlan ] }

Debug Output

No response

Panic Output

No response

Expected Behavior

N/A

Actual Behavior

equinix_metal_connection.example: Creating... ╷ │ Error: Provider produced inconsistent result after apply │ │ When applying changes to equinix_metal_connection.example, provider "provider[\"registry.terraform.io/equinix/equinix\"]" produced an unexpected new value: │ .speed: was cty.StringVal("1000Mbps"), but now cty.StringVal("1Gbps"). │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵

Steps to Reproduce

terraform apply