Skip to content

Commit

Permalink
add instance id
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoandredinis committed Sep 18, 2024
1 parent fd2fc77 commit 6288682
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 38 deletions.
73 changes: 42 additions & 31 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.

16 changes: 9 additions & 7 deletions api/proto/teleport/usertasks/v1/user_tasks.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,22 @@ message DiscoverEC2 {

// DiscoverEC2Instance contains the result of enrolling an AWS EC2 Instance.
message DiscoverEC2Instance {
// 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 = 1;
string name = 2;
// AccountID is the AWS Account ID for this instance.
string account_id = 2;
string account_id = 3;
// Region is the AWS Region where this issue is happening.
string region = 3;
string region = 4;
// InvocationURL is the URL that points to the invocation.
// Empty if there was an error before installing the
string invocation_url = 4;
string invocation_url = 5;
// DiscoveryConfig is the discovery config name that originated this instance enrollment.
string discovery_config = 5;
string discovery_config = 6;
// DiscoveryGroup is the DiscoveryGroup name that originated this task.
string discovery_group = 6;
string discovery_group = 7;
// SyncTime is the timestamp when the error was produced.
google.protobuf.Timestamp sync_time = 7;
google.protobuf.Timestamp sync_time = 8;
}

0 comments on commit 6288682

Please sign in to comment.