Skip to content

Commit

Permalink
cloud/awscloud: give secure instances a name
Browse files Browse the repository at this point in the history
That way you can just enter the parent instance id into the search bar
and get both the worker and its executor.
  • Loading branch information
croissanne committed Dec 3, 2024
1 parent f68fcff commit 779053d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/cloud/awscloud/secure-instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ func (a *AWS) RunSecureInstance(iamProfile, keyName, cloudWatchGroup, hostname s
Key: aws.String("parent"),
Value: aws.String(identity.InstanceID),
},
ec2types.Tag{
Key: aws.String("Name"),
Value: aws.String(fmt.Sprintf("Executor-for-%s", identity.InstanceID)),
},
},
},
},
Expand Down

0 comments on commit 779053d

Please sign in to comment.