cloud/awscloud: give secure instances a name

That way you can just enter the parent instance id into the search bar
and get both the worker and its executor.
This commit is contained in:
Sanne Raymaekers 2024-12-02 11:50:57 +01:00
parent f68fcff400
commit 779053d910

View file

@ -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)),
},
},
},
},