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

[v16] User Tasks: add discover-ec2 task type #47185

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 38 additions & 36 deletions api/gen/proto/go/teleport/usertasks/v1/user_tasks.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions api/proto/teleport/usertasks/v1/user_tasks.proto
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,23 @@ message UserTaskSpec {
message DiscoverEC2 {
// Instances maps an instance id to the result of enrolling that instance into teleport.
map<string, DiscoverEC2Instance> instances = 1;
// AccountID is the AWS Account ID for the instances.
string account_id = 2;
// Region is the AWS Region where Teleport failed to enroll EC2 instances.
string region = 3;
}

// DiscoverEC2Instance contains the result of enrolling an AWS EC2 Instance.
message DiscoverEC2Instance {
// AccountID and Region were moved into the DiscoverEC2 message.
reserved 3, 4;
reserved "account_id", "region";

// InstanceID is the EC2 Instance ID that uniquely identifies the instance.
string instance_id = 1;
// Name is the instance Name.
// Might be empty, if the instance doesn't have the Name tag.
string name = 2;
// AccountID is the AWS Account ID for this instance.
string account_id = 3;
// Region is the AWS Region where this issue is happening.
string region = 4;
// InvocationURL is the URL that points to the invocation.
// Empty if there was an error before installing the
string invocation_url = 5;
Expand Down
Loading
Loading