Skip to content

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

@ctang10x

Description

@ctang10x

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions