-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add an AWS EC2 instance fetcher #13886
Conversation
7f384b2
to
817844e
Compare
ef84f69
to
58ee986
Compare
817844e
to
aaafbd8
Compare
58ee986
to
5cac73a
Compare
5cac73a
to
e3b10fa
Compare
af2cc44
to
d5648db
Compare
aaafbd8
to
44fc15a
Compare
18375a3
to
13f9318
Compare
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.
In addition to the review comments, when you add new code that requires new AWS permissions, please don't forget to document the new permission, update helm/terraform/etc.
a9d143a
to
98c18e5
Compare
35a8c75
to
f94cf08
Compare
eedfb9b
to
877154b
Compare
@zmb3 do you mind taking a quick look? changes requested is still in place |
877154b
to
d042b2a
Compare
Checked with Zac offline that he doesn't need to look again.
- Remove leftover VPCID stuff - Document public functions - Return a notfound when there are no nodes fetched instead of nil nil
d042b2a
to
8f2689c
Compare
8f2689c
to
8ab8520
Compare
* Add an AWS EC2 instance fetcher * Resolve comments - Remove leftover VPCID stuff - Document public functions - Return a notfound when there are no nodes fetched instead of nil nil * Resolve comments * Fix fileconf_test.go Add AWS matchers to the ssh_service section of the fileconf (#13787) Update file conf with AWS discovery on SSH nodes
* Add an AWS EC2 instance fetcher * Resolve comments - Remove leftover VPCID stuff - Document public functions - Return a notfound when there are no nodes fetched instead of nil nil * Resolve comments * Fix fileconf_test.go Add AWS matchers to the ssh_service section of the fileconf (#13787) Update file conf with AWS discovery on SSH nodes
* Add an AWS EC2 instance fetcher * Resolve comments - Remove leftover VPCID stuff - Document public functions - Return a notfound when there are no nodes fetched instead of nil nil * Resolve comments * Fix fileconf_test.go Add AWS matchers to the ssh_service section of the fileconf (#13787) Update file conf with AWS discovery on SSH nodes
* Add an AWS EC2 instance fetcher (#13886) * Add an AWS EC2 instance fetcher * Resolve comments - Remove leftover VPCID stuff - Document public functions - Return a notfound when there are no nodes fetched instead of nil nil * Resolve comments * Fix fileconf_test.go Add AWS matchers to the ssh_service section of the fileconf (#13787) Update file conf with AWS discovery on SSH nodes * Fix another bad merge * V10: Backport #13146 & #15682 : (#16009) * Add an installer script resource type and public HTTP endpoint (#13146) * Add an installer script resource type and HTTP endpoint * Add default installer scripts * Resolve comments - run `shfmt` over the installer script - add MustNewInstaller - move default installer logic to GetInstaller - only include PublicProxyAddr in server.Config * Resolve comments - move from auth_with_roles -> auth/grpcserver - document `MustNewInstallerV1` * Allow for multiple installer scripts instead of a singleton (#15682) * Allow for multiple installer scripts instead of using a singleton * Resolve comments - require name be provided to installer - MetaNameClusterInstallerScript -> defaults.InstallerScriptName - Require VerbList for GetInstallers * Resolve comments - Include the default installer in GetInstallers output - Update how the scripts are prefixed * resolve conflicts * make the linters happy * Update api/go.mod * Fix bad merges
This adds a fetcher for ec2 instances as well as a watcher to periodically fetch them.
Requires IAM permissions:
iam:DescribeInstances
Depends on #13787
Part of #12410