Skip to content

Commit

Permalink
Fixed issue where wrong dashboard was used
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhuhn committed Aug 18, 2019
1 parent 30b66e2 commit c75e050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AmazonWebServicesResource.popclipext/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ if [[ $POPCLIP_TEXT == ami-* ]]; then
open "https://$POPCLIP_OPTION_AWSREGION.console.aws.amazon.com/ec2/v2/home?region=$POPCLIP_OPTION_AWSREGION#Images:visibility=owned-by-me;search=$POPCLIP_TEXT;sort=desc:creationDate"
elif [[ $POPCLIP_TEXT == eni-* ]]; then
open "https://$POPCLIP_OPTION_AWSREGION.console.aws.amazon.com/ec2/v2/home?region=$POPCLIP_OPTION_AWSREGION#NIC:search=$POPCLIP_TEXT;sort=desc:tag:Name"
elif [[ $POPCLIP_TEXT == i-* ]]; then
open "https://$POPCLIP_OPTION_AWSREGION.console.aws.amazon.com/ec2/v2/home?region=$POPCLIP_OPTION_AWSREGION#Instances:search=$POPCLIP_TEXT;sort=desc:launchTime"
elif [[ $POPCLIP_TEXT == sg-* ]]; then
open "https://$POPCLIP_OPTION_AWSREGION.console.aws.amazon.com/ec2/v2/home?region=$POPCLIP_OPTION_AWSREGION#SecurityGroups:search=$POPCLIP_TEXT;sort=groupName"
elif [[ $POPCLIP_TEXT == snap-* ]]; then
Expand All @@ -14,6 +12,8 @@ elif [[ $POPCLIP_TEXT == vol-* ]]; then
open "https://$POPCLIP_OPTION_AWSREGION.console.aws.amazon.com/ec2/v2/home?region=$POPCLIP_OPTION_AWSREGION#Volumes:search=$POPCLIP_TEXT;sort=desc:createTime"
elif [[ $POPCLIP_TEXT == vpc-* ]]; then
open "https://$POPCLIP_OPTION_AWSREGION.console.aws.amazon.com/vpc/home?region=$POPCLIP_OPTION_AWSREGION#vpcs:filter=$POPCLIP_TEXT"
elif [[ $POPCLIP_TEXT == i-* ]]; then
open "https://$POPCLIP_OPTION_AWSREGION.console.aws.amazon.com/ec2/v2/home?region=$POPCLIP_OPTION_AWSREGION#Instances:search=$POPCLIP_TEXT;sort=desc:launchTime"
else:
# ip address
open "https://$POPCLIP_OPTION_AWSREGION.console.aws.amazon.com/ec2/v2/home?region=$POPCLIP_OPTION_AWSREGION#Instances:search=$POPCLIP_TEXT;sort=desc:launchTime"
Expand Down

0 comments on commit c75e050

Please sign in to comment.