Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

feat: directconnect lags #122

Merged
merged 2 commits into from
Jul 22, 2021
Merged

feat: directconnect lags #122

merged 2 commits into from
Jul 22, 2021

Conversation

James-Quigley
Copy link
Contributor

@James-Quigley James-Quigley commented Jul 22, 2021

Lag schema: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#Lag

As we are already capturing DirectConnect Connections in a separate table, I opted to not resave that data, and instead just save the connectionIds in a StringArray.

Connection -> Lag is a Many:1 relationship, but not all connections necessarily have a Lag. Perhaps this is a scenario where we could introduce nullable FKs or something like that?

Copy link
Contributor

@roneli roneli left a comment

Choose a reason for hiding this comment

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

Looks good, minor field rename and we can merge. I will release this still in beta

resources/directconnect_lags.go Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants