-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat(AwsVpcPeering): capitalize status state #823
Conversation
const ( | ||
VpcPeeringConnectionStateReasonCodeInitiatingRequest = "Initiating-Request" | ||
VpcPeeringConnectionStateReasonCodePendingAcceptance = "Pending-Acceptance" | ||
VpcPeeringConnectionStateReasonCodeActive = "Active" | ||
VpcPeeringConnectionStateReasonCodeDeleted = "Deleted" | ||
VpcPeeringConnectionStateReasonCodeRejected = "Rejected" | ||
VpcPeeringConnectionStateReasonCodeFailed = "Failed" | ||
VpcPeeringConnectionStateReasonCodeExpired = "Expired" | ||
VpcPeeringConnectionStateReasonCodeProvisioning = "Provisioning" | ||
VpcPeeringConnectionStateReasonCodeDeleting = "Deleting" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please correct me if I am wrong, but these statuses will only be used for the AWS peering, correct?
If that is the case, perhaps they should be named in a way that reflects that, just to remove potential future confusion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, these statuses will only be used by AWS until we align them all.
My opinion is that these statuses should reflect the statuses from underlying hyperscaler subscription, but the thing is that GCP is already, maybe accidently, follows Azure statuses (Connected, Initiated, Disconnected, Deleted) so as @tmilos77 stated - ideally align them all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe GCP natively uses "Active" as well, but it is custom mapped to show Connected
.
@bru-jer-work any opinions?
Description
Changes proposed in this pull request: