-
Notifications
You must be signed in to change notification settings - Fork 21
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
✨ aws ec2 eips, vpc natgateways, vpc peering conn, service endpoints #3929
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Nice list of resources
publicIp string | ||
// false if allocationId not present | ||
attached bool | ||
// Ec2 instance associated with the EIP |
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'm not that familiar with AWS. Can an EIP only be attached to an EC2 instance. Not something else?
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.
seems like it from looking at the api
@@ -102,6 +104,128 @@ func (a *mqlAws) getVpcs(conn *connection.AwsConnection) []*jobpool.Job { | |||
return tasks | |||
} | |||
|
|||
func (a *mqlAwsVpcNatgatewayAddress) id() (string, error) { | |||
return a.AllocationId.Data, nil |
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.
Can a NAT GW IP not be assigned and this empty?
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.
oh, yup, nice catch, modifying this
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.
Thanks @vjeffrey
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.
Hi VJ! Thank you for thoroughly documenting these new resources! Tim asked me to go through and polish the help. Please let me know if any of my suggestions don't make sense.
Co-authored-by: Letha <[email protected]>
No description provided.