Skip to content

Commit 7e08dc1

Browse files
committed
move copy to be with other ec2 commands
1 parent 2e43850 commit 7e08dc1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/toolkit/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,6 +1510,11 @@
15101510
"group": "inline@1",
15111511
"when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect"
15121512
},
1513+
{
1514+
"command": "aws.ec2.copyInstanceId",
1515+
"when": "view == aws.explorer && viewItem =~ /^(awsEc2(Running|Stopped|Pending)Node)$/ && config.aws.experiments.ec2RemoteConnect",
1516+
"group": "2@0"
1517+
},
15131518
{
15141519
"command": "aws.ecr.createRepository",
15151520
"when": "view == aws.explorer && viewItem == awsEcrNode",
@@ -1610,11 +1615,6 @@
16101615
"when": "!config.aws.samcli.legacyDeploy && view == aws.explorer && viewItem =~ /^(awsLambdaNode|awsRegionNode|awsCloudFormationRootNode)$/",
16111616
"group": "1@2"
16121617
},
1613-
{
1614-
"command": "aws.ec2.copyInstanceId",
1615-
"when": "view == aws.explorer && viewItem =~ /^(awsEc2(Running|Stopped|Pending)Node)$/ && config.aws.experiments.ec2RemoteConnect",
1616-
"group": "2@0"
1617-
},
16181618
{
16191619
"command": "aws.ecr.copyTagUri",
16201620
"when": "view == aws.explorer && viewItem == awsEcrTagNode",

0 commit comments

Comments
 (0)