Skip to content
New issue

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

fix: update module outputs to match what they were before v0.3.0 #14

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

ctreatma
Copy link
Contributor

@ctreatma ctreatma commented Apr 9, 2024

In v0.3.0 of this module, we upgraded from the old ECX-v3-based terraform-equinix-fabric-connection to the new Fabric-v4-based module. The Fabric terraform resources are not drop-in replacements for ECX, so the upgrade introduced an unnoticed error in this module's outputs.

This updates the module outputs to reference the correct attributes in the new Fabric resources and to remove outputs that are no longer available due to changes in the resources and/or the underlying API.

@ctreatma ctreatma marked this pull request as draft April 9, 2024 19:14
outputs.tf Show resolved Hide resolved
}

output "fabric_connection_speed" {
description = "Connection speed."
value = module.equinix-fabric-connection.primary_connection.speed
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speed is always in Mbps for Fabric connection resources, so removed the speed_unit output and updated the speed output description to note the unit

@ctreatma ctreatma marked this pull request as ready for review April 9, 2024 19:27
@displague
Copy link
Member

How does this PR relate to #13?

@ctreatma ctreatma merged commit 1c2f4a6 into main Apr 10, 2024
1 check passed
@ctreatma ctreatma deleted the fix-outputs branch April 10, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants