equinix / terraform-provider-equinix

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

[Bug]: terraform run error - This object does not have an attribute named "primary_connection_id". #812

Open ctang10x opened 2 weeks ago

ctang10x commented 2 weeks ago

Terraform Version

Terraform v1.9.8 on darwin_arm64

Equinix Provider Version

version = ">= 1.36.4"

Effected Terraform Resources

equinix/fabric/equinix//modules/port-connection

Terraform Config Files

outputs.tf: output "aws-connection-eqx1dx1" { value = module.equinix-aws-connection-eqx1dx1.primary_connection_id }

Debug Output

No response

Panic Output

No response

Expected Behavior

Last Fri, I updated AWS code (not related to this Equinix module). I was able to Terraform run w/o issue.

Actual Behavior

Today, I updated other AWS code (again not related to this Equinix module). Now I get this error:

Error: Unsupported attribute on outputs.tf line 2, in output "aws-connection-eqx1dx1": value = module.equinix-aws-connection-eqx1dx1.primary_connection_id module.equinix-aws-connection-eqx1dx1 is a object This object does not have an attribute named "primary_connection_id".

Steps to Reproduce

run the code