]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
merge.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 12 Jan 2016 08:48:24 +0000 (09:48 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 12 Jan 2016 08:48:24 +0000 (09:48 +0100)
snippets/eshell-mode/aws-ec2-get-instances

index cd813f818cee12e7088fc280c5b01af22a800484..a14aa123ac101c80f834004526e72811e462ddaf 100644 (file)
@@ -2,4 +2,4 @@
 # name: aws-ec2-get-instances
 # key: aws-ec2-get-instances
 # --
-aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" bba-aws-regions)}} ec2 describe-instances --query 'Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(\`,\`,Tags[?Key==\`Schedule\`].Value),InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone]' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0
\ No newline at end of file
+aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" bba-aws-regions)}} ec2 describe-instances --query 'Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(\`,\`,Tags[?Key==\`Schedule\`].Value),InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone]' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0