From: Andreas Gerler Date: Fri, 17 May 2019 10:14:25 +0000 (+0200) Subject: update aws-snippets. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=4ce608496fbd9b6fbfe3cbfc61b6542adca66477;p=emacsconfig.git update aws-snippets. --- diff --git a/elpa/aws-snippets-20190118.2100/aws-snippets-autoloads.el b/elpa/aws-snippets-20190118.2100/aws-snippets-autoloads.el deleted file mode 100644 index fc25375d..00000000 --- a/elpa/aws-snippets-20190118.2100/aws-snippets-autoloads.el +++ /dev/null @@ -1,33 +0,0 @@ -;;; aws-snippets-autoloads.el --- automatically extracted autoloads -;; -;;; Code: - -(add-to-list 'load-path (directory-file-name - (or (file-name-directory #$) (car load-path)))) - - -;;;### (autoloads nil "aws-snippets" "aws-snippets.el" (0 0 0 0)) -;;; Generated autoloads from aws-snippets.el - -(autoload 'aws-snippets-initialize "aws-snippets" "\ -Initialize package. - -\(fn)" nil nil) - -(eval-after-load 'yasnippet '(aws-snippets-initialize)) - -(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "aws-snippets" '("aws-snippets-"))) - -;;;*** - -;;;### (autoloads nil nil ("aws-snippets-pkg.el") (0 0 0 0)) - -;;;*** - -;; Local Variables: -;; version-control: never -;; no-byte-compile: t -;; no-update-autoloads: t -;; coding: utf-8 -;; End: -;;; aws-snippets-autoloads.el ends here diff --git a/elpa/aws-snippets-20190118.2100/aws-snippets-pkg.el b/elpa/aws-snippets-20190118.2100/aws-snippets-pkg.el deleted file mode 100644 index c44c97b7..00000000 --- a/elpa/aws-snippets-20190118.2100/aws-snippets-pkg.el +++ /dev/null @@ -1,7 +0,0 @@ -(define-package "aws-snippets" "20190118.2100" "Yasnippets for AWS" - '((yasnippet "0.8.0")) - :keywords - '("snippets")) -;; Local Variables: -;; no-byte-compile: t -;; End: diff --git a/elpa/aws-snippets-20190118.2100/aws-snippets.el b/elpa/aws-snippets-20190118.2100/aws-snippets.el deleted file mode 100644 index 96b8ed72..00000000 --- a/elpa/aws-snippets-20190118.2100/aws-snippets.el +++ /dev/null @@ -1,206 +0,0 @@ -;;; aws-snippets.el --- Yasnippets for AWS - -;; Copyright (C) 2018, 2019 Andreas Gerler -;; keywords: snippets -;; Version: 0.1.0 -;; Package-Requires: ((yasnippet "0.8.0")) - -;; Permission is hereby granted, free of charge, to any person obtaining -;; a copy of this software and associated documentation files (the -;; "Software"), to deal in the Software without restriction, including -;; without limitation the rights to use, copy, modify, merge, publish, -;; distribute, sublicense, and/or sell copies of the Software, and to -;; permit persons to whom the Software is furnished to do so, subject to -;; the following conditions: - -;; The above copyright notice and this permission notice shall be -;; included in all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -;; LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -;; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -;; WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -;;; Commentary: - -;; A collection of yasnippet snippets to be used with AWS CLI as well as JSON for CloudFormation - -;;; Code: - -(defvar aws-snippets-dir (file-name-directory (or load-file-name - (buffer-file-name)))) - -(defcustom aws-snippets-regions '("us-east-1" "eu-west-1" "ap-southeast-1") - "List of AWS regions for selections." - :tag "regions" - :type '(choice (string :tag "Region") - (repeat :tag "List of Regions" - (string :tag "Region"))) - :set #'(lambda (symbol new) - (let ((old (and (boundp symbol) - (symbol-value symbol)))) - (set-default symbol new) - )) - :group 'aws-snippets) - -(defcustom aws-snippets-profiles '("test" "prod") - "List of AWS profiles for selections." - :tag "profiles" - :type '(choice (string :tag "Profile") - (repeat :tag "List of Profiles" - (string :tag "Profiles"))) - :set #'(lambda (symbol new) - (let ((old (and (boundp symbol) - (symbol-value symbol)))) - (set-default symbol new) - )) - :group 'aws-snippets) - -(defcustom aws-snippets-filters '("tag:Name" "tag:Project" "tag:Type" "tag:Cluster" "instance.group-id" "ip-address" "private-ip-address" "network-interface.subnet-id" "description" "name" "iam-instance-profile.arn") - "List of AWS filters for selections." - :tag "default-filters" - :type '(choice (string :tag "Filter") - (repeat :tag "List of Filters" - (string :tag "Filter"))) - :set #'(lambda (symbol new) - (let ((old (and (boundp symbol) - (symbol-value symbol)))) - (set-default symbol new) - )) - :group 'aws-snippets) - -(defcustom aws-snippets-ami-ls-query '"reverse(sort_by(Images, &CreationDate)[].{CreationDate:CreationDate,Name:Name,ImageId:ImageId,Public:Public,Description:Description})" - "Query string used for ami-ls." - :tag "ami-ls-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-autoscaling-describe-auto-scaling-groups-query '"AutoScalingGroups[].{Name: AutoScalingGroupName, Desired: DesiredCapacity,Min: MinSize, Max: MaxSize}" - "Query string used for autoscaling-describe-auto-scaling-groups." - :tag "autoscaling-describe-auto-scaling-groups" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-autoscaling-describe-launch-configurations-query '"reverse(sort_by(LaunchConfigurations &CreatedTime)[*].[LaunchConfigurationName, CreatedTime])" - "Query string used for autoscaling-describe-launch-configurations." - :tag "autoscaling-describe-launch-configurations-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-get-dns-names-query '"Reservations[].Instances[?State.Name=='running'].[InstanceId, PublicDnsName]" - "Query string used for aws-ec2-get-dns-names." - :tag "ec2-get-dns-names-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-get-instance-volumes-query '"Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(' ', BlockDeviceMappings[].Ebs.VolumeId)]" - "Query string used for ec2-get-instance-volumes." - :tag "ec2-get-instance-volumes-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-get-securitygroups-query '"sort_by(SecurityGroups, &GroupName)[*].[GroupName, GroupId, Description]" - "Query string used for ec2-get-securitygroups." - :tag "ec2-get-securitygroups-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-get-snapshots-query '"Snapshots[].[join(\`,\`,Tags[?Key==\`Name\`].Value),StartTime,Description,SnapshotId,VolumeId,VolumeSize,Progress]" - "Query string used for ec2-get-snapshots-query." - :tag "ec2-get-snapshots-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-get-volumes-query '"Volumes[].[VolumeId,State,SnapshotId,join(\`,\`,Tags[?Key==\`Name\`].Value)]" - "Query string used for ec2-get-volumes-query." - :tag "ec2-get-volumes-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-get-volumes-unused-query '"Volumes[].[VolumeId,Size,VolumeType,CreateTime,State,SnapshotId]" - "Query string used for ec2-get-volumes-unused-query." - :tag "ec2-get-volumes-unused-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-instance-running-query '"Reservations[].Instances[].[InstanceId, State.Name]" - "Query string used for ec2-instance-running." - :tag "ec2-instance-running-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-list-instances-query '("Reservations[].Instances[].[Tags[?Key==`Name`].Value[] | [0],Tags[?Key==`Schedule`].Value[] | [0],InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime]" - "Reservations[].Instances[].[Tags[?Key==`Name`].Value[] | [0],Tags[?Key==`Schedule`].Value[] | [0],InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime, IamInstanceProfile.Arn]" - "Reservations[].Instances[].[Tags[?Key==`Name`].Value[] | [0],Tags[?Key==`Schedule`].Value[] | [0],InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime, KeyName]") - "Query string used for ec2 describe-instances." - :tag "ec2-list-instances-query" - :type '(choice (string :tag "Query") - (repeat :tag "List of Queries" - (string :tag "Query"))) - :set #'(lambda (symbol new) - (let ((old (and (boundp symbol) - (symbol-value symbol)))) - (set-default symbol new) - )) - :group 'aws-snippets) - -(defcustom aws-snippets-ec2-list-subnets-query '"sort_by(sort_by(Subnets[].{VpcId:VpcId, SubnetId:SubnetId, State:State, AvailabilityZone:AvailabilityZone, CidrBlock:CidrBlock, AvailableIpAddressCount:AvailableIpAddressCount Tags:to_string(Tags[].[Key, Value])}, &SubnetId), &VpcId)" - "Query string used for ec2-list-subnets." - :tag "ec2-list-subnets-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-ec2-list-vpcs-query '"sort_by(Vpcs[].{VpcId:VpcId, State:State, AvailabilityZone:AvailabilityZone, CidrBlock:CidrBlock, AvailableIpAddressCount:AvailableIpAddressCount Tags:to_string(Tags[].[Key, Value])}, &VpcId)" - "Query string used for ec2-list-vpcs." - :tag "ec2-list-vpcs-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-elb-get-list-query '"reverse(sort_by(LoadBalancerDescriptions, &CreatedTime)[].[LoadBalancerName, CreatedTime])" - "Query string used for elb-get-list." - :tag "elb-get-list-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-emr-list-clusters-query '"Clusters[*].{ID: Id, NAME: Name}" - "Query string used for emr-list-clusters." - :tag "emr-list-clusters-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-rds-describe-instances-query '"DBInstances[*].[DBInstanceIdentifier,DbiResourceId, Endpoint.Address]" - "Query string used for rds describe-db-instances." - :tag "rds-describe-db-instances-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-route53-list-hosted-zones-query '"HostedZones[].[Id, Name]" - "Query string used for route53 list-hosted-zones." - :tag "route53-list-hosted-zones-query" - :group 'aws-snippets - :type 'string) - -(defcustom aws-snippets-aws-support-ls-query '"reverse(sort_by(cases, &timeCreated)[].[caseId, subject, timeCreated, displayId])" - "Query string used for aws support-ls-query." - :tag "aws-support-ls-query" - :group 'aws-snippets - :type 'string) - -;;;###autoload -(defun aws-snippets-initialize () - "Initialize package." - (let ((snip-dir (expand-file-name "snippets" aws-snippets-dir))) - (when (boundp 'yas-snippet-dirs)(add-to-list 'yas-snippet-dirs snip-dir t)) - (yas-load-directory snip-dir))) - -;;;###autoload -(eval-after-load 'yasnippet - '(aws-snippets-initialize)) - -(require 'yasnippet) - -(provide 'aws-snippets) -;;; aws-snippets.el ends here diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ami-ls b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ami-ls deleted file mode 100644 index 0d456a15..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ami-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ami-ls -# key: ami-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-images --owners \$`(if (string-equal major-mode "eshell-mode")(message "{")(message "("))` aws --profile=$1 ec2 describe-security-groups --group-names 'Default' --query 'SecurityGroups[0].OwnerId' --output text `(if (string-equal major-mode "eshell-mode")(message "}")(message ")"))` --query "`(print aws-snippets-ami-ls-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups deleted file mode 100644 index cfe0bf8d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-describe-auto-scaling-groups -# key: asg-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling describe-auto-scaling-groups --query '`(print aws-snippets-autoscaling-describe-auto-scaling-groups-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations deleted file mode 100644 index b7082fc3..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-describe-launch-configurations -# key: asl-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling describe-launch-configurations --query '`(print aws-snippets-autoscaling-describe-launch-configurations-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max deleted file mode 100644 index 03709394..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-update-auto-scaling-group-min-max -# key: aws-autoscaling-update-auto-scaling-group-min-max -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling update-auto-scaling-group --auto-scaling-group-name ${4:`(current-kill 0)`} --min-size $5 --max-size $6 $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-change-ls b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-change-ls deleted file mode 100644 index 825d942d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-change-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-change-ls -# key: cloud-change-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation list-change-sets --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-create-change-set b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-create-change-set deleted file mode 100644 index a93de833..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-create-change-set +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-create-change-set -# key: cloud-createchange -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} \ -${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} \ -cloudformation create-change-set \ -${4:--capabilities CAPABILITY_NAMED_IAM} \ ---stack-name '$5' \ ---change-set-name '$6' \ ---description '$7' \ ---parameters ${8:file://} \ -${9:--change-set-type=${10:$$(yas-choose-value '("CREATE" "UPDATE"))}}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-change-set b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-change-set deleted file mode 100644 index 958515b1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-change-set +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-describe-change-set -# key: cloud-descchange -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-change-set --stack-name ${4:`(current-kill 0)`} --change-set-name $5 --output ${6:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-stack b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-stack deleted file mode 100644 index 143d7ed1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-stack +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-describe-stack -# key: cloud-desc -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-stacks --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-stack-events b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-stack-events deleted file mode 100644 index 062be5e7..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-describe-stack-events +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-describe-stack-events -# key: cloud-events-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-stack-events --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-ls b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-ls deleted file mode 100644 index 599058b8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-ls +++ /dev/null @@ -1,25 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-ls -# key: cloud-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation list-stacks --stack-status-filter ${4:$$(yas-choose-value '( -"CREATE_COMPLETE" -"CREATE_IN_PROGRESS" -"CREATE_FAILED" -"ROLLBACK_IN_PROGRESS" -"ROLLBACK_FAILED" -"ROLLBACK_COMPLETE" -"DELETE_IN_PROGRESS" -"DELETE_FAILED" -"DELETE_COMPLETE" -"UPDATE_IN_PROGRESS" -"UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" -"UPDATE_COMPLETE" -"UPDATE_ROLLBACK_IN_PROGRESS" -"UPDATE_ROLLBACK_FAILED" -"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" -"UPDATE_ROLLBACK_COMPLETE" -"REVIEW_IN_PROGRESS" -"CREATE_IN_PROGRESS CREATE_FAILED CREATE_COMPLETE ROLLBACK_IN_PROGRESS ROLLBACK_FAILED ROLLBACK_COMPLETE DELETE_IN_PROGRESS DELETE_FAILED UPDATE_IN_PROGRESS UPDATE_COMPLETE_CLEANUP_IN_PROGRESS UPDATE_COMPLETE UPDATE_ROLLBACK_IN_PROGRESS UPDATE_ROLLBACK_FAILED UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS UPDATE_ROLLBACK_COMPLETE REVIEW_IN_PROGRESS" -))} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-validate-template b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-validate-template deleted file mode 100644 index e288e3ef..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudformation-validate-template +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-validate-template -# key: cloud-val-temp -# group: aws -# -- -aws --profile=test --region=us-east-1 cloudformation validate-template --template-body file://${1:`(current-kill 0)`} --output ${2:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudtrail-lookup-events b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudtrail-lookup-events deleted file mode 100644 index e721a36f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-cloudtrail-lookup-events +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudtrail-lookup-events -# key: cloudtrail-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudtrail lookup-events --max-items ${4:100} --lookup-attributes AttributeKey=${5:$$(yas-choose-value '("ResourceType,AttributeValue=AWS::EC2::Instance" "ResourceName,AttributeValue="))}$6 --output ${7:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-delete-snapshot b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-delete-snapshot deleted file mode 100644 index be6faa84..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-delete-snapshot +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-delete-snapshot (yank) -# key: snap-del -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 delete-snapshot --snapshot-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-delete-volume b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-delete-volume deleted file mode 100644 index 62caa0cf..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-delete-volume +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-delete-volume (yank) -# key: ebs-del -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 delete-volume --volume-id ${4:`(current-kill 0)`} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-instance-attribute b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-instance-attribute deleted file mode 100644 index 57696cae..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-instance-attribute +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-describe-instance-attribute (yank) -# key: ec2-attribute -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-attribute --instance-id ${4:`(current-kill 0)`} --attribute ${5:$$(yas-choose-value '("instanceType" "kernel" "ramdisk" "userData" "disableApiTermination" "instanceInitiatedShutdownBehavior" "rootDeviceName" "blockDeviceMapping" "productCodes" "sourceDestCheck" "groupSet" "ebsOptimized" "sriovNetSupport"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-instance-status b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-instance-status deleted file mode 100644 index b52b723b..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-instance-status +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-describe-instance-status (yank) -# key: aws-ec2-describe-instance-status -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-status --instance-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-userdata b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-userdata deleted file mode 100644 index ace7b2d1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-describe-userdata +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-describe-userdata (yank) -# key: ec2-userdata -# group: aws -# -- -(base64-decode-string (shell-command-to-string "aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-attribute --instance-id ${4:`(current-kill 0)`} --attribute userData --query 'UserData.Value' --output text"))$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-console-output b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-console-output deleted file mode 100644 index 597a1bed..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-console-output +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-console-output (yank) -# key: ec2-console -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 get-console-output --output text --instance-id ${4:`(current-kill 0)`} ># $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-dns-names b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-dns-names deleted file mode 100644 index 79ac75bf..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-dns-names +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-dns-names -# key: aws-ec2-get-dns-names -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --filters "Name=tag:Name,Values=$4" --query "`(print aws-snippets-ec2-get-dns-names-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-instance-details b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-instance-details deleted file mode 100644 index 4d38a909..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-instance-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-instance-details (yank) -# key: ec2-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --instance-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-instance-volumes b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-instance-volumes deleted file mode 100644 index ccfd0c81..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-instance-volumes +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-instance-volumes -# key: ec2-vol -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query "`(print aws-snippets-ec2-get-instance-volumes-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroup-details b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroup-details deleted file mode 100644 index 77062bdf..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroup-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-securitygroup-details (yank) -# key: sg-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-groups --group-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroup-references b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroup-references deleted file mode 100644 index 17857460..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroup-references +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-securitygroup-references (yank) -# key: aws-ec2-get-securitygroup-references -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-group-references --group-id ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroups b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroups deleted file mode 100644 index b71e0b71..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-securitygroups +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-securitygroups -# key: sg-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-groups --query "`(print aws-snippets-ec2-get-securitygroups-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-snapshot-details b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-snapshot-details deleted file mode 100644 index 1f5dc2af..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-snapshot-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-snapshot-details (yank) -# key: snap-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-snapshots --snapshot-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-snapshots b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-snapshots deleted file mode 100644 index 31c47d81..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-snapshots +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-snapshots -# key: snap-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-snapshots --query '`(print aws-snippets-ec2-get-snapshots-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-volumes b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-volumes deleted file mode 100644 index 546f1739..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-volumes +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-volumes -# key: ebs-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --query '`(print aws-snippets-ec2-get-volumes-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-volumes-unused b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-volumes-unused deleted file mode 100644 index 65c94338..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-get-volumes-unused +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-volumes-unused -# key: ebs-ls-avail -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --query '`(print aws-snippets-ec2-get-volumes-unused-query)`' --filters Name=status,Values=available --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-instance-running b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-instance-running deleted file mode 100644 index c2ae1028..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-instance-running +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-instance-running -# key: ec2state -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --instance-ids ${4:`(current-kill 0)`} --query "`(print aws-snippets-ec2-instance-running-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-instances b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-instances deleted file mode 100644 index 00a8bf57..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-instances +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-list-instances -# key: ec2-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query '${4:$$(yas-choose-value aws-snippets-ec2-list-instances-query)}' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-subnets b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-subnets deleted file mode 100644 index 9b99e144..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-subnets +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-list-subnets -# key: sub-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-subnets --query "`(print aws-snippets-ec2-list-subnets-query)`" --output ${4:$$(yas-choose-value '("table" "text" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-vpcs b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-vpcs deleted file mode 100644 index 82ebfd89..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-list-vpcs +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-list-vpcs -# key: vpc-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-vpcs --query "`(print aws-snippets-ec2-list-vpcs-query)`" --output ${4:$$(yas-choose-value '("table" "text" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-start-stop-instance b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-start-stop-instance deleted file mode 100644 index e6d415cf..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-start-stop-instance +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-start-stop-instance (yank) -# key: ec2-start -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 ${4:$$(yas-choose-value '("start-instances" "stop-instances" "reboot-instances"))} --instance-ids ${5:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-volume-details b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-volume-details deleted file mode 100644 index 0b1461a9..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-ec2-volume-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-volume-details (yank) -# key: ebs-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --volume-ids ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-instance-health b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-instance-health deleted file mode 100644 index 07fd787f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-instance-health +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-describe-instance-health (yank) -# key: aws-elb-describe-instance-health -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-instance-health --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-load-balancer b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-load-balancer deleted file mode 100644 index 0b903d46..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-load-balancer +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-describe-load-balancer (yank) -# key: elb-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancers --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes deleted file mode 100644 index 113ce4e0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-describe-load-balancer-attributes (yank) -# key: aws-elb-describe-load-balancer-attributes -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancer-attributes --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-get-list b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-get-list deleted file mode 100644 index a7c5b3ed..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-get-list +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-get-list -# key: elb-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancers --query "`(print aws-snippets-elb-get-list-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-search b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-search deleted file mode 100644 index 3b3f9b97..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-elb-search +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-search -# key: aws-elb-search -# group: aws -# -- -for REGION in `(mapconcat 'identity aws-snippets-regions " ")`; do - for BALANCER in \`aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=\${REGION} elb describe-load-balancers --query "reverse(sort_by(LoadBalancerDescriptions, &CreatedTime)[].[LoadBalancerName])" --output text\`; do - aws --profile=$1 --region=\${REGION} elb describe-load-balancers --load-balancer-name \${BALANCER} --output text | awk "{print \\"\${REGION}:\${BALANCER}:\\"\\\$0}" - done -done $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-emr-describe-cluster b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-emr-describe-cluster deleted file mode 100644 index c00cdcbc..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-emr-describe-cluster +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-emr-describe-cluster (yank) -# key: aws-emr-describe-cluster -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=${2:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} emr describe-cluster --cluster-id ${3: `(current-kill 0)`} --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-emr-list-clusters b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-emr-list-clusters deleted file mode 100644 index 175a66ef..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-emr-list-clusters +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-emr-list-clusters -# key: emr-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=${2:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} emr list-clusters --active --query '`(print aws-snippets-emr-list-clusters-query)`' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-filters b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-filters deleted file mode 100644 index 6cdaa34c..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-filters +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-filters -# key: awsfil -# group: aws -# -- ---filters "Name=${1:$$(yas-choose-value aws-snippets-filters)},Values=$2" $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-logs-get-groups b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-logs-get-groups deleted file mode 100644 index 81fef5d2..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-logs-get-groups +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-logs-get-groups -# key: logs-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} logs describe-log-groups --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-logs-set-retention b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-logs-set-retention deleted file mode 100644 index d071bd3a..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-logs-set-retention +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-logs-set-retention -# key: logs-set-ret -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} logs put-retention-policy --log-group-name ${4:`(current-kill 0)`} --retention-in-days ${5:$$(yas-choose-value '( "60" "1" "3" "5" "7" "14" "30" "90" "120" "150" "180" "365" "400" "545" "731" "1827" "3653"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-policy-ls b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-policy-ls deleted file mode 100644 index e4e1c99c..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-policy-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-policy-ls -# key: policy-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} iam list-policies --scope ${5:$$(yas-choose-value '("All" "AWS" "Local"))} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-instance-details b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-instance-details deleted file mode 100644 index fe8b2c22..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-instance-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-describe-db-instance-details (yank) -# key: rds-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-instances --db-instance-identifier ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-instances b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-instances deleted file mode 100644 index 4f75830d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-instances +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-describe-db-instances -# key: rds-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-instances --query "`(print aws-snippets-rds-describe-instances-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-parameter-groups b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-parameter-groups deleted file mode 100644 index 53033528..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-db-parameter-groups +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-describe-db-parameter-groups -# key: aws-rds-describe-db-parameter-groups -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-parameter-groups --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-parameters b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-parameters deleted file mode 100644 index 48fb633e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-rds-describe-parameters +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-describe-parameters (yank) -# key: aws-rds-describe-parameters -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-parameters --db-parameter-group-name ${4:`(current-kill 0)`} --query "Parameters[*][ParameterName, ParameterValue]" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-region-loop b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-region-loop deleted file mode 100644 index 4ba9f532..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-region-loop +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-region-loop -# key: aws-region-loop -# group: aws -# -- -for REGION in `(mapconcat 'identity aws-snippets-regions " ")`; do -$0 -done diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-regions b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-regions deleted file mode 100644 index 72c28a0c..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-regions +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-regions -# key: awsreg -# group: aws -# -- ---region=${1:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-route53-list-hosted-zones b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-route53-list-hosted-zones deleted file mode 100644 index 6fbe41ef..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-route53-list-hosted-zones +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-list-hosted-zones -# key: r53-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} route53 list-hosted-zones --query '`(print aws-snippets-route53-list-hosted-zones-query)`' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-route53-list-resource-record-sets b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-route53-list-resource-record-sets deleted file mode 100644 index bf70025f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-route53-list-resource-record-sets +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-list-resource-record-sets (yank) -# key: aws-route53-list-resource-record-sets -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} route53 list-resource-record-sets --hosted-zone-id ${2:`(current-kill 0)`} --query \"ResourceRecordSets[?contains(Name, '$3')]\" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-sns-ls b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-sns-ls deleted file mode 100644 index 3d99d0e9..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-sns-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sns-ls -# key: sns-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} sns list-topics --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-support-describe b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-support-describe deleted file mode 100644 index d8baaf78..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-support-describe +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-support-describe -# key: support-desc -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} support describe-communications --case-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-support-ls b/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-support-ls deleted file mode 100644 index 7540de69..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/eshell-mode/aws-support-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-support-ls -# key: support-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} support describe-cases --no-include-communications --query "`(print aws-snippets-aws-support-ls-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-autoscaling-group b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-autoscaling-group deleted file mode 100644 index d16cdad9..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-autoscaling-group +++ /dev/null @@ -1,19 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-group -# key: autoscaling-group -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:-}" : { - "Type" : "AWS::AutoScaling::AutoScalingGroup", - "Properties" : { - "AvailabilityZones" : [${2:"--"}], - "LaunchConfigurationName" : ${3:"--"}, - "MaxSize" : "${4:--}", - "MinSize" : "${5:--}", - "Tags" : [ {"Key" : "Name", - "Value" : "${6:"--"}", - "PropagateAtLaunch" : "True"} - ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-autoscaling-group-vpc b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-autoscaling-group-vpc deleted file mode 100644 index 16dd5207..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-autoscaling-group-vpc +++ /dev/null @@ -1,22 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-group-vpc -# key: autoscaling-group-vpc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:-}" : { - "Type" : "AWS::AutoScaling::AutoScalingGroup", - "Properties" : { - "AvailabilityZones" : [ - ${2:azs} - ], - "LaunchConfigurationName" : ${3:"-"}, - "MaxSize" : "${4:-}", - "MinSize" : "${5:-}", - "VPCZoneIdentifier" : [ ${6:list of subnet ids} ], - "Tags" : [ {"Key" : "Name", - "Value" : "${7:-}", - "PropagateAtLaunch" : "True"} - ] - } -}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-availibility-zone b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-availibility-zone deleted file mode 100644 index b3d652ad..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-availibility-zone +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-availibility-zone -# key: availability-zone -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{"Fn::Join" : ["",[{"Ref" : "AWS::Region"},"${1:a}" ] ]}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-authentication b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-authentication deleted file mode 100644 index b4c512ee..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-authentication +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-authentication -# key: cloudformation-authentication -# group: cloudformation -# -- -"AWS::CloudFormation::Authentication": { - "${1:AccessCreds}": { - "type": "$2", - "buckets": [ "$3" ], - "roleName": "$4", - "accessKeyId": "$5", - "secretKey": "$6", - "uris": [ "$7" ], - "username": "$8", - "password": "$9" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-customresource b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-customresource deleted file mode 100644 index 96d68f35..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-customresource +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-customresource -# key: cloudformation-customresource -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:customResource}": { - "Type": "AWS::CloudFormation::CustomResource", - "Version": "1.0", - "Properties": { - "ServiceToken": "$2" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-init b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-init deleted file mode 100644 index 0c21a465..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-init +++ /dev/null @@ -1,25 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-init -# key: cloudformation-init -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"AWS::CloudFormation::Init": { - "config": { - "packages": { - $0 - }, - "groups": { - }, - "users": { - }, - "sources": { - }, - "files": { - }, - "commands": { - }, - "services": { - } - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-stack b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-stack deleted file mode 100644 index b6632867..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-stack +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-stack -# key: cloudformation-stack -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:cloudFormationStack}": { - "Type": "AWS::CloudFormation::Stack", - "Properties": { - "NotificationARNs": [ "$2" ], - "Parameters": { $3 }, - "TemplateURL": "$4", - "TimeoutInMinutes": "$5" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-waitcondition b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-waitcondition deleted file mode 100644 index 2d90857d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-waitcondition +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-waitcondition -# key: cloudformation-waitcondition -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:waitCondition}": { - "Type": "AWS::CloudFormation::WaitCondition", - "Properties": { - "Count": "$2", - "Handle": "$3", - "Timeout": "$4" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-waitconditionhandle b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-waitconditionhandle deleted file mode 100644 index 8318043a..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudformation-waitconditionhandle +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-waitconditionhandle -# key: cloudformation-waitconditionhandle -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:waitConditionHandle}": { - "Type" : "AWS::CloudFormation::WaitConditionHandle", - "Properties" : { - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudfront-distribution b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudfront-distribution deleted file mode 100644 index d3e41a76..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudfront-distribution +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudfront-distribution -# key: cloudfront-distribution -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:cloudfrontDistribution}": { - "Type": "AWS::CloudFront::Distribution", - "Properties": { - "DistributionConfig": $2 - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudtrail b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudtrail deleted file mode 100644 index 37d4b0ca..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudtrail +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudtrail -# key: cloudtrail -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:cloudTrail}": { - "Type": "AWS::CloudTrail::Trail", - "Properties": { - "S3BucketName": "$2", - "IncludeGlobalServiceEvents": "${3:$$(yas-choose-value '("true" "false")}", - "IsLogging": "${4:$$(yas-choose-value '("true" "false"))}", - "S3KeyPrefix": "$5", - "SnsTopicName": "$6" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudwatch-alarm b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudwatch-alarm deleted file mode 100644 index 970fe63e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-cloudwatch-alarm +++ /dev/null @@ -1,26 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudwatch-alarm -# key: cloudwatch-alarm -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:cloudWatchAlarm}": { - "Type": "AWS::CloudWatch::Alarm", - "Properties": { - "MetricName": "$2", - "Namespace": "$3", - "ComparisonOperator": "$4", - "EvaluationPeriods": "$5", - "Period": "$6", - "Statistic": "$7", - "Threshold": "$8", - "ActionsEnabled": "${9:$$(yas-choose-value '("true" "false"))}", - "AlarmActions": [ "$10" ], - "AlarmDescription": "$11", - "AlarmName": "$12", - "Dimensions": [ "$13" ], - "InsufficientDataActions": [ "$14" ], - "OKActions": [ "$15" ], - "Unit": "$16" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-dynamodb-table b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-dynamodb-table deleted file mode 100644 index c90b66e3..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-dynamodb-table +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-dynamodb-table -# key: dynamodb-table -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:dynamodbTable}": { - "Type": "AWS::DynamoDB::Table", - "Properties": { - "AttributeDefinitions": [ $2 ], - "GlobalSecondaryIndexes": [ $3 ], - "KeySchema": [ $4 ], - "LocalSecondaryIndexes": [ $5 ], - "ProvisionedThroughput": { $6 }, - "TableName": "$7" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ec2-instance b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ec2-instance deleted file mode 100644 index 158d852a..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ec2-instance +++ /dev/null @@ -1,34 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-instance -# key: ec2-instance -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:-}": { - "Type": "AWS::EC2::Instance", - "Properties": { - "KeyName": ${2:-}, - "DisableApiTermination": "${3:$$(yas-choose-value '("true" "false"))}", - "ImageId": { ${4:-} }, - "InstanceType": "${5:-}", - "Monitoring": "${6:$$(yas-choose-value '("true" "false"))}", - "SecurityGroupIds" : [${7:-}], - "Tags": [ - { - "Key": "${8:-}", - "Value": "${9:-}" - } - ], - "UserData": { - "Fn::Base64": { - "Fn::Join": [ - "", - [ - "#!/bin/bash -ex", - "${10:-}" - ] - ] - } - } - } -}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ec2-volume b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ec2-volume deleted file mode 100644 index 501ab72f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ec2-volume +++ /dev/null @@ -1,24 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-volume -# key: ec2-volume -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:ec2Volume}": { - "Type": "AWS::EC2::Volume", - "Properties": { - "AutoEnableIO": "${2:$$(yas-choose-value '("true" "false"))}", - "AvailabilityZone": "${3:-}", - "Encrypted": "${4:$$(yas-choose-value '("true" "false"))}", - "KmsKeyId": "${5:-}", - "Size": "${6:-}", - "SnapshotId": "${7:snap-}", - "Tags": [ - { - "Key": "${8:-}", - "Value": "${9:-}" - } - ], - "VolumeType" : "${10:$$(yas-choose-value '("standard" "io1" "gp2"))}" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-eip-vpc b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-eip-vpc deleted file mode 100644 index 7f89ec31..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-eip-vpc +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-eip-vpc -# key: eip-vpc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:eipName}": { - "Type": "AWS::EC2::EIP", - "Properties": { - "Domain": "vpc", - "InstanceId": ${2:"--"} - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer deleted file mode 100644 index 907a64ed..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer +++ /dev/null @@ -1,19 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elastic-load-balancer -# key: elastic-load-balancer -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:-}": { - "Type": "AWS::ElasticLoadBalancing::LoadBalancer", - "Properties": { - "AvailabilityZones" : [ "${2:-}" ], - "Listeners" : [ ${3:-} ], - "Tags": [ - { - "Key": "${4:-}", - "Value": "${5:-}" - } - ] - } -}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer-vpc b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer-vpc deleted file mode 100644 index 23b8e300..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer-vpc +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elastic-load-balancer-vpc -# key: elastic-load-balancer-vpc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:-}": { - "Type": "AWS::ElasticLoadBalancing::LoadBalancer", - "Properties": { - "Listeners" : [ ${2:-} ], - "SecurityGroups" : [ ${3:-} ], - "Subnets" : [ ${4:-} ], - "Tags": [ - { - "Key": "${5:-}", - "Value": "${6:-}" - } - ] - } -}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer-vpc-internal b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer-vpc-internal deleted file mode 100644 index 9ffbcca1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elastic-load-balancer-vpc-internal +++ /dev/null @@ -1,21 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elastic-load-balancer-vpc-internal -# key: elastic-load-balancer-vpc-internal -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:-}": { - "Type": "AWS::ElasticLoadBalancing::LoadBalancer", - "Properties": { - "Listeners" : [ ${2:-} ], - "Scheme" : "internal", - "SecurityGroups" : [ ${3:-} ], - "Subnets" : [ ${4:-} ], - "Tags": [ - { - "Key": "${5:-}", - "Value": "${6:-}" - } - ] - } -}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-cachecluster b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-cachecluster deleted file mode 100644 index 5108f5b1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-cachecluster +++ /dev/null @@ -1,31 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-cachecluster -# key: elasticche-cachecluster -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:elasticacheCacheCluster}": { - "Type": "AWS::ElastiCache::CacheCluster", - "Properties": - { - "AutoMinorVersionUpgrade": "${2:$$(yas-choose-value '("true" "false"))}", - "AZMode": "$3", - "CacheNodeType": "$4", - "CacheParameterGroupName": "$5", - "CacheSecurityGroupNames": [ "$6" ], - "CacheSubnetGroupName": "$7", - "ClusterName": "$8", - "Engine": "$9", - "EngineVersion": "$10", - "NotificationTopicArn": "$11", - "NumCacheNodes": "$12", - "Port": "$13", - "PreferredAvailabilityZone": "$14", - "PreferredAvailabilityZones": [ "$15" ], - "PreferredMaintenanceWindow": "$16", - "SnapshotArns": ["$17" ], - "SnapshotRetentionLimit": "$18", - "SnapshotWindow": "$19", - "VpcSecurityGroupIds": [ "$20" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-parametergroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-parametergroup deleted file mode 100644 index d14ace7a..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-parametergroup +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-parametergroup -# key: elasticache-parametergroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:elastiicacheParameterGroup}": { - "Type": "AWS::ElastiCache::ParameterGroup", - "Properties": { - "CacheParameterGroupFamily": "$2", - "Description": "$3", - "Properties": { "$4": "$5" } - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-securitygroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-securitygroup deleted file mode 100644 index 503c87b0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-securitygroup +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-securitygroup -# key: elasticache-securitygroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:elasticacheSecurityGroup}": { - "Type": "AWS::ElastiCache::SecurityGroup", - "Properties": - { - "Description": "$2" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-securitygroupingress b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-securitygroupingress deleted file mode 100644 index 3ea670b8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-securitygroupingress +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-securitygroupingress -# key: elasticache-securitygroupingress -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:elasticacheSecurityGroupIngress}": { - "Type": "AWS::ElastiCache::SecurityGroupIngress", - "Properties": - { - "CacheSecurityGroupName": "$2", - "EC2SecurityGroupName": "$3", - "EC2SecurityGroupOwnerId": "$4" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-subnetgroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-subnetgroup deleted file mode 100644 index 491d6a09..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticache-subnetgroup +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-subnetgroup -# key: elasticache-subnetgroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:elasticacheSubnetGroup}": { - "Type": "AWS::ElastiCache::SubnetGroup", - "Properties": { - "Description": "$2", - "SubnetIds": [ "$3" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-application b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-application deleted file mode 100644 index 549dd685..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-application +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticbeanstalk-application -# key: elasticbeanstalk-application -# group: cloudformation -# -- -"${1:elasticbeanstalkApplication}": { - "Type": "AWS::ElasticBeanstalk::Application", - "Properties": { - "ApplicationName": "$2", - "Description": "$3" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-applicationversion b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-applicationversion deleted file mode 100644 index 2a31e774..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-applicationversion +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticbeanstalk-applicationversion -# key: elasticbeanstalk-applicationversion -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:elasticbeanstalkApplicationVersion}": { - "Type": "AWS::ElasticBeanstalk::ApplicationVersion", - "Properties": { - "ApplicationName": "$2", - "Description": "$3", - "SourceBundle": { $4 } - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-configurationtemplate b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-configurationtemplate deleted file mode 100644 index e44ff1d0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-configurationtemplate +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticbeanstalk-configurationtemplate -# key: elasticbeanstalk-configurationtemplate -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:elasticbeanstalkConfigurationTemplate}": { - "Type": "AWS::ElasticBeanstalk::ConfigurationTemplate", - "Properties": { - "ApplicationName": "$2", - "Description": "$3", - "EnvironmentId": "$4", - "OptionSettings": [ $5 ], - "SolutionStackName": "$6", - "SourceConfiguration": $7 - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-environment b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-environment deleted file mode 100644 index fb4976a3..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elasticbeanstalk-environment +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticbeanstalk-environment -# key: elasticbeanstalk-environment -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:elasticbeanstalkEnvironment}": { - "Type": "AWS::ElasticBeanstalk::Environment", - "Properties": { - "ApplicationName": "$2", - "CNAMEPrefix": "$3", - "Description": "$4", - "EnvironmentName": "$5", - "OptionSettings": [ $6 ], - "SolutionStackName": "$7", - "TemplateName": "$8", - "Tier": "$9", - "VersionLabel": "$10" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elb-listener b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elb-listener deleted file mode 100644 index 9b1d1d15..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-elb-listener +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-listener -# key: elb-listener -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{ - "InstancePort" : "${1:-}", - "InstanceProtocol" : "${2:$$(yas-choose-value '("HTTP" "HTTPS" "TCP" "SSL"))}", - "LoadBalancerPort" : "${3:-}", - "Protocol" : "${4:$$(yas-choose-value '("HTTP" "HTTPS" "TCP" "SSL"))}" -}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-find-in-map b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-find-in-map deleted file mode 100644 index 728d2781..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-find-in-map +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-find-in-map -# key: find-in-map -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"Fn::FindInMap": [ - "${1:map}", - "${2:selector}", - "${3:value}" -]$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-get-attr b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-get-attr deleted file mode 100644 index 4f822ee7..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-get-attr +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-get-attr -# key: get-attr -# group: cloudformation -# -- -{ "Fn::GetAtt" : [ "${1:logicalNameOfResource}", "${2:attributeName}" ]}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-accesskey b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-accesskey deleted file mode 100644 index 46c5942f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-accesskey +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-accesskey -# key: iam-accesskey -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:iamAccessKey}": { - "Type": "AWS::IAM::AccessKey", - "Properties": { - "Status": "$2", - "UserName": "$3", - "Serial": "$4" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-group b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-group deleted file mode 100644 index 007a6b76..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-group +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-group -# key: iam-group -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:iamGroup}": { - "Type": "AWS::IAM::Group", - "Properties": { - "Path": "$2", - "Policies": [ "$3" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-instanceprofile b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-instanceprofile deleted file mode 100644 index a5230ea0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-instanceprofile +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-instanceprofile -# key: iam-instanceprofile -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:iamInstanceProfile}": { - "Type": "AWS::IAM::InstanceProfile", - "Properties": { - "Path": "${2:/}", - "Roles": [ "$3" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-policy b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-policy deleted file mode 100644 index 4fae6ba7..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-policy +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-policy -# key: iam-policy -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:iamPolicy}": { - "Type": "AWS::IAM::Policy", - "Properties": { - "Groups" : [ "$2" ], - "PolicyDocument" : {$3}, - "PolicyName" : "$4", - "Roles" : [ "$5" ], - "Users" : [ "$6" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-role b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-role deleted file mode 100644 index 3a6744c8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-role +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-role -# key: iam-role -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:iamRole}": { - "Type": "AWS::IAM::Role", - "Properties": { - "AssumeRolePolicyDocument": { $2 }, - "Path": "$3", - "Policies": [ $4 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-user b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-user deleted file mode 100644 index 378c3eaa..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-user +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-user -# key: iam-user -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:iamUser}": { - "Type": "AWS::IAM::User", - "Properties": { - "Path": "${2:/}", - "Groups": [ "$3" ], - "LoginProfile": { "Password" : "$4" }, - "Policies": [ $5 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-usertogroupaddition b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-usertogroupaddition deleted file mode 100644 index afa54e60..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-iam-usertogroupaddition +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-usertogroupaddition -# key: iam-usertogroupaddition -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:iamUserToGroupAddition}": { - "Type": "AWS::IAM::UserToGroupAddition", - "Properties": { - "GroupName": "$2", - "Users": [ "$3" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-internet-gateway b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-internet-gateway deleted file mode 100644 index f2cca144..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-internet-gateway +++ /dev/null @@ -1,19 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-internet-gateway -# key: internet-gateway -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:igwName}": { - "Type": "AWS::EC2::InternetGateway", - "Properties": { - "Tags": [${2:"-"}] - } -}, -"AttachGateway": { - "Type": "AWS::EC2::VPCGatewayAttachment", - "Properties": { - "VpcId": ${3:"--"}, - "InternetGatewayId": { "Ref": "$1" } - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-join b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-join deleted file mode 100644 index 0873b0bb..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-join +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-join -# key: join -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{"Fn::Join" : ["",[ ${1:"prefix"}, ${2:"suffix"} ] ]}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-kinesis-stream b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-kinesis-stream deleted file mode 100644 index aa1fffa8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-kinesis-stream +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-kinesis-stream -# key: kinesis-stream -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:kinesisStream}": { - "Type": "AWS::Kinesis::Stream", - "Properties": { - "ShardCount": "$2" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-launch-config b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-launch-config deleted file mode 100644 index 8899ba33..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-launch-config +++ /dev/null @@ -1,28 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-launch-config -# key: launch-config -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:launchConfigName}": { - "Type" : "AWS::AutoScaling::LaunchConfiguration", - "Properties" : { - "IamInstanceProfile" : ${2:"--"}, - "ImageId" : ${3:"--"}, - "InstanceMonitoring" : ${4:"--"}, - "InstanceType" : "${5:--}", - "KeyName" : ${6:"--"}, - "SecurityGroups" : [ ${7:"--"} ], - "UserData" : { - "Fn::Base64": - { "Fn::Join": [ - "", - [ - "#!/bin/bash -ex", - "${8:-}" - ] - ] - } - } - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-logs-loggroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-logs-loggroup deleted file mode 100644 index 75232959..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-logs-loggroup +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-logs-loggroup -# key: logs-loggroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:logLogGroup}": { - "Type": "AWS::Logs::LogGroup", - "Properties": { - "RetentionInDays": "${2}" - } -} diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-logs-metricfilter b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-logs-metricfilter deleted file mode 100644 index 2af3838b..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-logs-metricfilter +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-logs-metricfilter -# key: logs-metricfilter -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:logsMetricFilter}": { - "Type": "AWS::Logs::MetricFilter", - "Properties": { - "FilterPattern": [ "$2" ], - "LogGroupName": "$3", - "MetricTransformations": [ $4 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-map b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-map deleted file mode 100644 index 2400e8d9..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-map +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-map -# key: map -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:mapName}": { - "${2:selector}": { - "${3:key}": "${4:val}" - }, - "${5:selector}": { - "${6:key}": "${7:val}" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-map-item b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-map-item deleted file mode 100644 index fc8d5875..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-map-item +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-map-item -# key: map-item -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:selector}": { -"${2:key}": "${3:val}" -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-app b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-app deleted file mode 100644 index 106820e0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-app +++ /dev/null @@ -1,21 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-app -# key: opsworks-app -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:opsworksApp}": { - "Type": "AWS::OpsWorks::App", - "Properties": { - "Name": "$2", - "StackId": "$3", - "Type": "$4", - "AppSource": { $5 }, - "Attributes": { $6:$7 }, - "Description": "$8", - "Domains": [ "$9" ], - "EnableSsl": "${10:$$(yas-choose-value '("true" "false"))}", - "Shortname": "$11", - "SslConfiguration": { $12 } - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-elasticloadbalancerattachment b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-elasticloadbalancerattachment deleted file mode 100644 index d9bff01d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-elasticloadbalancerattachment +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-elasticloadbalancerattachment -# key: opsworks-elasticloadbalancerattachment -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:opsworksElasticLoadBalancerAttachment}": { - "Type": "AWS::OpsWorks::ElasticLoadBalancerAttachment", - "Properties": { - "ElasticLoadBalancerName": "$2", - "LayerId": "$3" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-instance b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-instance deleted file mode 100644 index 3230862e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-instance +++ /dev/null @@ -1,24 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-instance -# key: opsworks-instance -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:opsworksInstance}": { - "Type": "AWS::OpsWorks::Instance", - "Properties": { - "InstanceType": "$2", - "LayerIds": [ "$3" ], - "StackId": "$4", - "AmiId": "$5", - "Architecture": "$6", - "AutoScalingType": "$7", - "AvailabilityZone": "$8", - "InstallUpdatesOnBoot": "${9:$$(yas-choose-value '("true" "false"))}", - "Os": "$10", - "RootDeviceType": "$11", - "SshKeyName": "$12", - "SubnetId": "$13", - "TimeBasedAutoScaling": { $14 } - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-layer b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-layer deleted file mode 100644 index fab5f1a9..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-layer +++ /dev/null @@ -1,26 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-layer -# key: opsworks-layer -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:opsworksLayer}": { - "Type": "AWS::OpsWorks::Layer", - "Properties": { - "AutoAssignElasticIps": "${2:$$(yas-choose-value '("true" "false"))}", - "AutoAssignPublicIps": "${3:$$(yas-choose-value '("true" "false"))}", - "EnableAutoHealing": "${4:$$(yas-choose-value '("true" "false"))}", - "Name": "$5", - "Shortname": "$6", - "StackId": "$7", - "Type": "$8", - "Attributes": { "$9":"$10" }, - "CustomInstanceProfileArn": "$11", - "CustomRecipes": $12, - "CustomSecurityGroupIds": [ "$13" ], - "InstallUpdatesOnBoot": "${14:$$(yas-choose-value '("true" "false"))}", - "LoadBasedAutoScaling": { $15 }, - "Packages": [ "$16" ], - "VolumeConfigurations": [ $17 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-stack b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-stack deleted file mode 100644 index c9fc8a08..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-opsworks-stack +++ /dev/null @@ -1,28 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-stack -# key: opsworks-stack -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:opsworksStack}": { - "Type": "AWS::OpsWorks::Stack", - "Properties": { - "DefaultInstanceProfileArn": "$2", - "Name": "$3", - "ServiceRoleArn": "$4", - "Attributes": { "$5":"$6" }, - "ChefConfiguration": { $7 }, - "ConfigurationManager": { $8 }, - "CustomCookbooksSource": { $9 }, - "CustomJson": { $10 }, - "DefaultAvailabilityZone": "$11", - "DefaultOs": "$12", - "DefaultRootDeviceType": "$13", - "DefaultSshKeyName": "$14", - "DefaultSubnetId": "$15", - "HostnameTheme": "$16", - "UseCustomCookbooks": "${17:$$(yas-choose-value '("true" "false"))}", - "UseOpsworksSecurityGroups": "${18:$$(yas-choose-value '("true" "false"))}", - "VpcId": "$19" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-output b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-output deleted file mode 100644 index e577b4a3..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-output +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-output -# key: output -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:name}": { - "Value": "${2:Value to return}", - "Description": "${3:Information about the value}", - "Export": { - "Name": "${4:Value to export}" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-parameter b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-parameter deleted file mode 100644 index 7ba27776..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-parameter +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-parameter -# key: parameter -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:paramName}": { - "Description": "${2:-}", - "Type": "${3:$$(yas-choose-value '("String" "Number" "CommaDelimitedList"))}", - "Default": "${4:-}" -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbinstance b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbinstance deleted file mode 100644 index 699512bf..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbinstance +++ /dev/null @@ -1,41 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbinstance -# key: rds-dbinstance -# group: cloudformation -# -- -"${1:rdsDBInstance}": { - "Type": "AWS::RDS::DBInstance", - "Properties": { - "AllocatedStorage": "${2}", - "DBInstanceClass": "${3}", - "AllowMajorVersionUpgrade": "${4:$$(yas-choose-value '("true" "false"))}", - "AutoMinorVersionUpgrade": "${5:$$(yas-choose-value '("true" "false"))}", - "AvailabilityZone": "$6", - "BackupRetentionPeriod": "$7", - "CharacterSetName": "$8", - "DBInstanceIdentifier": "$9", - "DBName": "$10", - "DBParameterGroupName": "$11", - "DBSecurityGroups": [ "$12" ], - "DBSnapshotIdentifier": "$13", - "DBSubnetGroupName": "$14", - "Engine": "$15", - "EngineVersion": "$16", - "Iops": "$17", - "KmsKeyId": "$18", - "LicenseModel": "$19", - "MasterUsername": "$20", - "MasterUserPassword": "$21", - "MultiAZ": "${22:$$(yas-choose-value '("true" "false"))}", - "OptionGroupName": "$23", - "Port": "$24", - "PreferredBackupWindow": "$25", - "PreferredMaintenanceWindow": "$26", - "PubliclyAccessible": "${27:$$(yas-choose-value '("true" "false"))}", - "SourceDBInstanceIdentifier": "$28", - "StorageEncrypted": "${29:$$(yas-choose-value '("true" "false"))}", - "StorageType": "$30", - "Tags": [ $31 ], - "VPCSecurityGroups": [ "$32" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbparametergroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbparametergroup deleted file mode 100644 index 4cacaac4..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbparametergroup +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbparametergroup -# key: rds-dbparametergroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:rdsDBParameterGroup}": { - "Type": "AWS::RDS::DBParameterGroup", - "Properties": { - "Description": "$2", - "Family": "$3", - "Parameters": {$4}, - "Tags": [ $5 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsecuritygroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsecuritygroup deleted file mode 100644 index 4aaca405..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsecuritygroup +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbsecuritygroup -# key: rds-dbsecuritygroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:rdsDBSecurityGroup}": { - "Type": "AWS::RDS::DBSecurityGroup", - "Properties": { - "EC2VpcId": { $2 }, - "DBSecurityGroupIngress": [ $3 ], - "GroupDescription": "$4", - "Tags": [ $5 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsecuritygroupingress b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsecuritygroupingress deleted file mode 100644 index 00ab5f6c..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsecuritygroupingress +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbsecuritygroupingress -# key: rds-dbsecuritygroupingress -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{ - "CIDRIP": "$1", - "DBSecurityGroupName": "$2", - "EC2SecurityGroupId": "$3", - "EC2SecurityGroupName": "$4", - "EC2SecurityGroupOwnerId": "$5" -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsubnetgroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsubnetgroup deleted file mode 100644 index 38e1edeb..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-dbsubnetgroup +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbsubnetgroup -# key: rds-dbsubnetgroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:rdsDBSubnetGroup}": { - "Type": "AWS::RDS::DBSubnetGroup", - "Properties": { - "DBSubnetGroupDescription": "$2", - "SubnetIds": [ "$3" ], - "Tags": [ $4 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-eventsubscription b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-eventsubscription deleted file mode 100644 index 9ff82ef5..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-rds-eventsubscription +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-eventsubscription -# key: rds-eventsubscription -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:rdsEventSubscription}": { - "Type": "AWS::RDS::EventSubscription", - "Properties": { - "Enabled": "${2:$$(yas-choose-value '("true" "false"))}", - "EventCategories": [ "$3" ], - "SnsTopicArn": "$4", - "SourceIds": [ "$5" ], - "SourceType ": "$6" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-cluster b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-cluster deleted file mode 100644 index a6e7eb47..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-cluster +++ /dev/null @@ -1,35 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-cluster -# key: redshift-cluster -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:redshiftCluster}": { - "Type": "AWS::Redshift::Cluster", - "Properties": { - "AllowVersionUpgrade": "${2:$$(yas-choose-value '("true" "false"))}", - "AutomatedSnapshotRetentionPeriod": "$3", - "AvailabilityZone": "$4", - "ClusterParameterGroupName": "$5", - "ClusterSecurityGroups": [ "$6" ], - "ClusterSubnetGroupName": "$7", - "ClusterType": "$8", - "ClusterVersion": "$9", - "DBName": "$10", - "ElasticIp": "$11", - "Encrypted": "${12:$$(yas-choose-value '("true" "false"))}", - "HsmClientCertificateIdentifier": "$13", - "HsmConfigurationIdentifier": "$14", - "MasterUsername": "$15", - "MasterUserPassword": "$16", - "NodeType": "$17", - "NumberOfNodes": "$18", - "OwnerAccount": "$19", - "Port": "$20", - "PreferredMaintenanceWindow": "$21", - "PubliclyAccessible": "${22:$$(yas-choose-value '("true" "false"))}", - "SnapshotClusterIdentifier": "$23", - "SnapshotIdentifier": "$24", - "VpcSecurityGroupIds": [ "$25" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clusterparametergroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clusterparametergroup deleted file mode 100644 index b955292d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clusterparametergroup +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-clusterparametergroup -# key: redshift-clusterparametergroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:redshiftClusterParameterGroup}": { - "Type": "AWS::Redshift::ClusterParameterGroup", - "Properties": { - "Description": "$2", - "ParameterGroupFamily": "$3", - "Parameters": [ $4 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersecuritygroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersecuritygroup deleted file mode 100644 index c847a0fb..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersecuritygroup +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-clustersecuritygroup -# key: redshift-clustersecuritygroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:redshiftClusterSecurityGroup}": { - "Type": "AWS::Redshift::ClusterSecurityGroup", - "Properties": { - "Description": "$2" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersecuritygroupingress b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersecuritygroupingress deleted file mode 100644 index cf0fca17..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersecuritygroupingress +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-clustersecuritygroupingress -# key: redshift-clustersecuritygroupingress -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:redshiftClusterSecurityGroupIngress}": { - "Type": "AWS::Redshift::ClusterSecurityGroupIngress", - "Properties": { - "ClusterSecurityGroupName": "$2", - "CIDRIP": "$3", - "EC2SecurityGroupName": "$4", - "EC2SecurityGroupOwnerId": "$5" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersubnetgroup b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersubnetgroup deleted file mode 100644 index ab32eb6f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-redshift-clustersubnetgroup +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-clustersubnetgroup -# key: redshift-clustersubnetgroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:redshiftClusterSubnetGroup}": { - "Type": "AWS::Redshift::ClusterSubnetGroup", - "Properties": { - "Description": "$2", - "SubnetIds": [ "$3" ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ref b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ref deleted file mode 100644 index 90deb714..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-ref +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ref -# key: ref -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{ "Ref": "${1:logicalName}" }$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-resource b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-resource deleted file mode 100644 index 1b273708..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-resource +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-resource -# key: resource -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:resourceName}": { - "Description": "${2:-}", - "Type": "${3:-}", - "Properties": "${4:-}" -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route deleted file mode 100644 index d020c736..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route -# key: route -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:routeName}": { - "Type": "AWS::EC2::Route", - "Properties": { - "RouteTableId": ${2:"--"}, - "DestinationCidrBlock": "${3:"--"}", - "GatewayId": ${4:"--"} - } -}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route-table b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route-table deleted file mode 100644 index ae691d95..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route-table +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route-table -# key: route-table -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:routeTableName}": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "VpcId": ${2:"--"}, - "Tags": [${3:"--"}] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route-table-assoc b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route-table-assoc deleted file mode 100644 index a886d82f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route-table-assoc +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route-table-assoc -# key: route-table-assoc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:routeTableAssocName"}: { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "SubnetId": ${2:"--"}, - "RouteTableId": ${3:"--"} - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-healthcheck b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-healthcheck deleted file mode 100644 index b91e236f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-healthcheck +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-healthcheck -# key: route53-healthcheck -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:route53HealthCheck}": { - "Type": "AWS::Route53::HealthCheck", - "Properties": { - "HealthCheckConfig": { $2 }, - "HealthCheckTags": [ $3 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-hostedzone b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-hostedzone deleted file mode 100644 index d4413b0c..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-hostedzone +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-hostedzone -# key: route53-hostedzone -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"$1": { - "Type": "AWS::Route53::HostedZone", - "Properties": { - "Name": "$2", - "VPCs": "$3", - "HostedZoneConfig": {$4}, - "HostedZoneTags": [$5] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-recordset b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-recordset deleted file mode 100644 index 069429c1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-recordset +++ /dev/null @@ -1,25 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-recordset -# key: route53-recordset -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:route53RS}": { - "Type": "AWS::Route53::RecordSet", - "Properties": { - "Name": "$2", - "Type": "${3:$$(yas-choose-value '("A" "AAAA" "CNAME" "MX" "NS" "PTR" "SOA" "SPF" "SRV" "TXT"))}", - "AliasTarget": {$4}, - "Comment": "$5", - "Failover": "$6", - "GeoLocation": {$7}, - "HealthCheckId": "$8", - "HostedZoneId": "$9", - "HostedZoneName": "$10", - "Region": "$11", - "ResourceRecords": [ "$12" ], - "SetIdentifier": "$13", - "TTL": "$14", - "Weight": "$15" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-recordset-group b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-recordset-group deleted file mode 100644 index 3e93dfe0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-route53-recordset-group +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-recordset-group -# key: route53-recordset-group -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:route53RSGroup}": { - "Type": "AWS::Route53::RecordSetGroup", - "Properties": { - "HostedZoneId": "$2", - "HostedZoneName": "$3", - "RecordSets": [ {$4} ], - "Comment": "$5" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-s3-bucket b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-s3-bucket deleted file mode 100644 index 62dcd3c5..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-s3-bucket +++ /dev/null @@ -1,19 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-s3-bucket -# key: s3-bucket -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:s3Bucket}": { - "Type": "AWS::S3::Bucket", - "Properties": { - "AccessControl": "${2:$$(yas-choose-value '("true" "false" "Private" "PublicRead" "PublicReadWrite" "AuthenticatedRead" "LogDeliveryWrite" "BucketOwnerRead" "BucketOwnerFullControl"))}", - "BucketName": "$3", - "CorsConfiguration": {$4}, - "LifecycleConfiguration": {$5}, - "NotificationConfiguration": {$6}, - "VersioningConfiguration": {$7}, - "WebsiteConfiguration": {$8}, - "Tags": [$9] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-s3-bucketpolicy b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-s3-bucketpolicy deleted file mode 100644 index f142ec8d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-s3-bucketpolicy +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-s3-bucketpolicy -# key: s3-bucketpolicy -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:s3BucketPolicy}": { - "Type": "AWS::S3::BucketPolicy", - "Properties": { - "Bucket" : "$2", - "PolicyDocument" : {$3} - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-security-group b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-security-group deleted file mode 100644 index ec2a24b0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-security-group +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-security-group -# key: security-group -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:secGroupName}" : { - "Type" : "AWS::EC2::SecurityGroup", - "Properties" : { - "GroupDescription" : "${2:-}", - "SecurityGroupIngress" : [ - ${3:--insert rules--} - ], - "VpcId" : ${4:ref-to-vpc}, - "Tags" : [ ${5:insert tag} ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-security-group-egress-block b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-security-group-egress-block deleted file mode 100644 index 017ea7ad..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-security-group-egress-block +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-security-group-egress-block -# key: security-group-egress-block -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"SecurityGroupEgress" : [ - ${1:--insert rules--} -]$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-select-list b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-select-list deleted file mode 100644 index 213629fa..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-select-list +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-select-list -# key: select-list -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{ "Fn::Select" : [ ${1:$$(yas-choose-value '("0" "1" "etc"))}, {"Ref": "${2:list_name}"} ] }$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sg-egress-cidr b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sg-egress-cidr deleted file mode 100644 index 4c9debfb..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sg-egress-cidr +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sg-egress-cidr -# key: security-group-egress-cidr -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{ "IpProtocol" : "${1:$$(yas-choose-value '("tcp" "udp" "ip"))}", "FromPort" : "${2:-}", "ToPort" : "${3:-}", "CidrIp" : "${4:-}" }$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sg-ingress-cidr b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sg-ingress-cidr deleted file mode 100644 index 871f5bf2..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sg-ingress-cidr +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sg-ingress-cidr -# key: security-group-ingress -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{ "IpProtocol" : "${1:$$(yas-choose-value '("tcp" "udp" "ip"))}", "FromPort" : "${2:-}", "ToPort" : "${3:-}", "CidrIp" : "${4:-}" }$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sns-topic b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sns-topic deleted file mode 100644 index 86b539bf..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sns-topic +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sns-topic -# key: sns-topic -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:snsTopic}": { - "Type": "AWS::SNS::Topic", - "Properties": { - "DisplayName": "$2", - "Subscription": [ $3 ], - "TopicName": "$4" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sns-topicpolicy b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sns-topicpolicy deleted file mode 100644 index bcdf7ade..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sns-topicpolicy +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sns-topicpolicy -# key: sns-topicpolicy -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:snsTopicPolicy}": { - "Type": "AWS::SNS::TopicPolicy", - "Properties": - { - "PolicyDocument": {$2}, - "Topics": [ {$3} ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sqs-queue b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sqs-queue deleted file mode 100644 index e45051d8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sqs-queue +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sqs-queue -# key: sqs-queue -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:sqsQueue}": { - "Type": "AWS::SQS::Queue", - "Properties": { - "DelaySeconds": "$2", - "MaximumMessageSize": "$3", - "MessageRetentionPeriod": "$4", - "QueueName": "$5", - "ReceiveMessageWaitTimeSeconds": "$6", - "RedrivePolicy": {$7}, - "VisibilityTimeout": "$8" - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sqs-queuepolicy b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sqs-queuepolicy deleted file mode 100644 index a0b894fd..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-sqs-queuepolicy +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sqs-queuepolicy -# key: sqs-queuepolicy -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:sqsQueuePolicy}": { - "Type": "AWS::SQS::QueuePolicy", - "Properties": { - "PolicyDocument": {$2}, - "Queues": [ $3 ] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-start b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-start deleted file mode 100644 index f147dc43..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-start +++ /dev/null @@ -1,28 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-start -# key: start -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{ - "AWSTemplateFormatVersion": "2010-09-09", - "Description": "${1}", - "Metadata": { - - }, - "Parameters": { - - }, - "Mappings": { - - }, - "Conditions": { - - }, - "Resources": { - - }, - "Outputs": { - - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-subnet b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-subnet deleted file mode 100644 index e753503a..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-subnet +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-subnet -# key: subnet -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:subnetName}": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "AvailabilityZone": ${2:"-"}, - "VpcId": ${3:"-"}, - "CidrBlock": ${4:"-"}, - "Tags": [${5:"-"}] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-tag b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-tag deleted file mode 100644 index 235c1216..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-tag +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-tag -# key: tag -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -{ "Key": "${1:-}", "Value": ${2:"--"} }$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-vpc b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-vpc deleted file mode 100644 index 0d45433b..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-vpc +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-vpc -# key: vpc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:name}": { - "Type": "AWS::EC2::VPC", - "Properties": { - "CidrBlock": ${2:"----/--"}, - "Tags": [${3:-}] - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-vpn-gateway b/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-vpn-gateway deleted file mode 100644 index 57aa4ce8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/json-mode/aws-vpn-gateway +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-vpn-gateway -# key: vpn-gateway -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -"${1:vgwName}": { - "Type": "AWS::EC2::VPNGateway", - "Properties": { - "Type": "ipsec.1", - "Tags": [${2:"--"}] - } -}, -"AttachVpnGateway": { - "Type": "AWS::EC2::VPCGatewayAttachment", - "Properties": { - "VpcId": ${3:"--"}, - "VpnGatewayId": { "Ref": "$1" } - } -}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/sh-mode/.yas-parents b/elpa/aws-snippets-20190118.2100/snippets/sh-mode/.yas-parents deleted file mode 100644 index bf9d9870..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/sh-mode/.yas-parents +++ /dev/null @@ -1,2 +0,0 @@ -shell-mode -eshell-mode diff --git a/elpa/aws-snippets-20190118.2100/snippets/shell-mode/.yas-parents b/elpa/aws-snippets-20190118.2100/snippets/shell-mode/.yas-parents deleted file mode 100644 index 2de397c8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/shell-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -eshell-mode diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-autoscaling-group b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-autoscaling-group deleted file mode 100644 index 54942277..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-autoscaling-group +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-group -# key: autoscaling-group -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:-}: - Type: AWS::AutoScaling::AutoScalingGroup - Properties: - AvailabilityZones: ${2:"--"} - LaunchConfigurationName: ${3:"--"}, - MaxSize: ${4:--} - MinSize: ${5:--} - Tags: - - Key: Name - Value: ${6:"--"} - PropagateAtLaunch: True -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-autoscaling-group-vpc b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-autoscaling-group-vpc deleted file mode 100644 index 67966f85..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-autoscaling-group-vpc +++ /dev/null @@ -1,21 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-group-vpc -# key: autoscaling-group-vpc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:-}: - Type: AWS::AutoScaling::AutoScalingGroup - Properties: - AvailabilityZones: ${2:azs} - LaunchConfigurationName: ${3:"-"} - MaxSize: ${4:-} - MinSize: ${5:-} - VPCZoneIdentifier: - - ${6:list of subnet ids} - Tags: - - Key: "${7:Name}" - Value: "${8:-}" - PropagateAtLaunch: "True" - -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-availability-zone b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-availability-zone deleted file mode 100644 index 626e6f98..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-availability-zone +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-availability-zone -# key: availability-zone -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -!Join: ["",[ Ref: AWS::Region,"${1:a}" ] ]$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-authentication b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-authentication deleted file mode 100644 index d3f07097..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-authentication +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-authentication -# key: cloudformation-authentication -# group: cloudformation -# -- -AWS::CloudFormation::Authentication: - ${1:AccessCreds}: - type: "$2" - buckets: "$3" - roleName: "$4" - accessKeyId: "$5" - secretKey: "$6" - uris: [ "$7" ] - username: "$8" - password: "$9" - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-customresource b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-customresource deleted file mode 100644 index 8f292144..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-customresource +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-customresource -# key: cloudformation-customresource -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:customResource}: - Type: AWS::CloudFormation::CustomResource - Version: "1.0", - Properties: - ServiceToken: "$2" - $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-init b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-init deleted file mode 100644 index 61ef959e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-init +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-init -# key: cloudformation-init -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -AWS::CloudFormation::Init: - config: - packages: - $0 - groups: - users: - sources: - files: - commands: - services: - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-stack b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-stack deleted file mode 100644 index e7b82315..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-stack +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-stack -# key: cloudformation-stack -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:cloudFormationStack}: - Type: AWS::CloudFormation::Stack - Properties: - NotificationARNs: - - $2 - Parameters: - - $3 - TemplateURL: $4 - TimeoutInMinutes: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-waitcondition b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-waitcondition deleted file mode 100644 index 2bcc07d1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-waitcondition +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-waitcondition -# key: cloudformation-waitcondition -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:waitCondition}: - Type: AWS::CloudFormation::WaitCondition - Properties: - Count: $2 - Handle: $3 - Timeout: $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-waitconditionhandle b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-waitconditionhandle deleted file mode 100644 index 80745921..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudformation-waitconditionhandle +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-waitconditionhandle -# key: cloudformation-waitconditionhandle -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:waitConditionHandle}: - Type: AWS::CloudFormation::WaitConditionHandle - Properties: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudfront-distribution b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudfront-distribution deleted file mode 100644 index 8e4b0695..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudfront-distribution +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudfront-distribution -# key: cloudfront-distribution -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:cloudfrontDistribution}: - Type: AWS::CloudFront::Distribution - Properties: - DistributionConfig: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudtrail b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudtrail deleted file mode 100644 index 7bcaabf5..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudtrail +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudtrail -# key: cloudtrail -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:cloudTrail}: - Type: AWS::CloudTrail::Trail - Properties: - S3BucketName: $2 - IncludeGlobalServiceEvents: ${3:$$(yas-choose-value '("true" "false")} - IsLogging: ${4:$$(yas-choose-value '("true" "false"))} - S3KeyPrefix: $5 - SnsTopicName: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudwatch-alarm b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudwatch-alarm deleted file mode 100644 index 263f8576..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-cloudwatch-alarm +++ /dev/null @@ -1,29 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudwatch-alarm -# key: cloudwatch-alarm -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:cloudWatchAlarm}: - Type: AWS::CloudWatch::Alarm - Properties: - MetricName: $2 - Namespace: $3 - ComparisonOperator: $4 - EvaluationPeriods: $5 - Period: $6 - Statistic: $7 - Threshold: $8 - ActionsEnabled: ${9:$$(yas-choose-value '("true" "false"))} - AlarmActions: - - $10 - AlarmDescription: $11 - AlarmName: $12 - Dimensions: - - $13 - InsufficientDataActions: - - $14 - OKActions: - - $15 - Unit: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-dynamodb-table b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-dynamodb-table deleted file mode 100644 index 3eb58ace..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-dynamodb-table +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-dynamodb-table -# key: dynamodb-table -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:dynamodbTable}: - Type: AWS::DynamoDB::Table - Properties: - AttributeDefinitions: - - $2 - GlobalSecondaryIndexes: - - $3 - KeySchema: - - $4 - LocalSecondaryIndexes: - - $5 - ProvisionedThroughput: $6 - TableName: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ec2-instance b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ec2-instance deleted file mode 100644 index 1ef21cad..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ec2-instance +++ /dev/null @@ -1,26 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-instance -# key: ec2-instance -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:-}: - Type: AWS::EC2::Instance - Properties: - KeyName: ${2:-}, - DisableApiTermination: ${3:$$(yas-choose-value '("true" "false"))} - ImageId: { ${4:-} } - InstanceType: ${5:-} - Monitoring: ${6:$$(yas-choose-value '("true" "false"))} - SecurityGroupIds: - - ${7:-} - Tags: - - Key: ${8:-} - Value: ${9:-} - UserData: - Fn::Base64: - !Join: - - "" - - "#!/bin/bash -ex" - - "${10:-}" -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ec2-volume b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ec2-volume deleted file mode 100644 index ef23e968..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ec2-volume +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-volume -# key: ec2-volume -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:ec2Volume}: - Type: AWS::EC2::Volume - Properties: - AutoEnableIO: ${2:$$(yas-choose-value '("true" "false"))} - AvailabilityZone: ${3:-} - Encrypted: ${4:$$(yas-choose-value '("true" "false"))} - KmsKeyId: "${5:-}", - Size: "${6:-}", - SnapshotId: ${7:snap-} - Tags: - - Key: ${8:-} - Value: ${9:-} - VolumeType: ${10:$$(yas-choose-value '("standard" "io1" "gp2"))} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-eip-vpc b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-eip-vpc deleted file mode 100644 index 0a2c4b5c..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-eip-vpc +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-eip-vpc -# key: eip-vpc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:eipName}: - Type: AWS::EC2::EIP - Properties: - Domain: "vpc", - InstanceId: ${2:"--"} - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer deleted file mode 100644 index c0a6c879..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elastic-load-balancer -# key: elastic-load-balancer -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:-}: - Type: AWS::ElasticLoadBalancing::LoadBalancer - Properties: - AvailabilityZones: - - ${2:-} - Listeners: - - ${3:-} - Tags": - tag$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer-vpc b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer-vpc deleted file mode 100644 index dd1ceb92..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer-vpc +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elastic-load-balancer-vpc -# key: elastic-load-balancer-vpc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:-}: - Type: AWS::ElasticLoadBalancing::LoadBalancer - Properties: - Listeners: - - ${2:-} - SecurityGroups: - ${3:-} - Subnets: - - ${4:-} - Tags: - tag$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer-vpc-internal b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer-vpc-internal deleted file mode 100644 index 13db8dfa..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elastic-load-balancer-vpc-internal +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elastic-load-balancer-vpc-internal -# key: elastic-load-balancer-vpc-internal -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:-}: - Type: AWS::ElasticLoadBalancing::LoadBalancer - Properties: - Listeners: - - ${2:-} - Scheme: "internal" - SecurityGroups: - - ${3:-} - Subnets: - - ${4:-} - Tags: - tag$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-cachecluster b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-cachecluster deleted file mode 100644 index f5ccc2b9..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-cachecluster +++ /dev/null @@ -1,33 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-cachecluster -# key: elasticche-cachecluster -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:elasticacheCacheCluster}: - Type: AWS::ElastiCache::CacheCluster - Properties: - AutoMinorVersionUpgrade: ${2:$$(yas-choose-value '("true" "false"))} - AZMode: $3 - CacheNodeType: $4 - CacheParameterGroupName: $5 - CacheSecurityGroupNames: - - $6 - CacheSubnetGroupName: $7 - ClusterName: $8 - Engine: $9 - EngineVersion: $10 - NotificationTopicArn: $11 - NumCacheNodes: $12 - Port: $13 - PreferredAvailabilityZone: $14 - PreferredAvailabilityZones: - - $15 - PreferredMaintenanceWindow: $16 - SnapshotArns: - - $17 - SnapshotRetentionLimit: $18 - SnapshotWindow: $19 - VpcSecurityGroupIds: - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-parametergroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-parametergroup deleted file mode 100644 index 8fcb2733..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-parametergroup +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-parametergroup -# key: elasticache-parametergroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:elasticacheParameterGroup}: - Type: AWS::ElastiCache::ParameterGroup - Properties: - CacheParameterGroupFamily: $2 - Description: $3 - Properties: - $4: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-securitygroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-securitygroup deleted file mode 100644 index e8455c10..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-securitygroup +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-securitygroup -# key: elasticache-securitygroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:elasticacheSecurityGroup}: - Type: AWS::ElastiCache::SecurityGroup - Properties: - Description: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-securitygroupingress b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-securitygroupingress deleted file mode 100644 index 9dd04e00..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-securitygroupingress +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-securitygroupingress -# key: elasticache-securitygroupingress -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:elasticacheSecurityGroupIngress}: - Type: AWS::ElastiCache::SecurityGroupIngress - Properties: - CacheSecurityGroupName: $2 - EC2SecurityGroupName: $3 - EC2SecurityGroupOwnerId: $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-subnetgroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-subnetgroup deleted file mode 100644 index f624a9cd..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticache-subnetgroup +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticache-subnetgroup -# key: elasticache-subnetgroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:elasticacheSubnetGroup}: - Type: AWS::ElastiCache::SubnetGroup - Properties: - Description: $2 - SubnetIds: - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-application b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-application deleted file mode 100644 index 8b4ace4e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-application +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticbeanstalk-application -# key: elasticbeanstalk-application -# group: cloudformation -# -- -${1:elasticbeanstalkApplication}: - Type: AWS::ElasticBeanstalk::Application - Properties: - ApplicationName: $2 - Description: $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-applicationversion b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-applicationversion deleted file mode 100644 index 3fd7cccc..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-applicationversion +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticbeanstalk-applicationversion -# key: elasticbeanstalk-applicationversion -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:elasticbeanstalkApplicationVersion}: - Type: AWS::ElasticBeanstalk::ApplicationVersion - Properties: - ApplicationName: $2 - Description: $3 - SourceBundle: - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-configurationtemplate b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-configurationtemplate deleted file mode 100644 index eb2cf3f1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-configurationtemplate +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticbeanstalk-configurationtemplate -# key: elasticbeanstalk-configurationtemplate -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:elasticbeanstalkConfigurationTemplate}: - Type: AWS::ElasticBeanstalk::ConfigurationTemplate - Properties: - ApplicationName: $2 - Description: $3 - EnvironmentId: $4 - OptionSettings: - - $5 - SolutionStackName: $6 - SourceConfiguration: $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-environment b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-environment deleted file mode 100644 index f9e6e332..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elasticbeanstalk-environment +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elasticbeanstalk-environment -# key: elasticbeanstalk-environment -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:elasticbeanstalkEnvironment}: - Type: AWS::ElasticBeanstalk::Environment - Properties: - ApplicationName: $2 - CNAMEPrefix: $3 - Description: $4 - EnvironmentName: $5 - OptionSettings: - - $6 - SolutionStackName: $7 - TemplateName: $8 - Tier: $9 - VersionLabel: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elb-listener b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elb-listener deleted file mode 100644 index c9287ca4..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-elb-listener +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-listener -# key: elb-listener -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -InstancePort: ${1:-} -InstanceProtocol: ${2:$$(yas-choose-value '("HTTP" "HTTPS" "TCP" "SSL"))} -LoadBalancerPort: ${3:$1} -Protocol: ${4:$$(yas-choose-value '("HTTP" "HTTPS" "TCP" "SSL"))} diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-find-in-map b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-find-in-map deleted file mode 100644 index 2f6467e8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-find-in-map +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-find-in-map -# key: find-in-map -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -!FindInMap - - ${1:map} - - ${2:selector} - - ${3:value} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-get-attr b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-get-attr deleted file mode 100644 index bc2da49d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-get-attr +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-get-attr -# key: get-attr -# group: cloudformation -# -- -!GetAtt [ ${1:logicalNameOfResource}, ${2:attributeName} ]$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-accesskey b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-accesskey deleted file mode 100644 index eda87b79..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-accesskey +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-accesskey -# key: iam-accesskey -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:iamAccessKey}: - Type: AWS::IAM::AccessKey - Properties: - Status: $2 - UserName: $3 - Serial: $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-group b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-group deleted file mode 100644 index b48c3251..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-group +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-group -# key: iam-group -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:iamGroup}: - Type: AWS::IAM::Group - Properties: - Path: $2 - Policies: - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-instanceprofile b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-instanceprofile deleted file mode 100644 index 01a5a073..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-instanceprofile +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-instanceprofile -# key: iam-instanceprofile -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:iamInstanceProfile}: - Type: AWS::IAM::InstanceProfile - Properties: - Path: ${2:/} - Roles: - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-policy b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-policy deleted file mode 100644 index 4375d3c1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-policy +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-policy -# key: iam-policy -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:iamPolicy}: - Type: AWS::IAM::Policy - Properties: - Groups: - - $2 - PolicyDocument: {$3} - PolicyName: $4 - Roles: - - $5 - Users: - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-role b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-role deleted file mode 100644 index 4726ee11..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-role +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-role -# key: iam-role -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:iamRole}: - Type: AWS::IAM::Role - Properties: - AssumeRolePolicyDocument": $2 - Path: $3 - Policies: - - $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-user b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-user deleted file mode 100644 index ab627ae3..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-user +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-user -# key: iam-user -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:iamUser}: - Type: AWS::IAM::User - Properties: - Path: ${2:/} - Groups: - - $3 - LoginProfile: - Password: "$4" - Policies: - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-usertogroupaddition b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-usertogroupaddition deleted file mode 100644 index 3cf369c7..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-iam-usertogroupaddition +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-iam-usertogroupaddition -# key: iam-usertogroupaddition -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:iamUserToGroupAddition}: - Type: AWS::IAM::UserToGroupAddition - Properties: - GroupName: $2 - Users: - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-internet-gateway b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-internet-gateway deleted file mode 100644 index 88447ae4..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-internet-gateway +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-internet-gateway -# key: internet-gateway -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:igwName}: - Type: AWS::EC2::InternetGateway - Properties: - Tags: - tag$0 -AttachGateway: - Type: AWS::EC2::VPCGatewayAttachment - Properties: - VpcId: ${3:"--"} - InternetGatewayId: { "Ref": "$1" } - - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-join b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-join deleted file mode 100644 index 71b8881a..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-join +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-join -# key: join -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -!Join [ "$1",[ ${2:"prefix"}, ${3:"suffix"} ] ]$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-kinesis-stream b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-kinesis-stream deleted file mode 100644 index 02204e17..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-kinesis-stream +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-kinesis-stream -# key: kinesis-stream -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:kinesisStream}: - Type: AWS::Kinesis::Stream - Properties: - ShardCount: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-launch-config b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-launch-config deleted file mode 100644 index ba945d9f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-launch-config +++ /dev/null @@ -1,22 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-launch-config -# key: launch-config -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:launchConfigName}: - Type: AWS::AutoScaling::LaunchConfiguration - Properties: - IamInstanceProfile: ${2:"--"} - ImageId: ${3:"--"} - InstanceMonitoring: ${4:"--"} - InstanceType: ${5:--} - KeyName: ${6:"--"} - SecurityGroups: - - $0 - UserData: - Fn::Base64: - !Join: - - "" - - "#!/bin/bash -ex" - - "${7:-}" diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-logs-loggroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-logs-loggroup deleted file mode 100644 index c7b6d63d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-logs-loggroup +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-logs-loggroup -# key: logs-loggroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:logLogGroup}: - Type: AWS::Logs::LogGroup - Properties: - RetentionInDays: "${2:7}" diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-logs-metricfilter b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-logs-metricfilter deleted file mode 100644 index 9bc0f8ab..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-logs-metricfilter +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-logs-metricfilter -# key: logs-metricfilter -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:logsMetricFilter}: - Type: AWS::Logs::MetricFilter - Properties: - FilterPattern: "[ $2 ]" - LogGroupName: $3, - MetricTransformations: - - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-map b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-map deleted file mode 100644 index 5c504d34..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-map +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-map -# key: map -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:mapName}: - ${2:selector}: - ${3:key}: ${4:val} - ${5:selector}: - ${6:key}: ${7:val} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-map-item b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-map-item deleted file mode 100644 index 56f14e39..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-map-item +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-map-item -# key: map-item -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:selector}: - ${2:key}: ${3:val} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-app b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-app deleted file mode 100644 index 6dbf33bf..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-app +++ /dev/null @@ -1,24 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-app -# key: opsworks-app -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:opsworksApp}: - Type: AWS::OpsWorks::App - Properties: - Name: $2 - StackId: $3 - Type: $4 - AppSource: - $5 - Attributes: - $6:$7 - Description: $8 - Domains: - - $9 - EnableSsl: ${10:$$(yas-choose-value '("true" "false"))} - Shortname: $11 - SslConfiguration: - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-elasticloadbalancerattachment b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-elasticloadbalancerattachment deleted file mode 100644 index 0a041980..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-elasticloadbalancerattachment +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-elasticloadbalancerattachment -# key: opsworks-elasticloadbalancerattachment -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:opsworksElasticLoadBalancerAttachment}: - Type: AWS::OpsWorks::ElasticLoadBalancerAttachment - Properties: - ElasticLoadBalancerName: $2 - LayerId: $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-instance b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-instance deleted file mode 100644 index 7f2ed543..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-instance +++ /dev/null @@ -1,25 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-instance -# key: opsworks-instance -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:opsworksInstance}: - Type: AWS::OpsWorks::Instance - Properties: - InstanceType: $2 - LayerIds: - - $3 - StackId: $4 - AmiId: $5 - Architecture: $6 - AutoScalingType: $7 - AvailabilityZone: $8 - InstallUpdatesOnBoot: ${9:$$(yas-choose-value '("true" "false"))} - Os: $10 - RootDeviceType: $11 - SshKeyName: $12 - SubnetId: $13 - TimeBasedAutoScaling: - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-layer b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-layer deleted file mode 100644 index 9d9eadd0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-layer +++ /dev/null @@ -1,29 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-layer -# key: opsworks-layer -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:opsworksLayer}: - Type: AWS::OpsWorks::Layer - Properties: - AutoAssignElasticIps: ${2:$$(yas-choose-value '("true" "false"))} - AutoAssignPublicIps: ${3:$$(yas-choose-value '("true" "false"))} - EnableAutoHealing: ${4:$$(yas-choose-value '("true" "false"))} - Name: $5 - Shortname: $6 - StackId: $7 - Type: $8 - Attributes: - $9:$10 - CustomInstanceProfileArn: $11 - CustomRecipes: $12 - CustomSecurityGroupIds: - - $13 - InstallUpdatesOnBoot: ${14:$$(yas-choose-value '("true" "false"))} - LoadBasedAutoScaling: - $15 - Packages: - - $16 - VolumeConfigurations: - - $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-stack b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-stack deleted file mode 100644 index 24cea72e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-opsworks-stack +++ /dev/null @@ -1,32 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-opsworks-stack -# key: opsworks-stack -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:opsworksStack}: - Type: AWS::OpsWorks::Stack - Properties: - DefaultInstanceProfileArn: $2 - Name: $3 - ServiceRoleArn: $4 - Attributes: - $5:$6 - ChefConfiguration: - $7 - ConfigurationManager: - $8 - CustomCookbooksSource: - $9 - CustomJson: - $10 - DefaultAvailabilityZone: $11 - DefaultOs: $12 - DefaultRootDeviceType: $13 - DefaultSshKeyName: $14 - DefaultSubnetId: $15 - HostnameTheme: $16 - UseCustomCookbooks: ${17:$$(yas-choose-value '("true" "false"))} - UseOpsworksSecurityGroup": ${18:$$(yas-choose-value '("true" "false"))} - VpcId: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-output b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-output deleted file mode 100644 index 0a0938f9..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-output +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-output -# key: output -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:name}: - Value: ${2:Value to return} - Description: ${3:Information about the value} - Export: - Name: ${4:Value to export} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-parameter b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-parameter deleted file mode 100644 index 1ddeb14b..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-parameter +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-parameter -# key: parameter -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:paramName}: - Description: ${2:-} - Type: ${3:$$(yas-choose-value '("String" "Number" "CommaDelimitedList"))} - Default: ${4:-} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbinstance b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbinstance deleted file mode 100644 index 50299c9d..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbinstance +++ /dev/null @@ -1,43 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbinstance -# key: rds-dbinstance -# group: cloudformation -# -- -${1:rdsDBInstance}: - Type: AWS::RDS::DBInstance - Properties: - AllocatedStorage: ${2} - DBInstanceClass: ${3} - AllowMajorVersionUpgrade: ${4:$$(yas-choose-value '("true" "false"))} - AutoMinorVersionUpgrade: ${5:$$(yas-choose-value '("true" "false"))} - AvailabilityZone: $6 - BackupRetentionPeriod: $7 - CharacterSetName: $8 - DBInstanceIdentifier: $9 - DBName: $10 - DBParameterGroupName: $11 - DBSecurityGroups: - - $12 - DBSnapshotIdentifier: $13 - DBSubnetGroupName: $14 - Engine: $15 - EngineVersion: $16 - Iops: $17 - KmsKeyId: $18 - LicenseModel: $19 - MasterUsername: $20 - MasterUserPassword: $21 - MultiAZ: ${22:$$(yas-choose-value '("true" "false"))} - OptionGroupName: $23 - Port: $24 - PreferredBackupWindow: $25 - PreferredMaintenanceWindow: $26 - PubliclyAccessible: ${27:$$(yas-choose-value '("true" "false"))} - SourceDBInstanceIdentifier: $28 - StorageEncrypted: ${29:$$(yas-choose-value '("true" "false"))} - StorageType: $30 - Tags: - tag$0 - VPCSecurityGroups: - $32 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbparametergroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbparametergroup deleted file mode 100644 index 7efaf5f7..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbparametergroup +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbparametergroup -# key: rds-dbparametergroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:rdsDBParameterGroup}: - Type: AWS::RDS::DBParameterGroup - Properties: - Description: $2 - Family: $3 - Parameters: - - $4 - Tags: - tag$0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsecuritygroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsecuritygroup deleted file mode 100644 index 11af455e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsecuritygroup +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbsecuritygroup -# key: rds-dbsecuritygroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:rdsDBSecurityGroup}: - Type: AWS::RDS::DBSecurityGroup - Properties: - EC2VpcId: $2 - DBSecurityGroupIngress: - $3 - GroupDescription: $4 - Tags: - tag$0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsecuritygroupingress b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsecuritygroupingress deleted file mode 100644 index 78aea857..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsecuritygroupingress +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbsecuritygroupingress -# key: rds-dbsecuritygroupingress -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -CIDRIP: $1 -DBSecurityGroupName: $2 -EC2SecurityGroupId: $3 -EC2SecurityGroupName: $4 -EC2SecurityGroupOwnerId: $5 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsubnetgroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsubnetgroup deleted file mode 100644 index d05e7d97..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-dbsubnetgroup +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-dbsubnetgroup -# key: rds-dbsubnetgroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:rdsDBSubnetGroup}: - Type: AWS::RDS::DBSubnetGroup - Properties: - DBSubnetGroupDescription: $2 - SubnetIds: - $3 - Tags: - tag$0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-eventsubscription b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-eventsubscription deleted file mode 100644 index c1b38d04..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-rds-eventsubscription +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-eventsubscription -# key: rds-eventsubscription -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:rdsEventSubscription}: - Type: AWS::RDS::EventSubscription - Properties: - Enabled: ${2:$$(yas-choose-value '("true" "false"))} - EventCategories: - - $3 - SnsTopicArn: $4 - SourceIds: - - $5 - SourceType: $6 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-cluster b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-cluster deleted file mode 100644 index 8eeeb7dc..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-cluster +++ /dev/null @@ -1,36 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-cluster -# key: redshift-cluster -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:redshiftCluster}: - Type: AWS::Redshift::Cluster - Properties: - AllowVersionUpgrade: ${2:$$(yas-choose-value '("true" "false"))} - AutomatedSnapshotRetentionPeriod: $3 - AvailabilityZone: $4 - ClusterParameterGroupName: $5 - ClusterSecurityGroups: - $6 - ClusterSubnetGroupName: $7 - ClusterType: $8 - ClusterVersion: $9 - DBName: $10 - ElasticIp: $11 - Encrypted: ${12:$$(yas-choose-value '("true" "false"))} - HsmClientCertificateIdentifier: $13 - HsmConfigurationIdentifier: $14 - MasterUsername: $15 - MasterUserPassword: $16 - NodeType: $17 - NumberOfNodes: $18 - OwnerAccount: $19 - Port: $20 - PreferredMaintenanceWindow: $21 - PubliclyAccessible: ${22:$$(yas-choose-value '("true" "false"))} - SnapshotClusterIdentifier: $23 - SnapshotIdentifier: $24 - VpcSecurityGroupIds: - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clusterparametergroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clusterparametergroup deleted file mode 100644 index c2e18931..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clusterparametergroup +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-clusterparametergroup -# key: redshift-clusterparametergroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:redshiftClusterParameterGroup}: - Type: AWS::Redshift::ClusterParameterGroup - Properties: - Description: $2 - ParameterGroupFamily: $3 - Parameters: - $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersecuritygroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersecuritygroup deleted file mode 100644 index 62080dc2..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersecuritygroup +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-clustersecuritygroup -# key: redshift-clustersecuritygroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:redshiftClusterSecurityGroup}: - Type: AWS::Redshift::ClusterSecurityGroup - Properties: - Description": $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersecuritygroupingress b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersecuritygroupingress deleted file mode 100644 index cccbb1fb..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersecuritygroupingress +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-clustersecuritygroupingress -# key: redshift-clustersecuritygroupingress -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:redshiftClusterSecurityGroupIngress}: - Type: AWS::Redshift::ClusterSecurityGroupIngress - Properties: - ClusterSecurityGroupName: $2 - CIDRIP: $3 - EC2SecurityGroupName: $4 - EC2SecurityGroupOwnerId: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersubnetgroup b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersubnetgroup deleted file mode 100644 index ed8bbef2..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-redshift-clustersubnetgroup +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-redshift-clustersubnetgroup -# key: redshift-clustersubnetgroup -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:redshiftClusterSubnetGroup}: - Type: "AWS::Redshift::ClusterSubnetGroup", - Properties: - Description: $2 - SubnetIds: - $3 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ref b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ref deleted file mode 100644 index f3be6df8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-ref +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ref -# key: ref -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -!Ref: ${1:logicalName}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-resource b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-resource deleted file mode 100644 index de5d17a0..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-resource +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-resource -# key: resource -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:resourceName}: - Description: ${2:-} - Type: ${3:-} - Properties: ${4:-} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route deleted file mode 100644 index 5e064066..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route -# key: route -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:routeName}: - Type: AWS::EC2::Route - Properties: - RouteTableId: ${2:"--"} - DesinationCidrBlock: ${3:"--"} - GatewayId: ${4:"--"} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route-table b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route-table deleted file mode 100644 index 0c55e5ce..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route-table +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route-table -# key: route-table -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:routeTableName}: - Type: AWS::EC2::RouteTable - Properties: - VpcId: ${2:"--"} - Tags: - - ${3:"--"} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route-table-assoc b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route-table-assoc deleted file mode 100644 index ecc8e2bd..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route-table-assoc +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route-table-assoc -# key: route-table-assoc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:routeTableAssocName"}: - Type: AWS::EC2::SubnetRouteTableAssociation - Properties: - SubnetId: ${2:"--"}, - RouteTableId: ${3:"--"} -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-healthcheck b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-healthcheck deleted file mode 100644 index af59362b..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-healthcheck +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-healthcheck -# key: route53-healthcheck -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:route53HealthCheck}: - Type: AWS::Route53::HealthCheck - Properties: - HealthCheckConfig: $2 - HealthCheckTags: $3 -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-hostedzone b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-hostedzone deleted file mode 100644 index 0b7d8267..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-hostedzone +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-hostedzone -# key: route53-hostedzone -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -$1: - Type: AWS::Route53::HostedZone - Properties: - Name: $2 - VPCs: $3 - HostedZoneConfig: $4 - HostedZoneTags: - - $5 -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-recordset b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-recordset deleted file mode 100644 index bd63abaf..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-recordset +++ /dev/null @@ -1,25 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-recordset -# key: route53-recordset -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:route53RS}: - Type: AWS::Route53::RecordSet - Properties: - Name: $2 - Type: ${3:$$(yas-choose-value '("A" "AAAA" "CNAME" "MX" "NS" "PTR" "SOA" "SPF" "SRV" "TXT"))} - AliasTarget: $4 - Comment: $5 - Failover: $6 - GeoLocation: $7 - HealthCheckId: $8 - HostedZoneId: $9 - HostedZoneName: $10 - Region: $11 - ResourceRecords: - - $12 - SetIdentifier: $13 - TTL: $14 - Weight: $15 -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-recordset-group b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-recordset-group deleted file mode 100644 index 455dfaf3..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-route53-recordset-group +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-recordset-group -# key: route53-recordset-group -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:route53RSGroup}: - Type: AWS::Route53::RecordSetGroup - Properties: - HostedZoneId: $2 - HostedZoneName: $3 - RecordSets: - - {$4} - Comment: $5 -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-s3-bucket b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-s3-bucket deleted file mode 100644 index d86b36a7..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-s3-bucket +++ /dev/null @@ -1,19 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-s3-bucket -# key: s3-bucket -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:s3Bucket}: - Type: AWS::S3::Bucket - Properties: - AccessControl: ${2:$$(yas-choose-value '("true" "false" "Private" "PublicRead" "PublicReadWrite" "AuthenticatedRead" "LogDeliveryWrite" "BucketOwnerRead" "BucketOwnerFullControl"))} - BucketName: $3 - CorsConfiguration: $4 - LifecycleConfiguration: $5 - NotificationConfiguration: $6 - VersioningConfiguration: $7 - WebsiteConfiguration: $8 - Tags: - tag$0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-s3-bucketpolicy b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-s3-bucketpolicy deleted file mode 100644 index 5eb71e66..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-s3-bucketpolicy +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-s3-bucketpolicy -# key: s3-bucketpolicy -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:s3BucketPolicy}: - Type: AWS::S3::BucketPolicy - Properties: - Bucket : $2 - PolicyDocument: - - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-security-group b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-security-group deleted file mode 100644 index c97a1492..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-security-group +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-security-group -# key: security-group -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:secGroupName}: - Type: AWS::EC2::SecurityGroup - Properties: - GroupDescription: ${2:-} - SecurityGroupIngress: - - ${3:--insert rules--} - VpcId: ${4:ref-to-vpc} - Tags: - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-select-list b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-select-list deleted file mode 100644 index d40001b1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-select-list +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-select-list -# key: select-list -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -!Select: [ ${1:$$(yas-choose-value '("0" "1" "etc"))}, {"Ref": "${2:list_name}"} ] }$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sg-egress-cidr b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sg-egress-cidr deleted file mode 100644 index c6679853..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sg-egress-cidr +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sg-egress-cidr -# key: security-group-egress-cidr -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -IpProtocol: ${1:$$(yas-choose-value '("tcp" "udp" "ip"))} -FromPort: ${2:-} -ToPort: ${3:-} -CidrIp: ${4:-} diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sg-ingress-cidr b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sg-ingress-cidr deleted file mode 100644 index 34b5dad1..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sg-ingress-cidr +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sg-ingress-cidr -# key: security-group-ingress -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -IpProtocol: ${1:$$(yas-choose-value '("tcp" "udp" "ip"))} -FromPort: ${2:-} -ToPort: ${3:-} -CidrIp: ${4:-} diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sns-topic b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sns-topic deleted file mode 100644 index 8b4822cd..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sns-topic +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sns-topic -# key: sns-topic -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:snsTopic}: - Type: AWS::SNS::Topic - Properties: - DisplayName: $2 - Subscription: - $3 - TopicName: $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sns-topicpolicy b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sns-topicpolicy deleted file mode 100644 index e2d86e73..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sns-topicpolicy +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sns-topicpolicy -# key: sns-topicpolicy -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:snsTopicPolicy}: - Type: AWS::SNS::TopicPolicy - Properties: - PolicyDocument: $2 - Topics: $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sqs-queue b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sqs-queue deleted file mode 100644 index 0535df7f..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sqs-queue +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sqs-queue -# key: sqs-queue -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:sqsQueue}: - Type: AWS::SQS::Queue - Properties: - DelaySeconds: $2 - MaximumMessageSize: $3 - MessageRetentionPeriod: $4 - QueueName: $5 - ReceiveMessageWaitTimeSeconds: $6 - RedrivePolicy: - - $7 - VisibilityTimeout: $0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sqs-queuepolicy b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sqs-queuepolicy deleted file mode 100644 index 6d620cd7..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-sqs-queuepolicy +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sqs-queuepolicy -# key: sqs-queuepolicy -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:sqsQueuePolicy}: - Type: AWS::SQS::QueuePolicy - Properties: - PolicyDocument: - - $2 - Queues: - $0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-start b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-start deleted file mode 100644 index 2e71151e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-start +++ /dev/null @@ -1,21 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-start -# key: start -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -AWSTemplateFormatVersion: "2010-09-09" -Description: ${1} - -Metadata: - -Parameters: - -Mappings: - -Conditions: - -Resources: - -Outputs: -$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-subnet b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-subnet deleted file mode 100644 index 19fd36e8..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-subnet +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-subnet -# key: subnet -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:subnetName}: - Type: AWS::EC2::Subnet - Properties: - AvailabilityZone: ${2:"-"} - VpcId: ${3:"-"} - CidrBlock: ${4:"-"} - Tags: - tag$0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-tag b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-tag deleted file mode 100644 index 2cf0ad43..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-tag +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-tag -# key: tag -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -- - Key: ${1:-} - Value: ${2:"--"}$0 diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-vpc b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-vpc deleted file mode 100644 index cf0e0a5e..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-vpc +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-vpc -# key: vpc -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:name}: - Type: AWS::EC2::VPC - Properties: - CidrBlock: ${2:"----/--"} - Tags: - tag$0 - diff --git a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-vpn-gateway b/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-vpn-gateway deleted file mode 100644 index 51a55b31..00000000 --- a/elpa/aws-snippets-20190118.2100/snippets/yaml-mode/aws-vpn-gateway +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-vpn-gateway -# key: vpn-gateway -# group: cloudformation -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# -- -${1:vgwName}: - Type: AWS::EC2::VPNGateway - Properties: - Type: ipsec.1 - Tags: -${2:AttachVpnGateway}: - Type: AWS::EC2::VPCGatewayAttachment - Properties: - VpcId: ${3:"--"} - VpnGatewayId: - Ref: $1 -$0 diff --git a/elpa/aws-snippets-20190207.1047/aws-snippets-autoloads.el b/elpa/aws-snippets-20190207.1047/aws-snippets-autoloads.el new file mode 100644 index 00000000..fc25375d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/aws-snippets-autoloads.el @@ -0,0 +1,33 @@ +;;; aws-snippets-autoloads.el --- automatically extracted autoloads +;; +;;; Code: + +(add-to-list 'load-path (directory-file-name + (or (file-name-directory #$) (car load-path)))) + + +;;;### (autoloads nil "aws-snippets" "aws-snippets.el" (0 0 0 0)) +;;; Generated autoloads from aws-snippets.el + +(autoload 'aws-snippets-initialize "aws-snippets" "\ +Initialize package. + +\(fn)" nil nil) + +(eval-after-load 'yasnippet '(aws-snippets-initialize)) + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "aws-snippets" '("aws-snippets-"))) + +;;;*** + +;;;### (autoloads nil nil ("aws-snippets-pkg.el") (0 0 0 0)) + +;;;*** + +;; Local Variables: +;; version-control: never +;; no-byte-compile: t +;; no-update-autoloads: t +;; coding: utf-8 +;; End: +;;; aws-snippets-autoloads.el ends here diff --git a/elpa/aws-snippets-20190207.1047/aws-snippets-pkg.el b/elpa/aws-snippets-20190207.1047/aws-snippets-pkg.el new file mode 100644 index 00000000..c41f996d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/aws-snippets-pkg.el @@ -0,0 +1,7 @@ +(define-package "aws-snippets" "20190207.1047" "Yasnippets for AWS" + '((yasnippet "0.8.0")) + :keywords + '("snippets")) +;; Local Variables: +;; no-byte-compile: t +;; End: diff --git a/elpa/aws-snippets-20190207.1047/aws-snippets.el b/elpa/aws-snippets-20190207.1047/aws-snippets.el new file mode 100644 index 00000000..96b8ed72 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/aws-snippets.el @@ -0,0 +1,206 @@ +;;; aws-snippets.el --- Yasnippets for AWS + +;; Copyright (C) 2018, 2019 Andreas Gerler +;; keywords: snippets +;; Version: 0.1.0 +;; Package-Requires: ((yasnippet "0.8.0")) + +;; Permission is hereby granted, free of charge, to any person obtaining +;; a copy of this software and associated documentation files (the +;; "Software"), to deal in the Software without restriction, including +;; without limitation the rights to use, copy, modify, merge, publish, +;; distribute, sublicense, and/or sell copies of the Software, and to +;; permit persons to whom the Software is furnished to do so, subject to +;; the following conditions: + +;; The above copyright notice and this permission notice shall be +;; included in all copies or substantial portions of the Software. + +;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +;; LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +;; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +;; WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +;;; Commentary: + +;; A collection of yasnippet snippets to be used with AWS CLI as well as JSON for CloudFormation + +;;; Code: + +(defvar aws-snippets-dir (file-name-directory (or load-file-name + (buffer-file-name)))) + +(defcustom aws-snippets-regions '("us-east-1" "eu-west-1" "ap-southeast-1") + "List of AWS regions for selections." + :tag "regions" + :type '(choice (string :tag "Region") + (repeat :tag "List of Regions" + (string :tag "Region"))) + :set #'(lambda (symbol new) + (let ((old (and (boundp symbol) + (symbol-value symbol)))) + (set-default symbol new) + )) + :group 'aws-snippets) + +(defcustom aws-snippets-profiles '("test" "prod") + "List of AWS profiles for selections." + :tag "profiles" + :type '(choice (string :tag "Profile") + (repeat :tag "List of Profiles" + (string :tag "Profiles"))) + :set #'(lambda (symbol new) + (let ((old (and (boundp symbol) + (symbol-value symbol)))) + (set-default symbol new) + )) + :group 'aws-snippets) + +(defcustom aws-snippets-filters '("tag:Name" "tag:Project" "tag:Type" "tag:Cluster" "instance.group-id" "ip-address" "private-ip-address" "network-interface.subnet-id" "description" "name" "iam-instance-profile.arn") + "List of AWS filters for selections." + :tag "default-filters" + :type '(choice (string :tag "Filter") + (repeat :tag "List of Filters" + (string :tag "Filter"))) + :set #'(lambda (symbol new) + (let ((old (and (boundp symbol) + (symbol-value symbol)))) + (set-default symbol new) + )) + :group 'aws-snippets) + +(defcustom aws-snippets-ami-ls-query '"reverse(sort_by(Images, &CreationDate)[].{CreationDate:CreationDate,Name:Name,ImageId:ImageId,Public:Public,Description:Description})" + "Query string used for ami-ls." + :tag "ami-ls-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-autoscaling-describe-auto-scaling-groups-query '"AutoScalingGroups[].{Name: AutoScalingGroupName, Desired: DesiredCapacity,Min: MinSize, Max: MaxSize}" + "Query string used for autoscaling-describe-auto-scaling-groups." + :tag "autoscaling-describe-auto-scaling-groups" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-autoscaling-describe-launch-configurations-query '"reverse(sort_by(LaunchConfigurations &CreatedTime)[*].[LaunchConfigurationName, CreatedTime])" + "Query string used for autoscaling-describe-launch-configurations." + :tag "autoscaling-describe-launch-configurations-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-dns-names-query '"Reservations[].Instances[?State.Name=='running'].[InstanceId, PublicDnsName]" + "Query string used for aws-ec2-get-dns-names." + :tag "ec2-get-dns-names-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-instance-volumes-query '"Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(' ', BlockDeviceMappings[].Ebs.VolumeId)]" + "Query string used for ec2-get-instance-volumes." + :tag "ec2-get-instance-volumes-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-securitygroups-query '"sort_by(SecurityGroups, &GroupName)[*].[GroupName, GroupId, Description]" + "Query string used for ec2-get-securitygroups." + :tag "ec2-get-securitygroups-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-snapshots-query '"Snapshots[].[join(\`,\`,Tags[?Key==\`Name\`].Value),StartTime,Description,SnapshotId,VolumeId,VolumeSize,Progress]" + "Query string used for ec2-get-snapshots-query." + :tag "ec2-get-snapshots-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-volumes-query '"Volumes[].[VolumeId,State,SnapshotId,join(\`,\`,Tags[?Key==\`Name\`].Value)]" + "Query string used for ec2-get-volumes-query." + :tag "ec2-get-volumes-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-volumes-unused-query '"Volumes[].[VolumeId,Size,VolumeType,CreateTime,State,SnapshotId]" + "Query string used for ec2-get-volumes-unused-query." + :tag "ec2-get-volumes-unused-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-instance-running-query '"Reservations[].Instances[].[InstanceId, State.Name]" + "Query string used for ec2-instance-running." + :tag "ec2-instance-running-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-list-instances-query '("Reservations[].Instances[].[Tags[?Key==`Name`].Value[] | [0],Tags[?Key==`Schedule`].Value[] | [0],InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime]" + "Reservations[].Instances[].[Tags[?Key==`Name`].Value[] | [0],Tags[?Key==`Schedule`].Value[] | [0],InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime, IamInstanceProfile.Arn]" + "Reservations[].Instances[].[Tags[?Key==`Name`].Value[] | [0],Tags[?Key==`Schedule`].Value[] | [0],InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime, KeyName]") + "Query string used for ec2 describe-instances." + :tag "ec2-list-instances-query" + :type '(choice (string :tag "Query") + (repeat :tag "List of Queries" + (string :tag "Query"))) + :set #'(lambda (symbol new) + (let ((old (and (boundp symbol) + (symbol-value symbol)))) + (set-default symbol new) + )) + :group 'aws-snippets) + +(defcustom aws-snippets-ec2-list-subnets-query '"sort_by(sort_by(Subnets[].{VpcId:VpcId, SubnetId:SubnetId, State:State, AvailabilityZone:AvailabilityZone, CidrBlock:CidrBlock, AvailableIpAddressCount:AvailableIpAddressCount Tags:to_string(Tags[].[Key, Value])}, &SubnetId), &VpcId)" + "Query string used for ec2-list-subnets." + :tag "ec2-list-subnets-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-list-vpcs-query '"sort_by(Vpcs[].{VpcId:VpcId, State:State, AvailabilityZone:AvailabilityZone, CidrBlock:CidrBlock, AvailableIpAddressCount:AvailableIpAddressCount Tags:to_string(Tags[].[Key, Value])}, &VpcId)" + "Query string used for ec2-list-vpcs." + :tag "ec2-list-vpcs-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-elb-get-list-query '"reverse(sort_by(LoadBalancerDescriptions, &CreatedTime)[].[LoadBalancerName, CreatedTime])" + "Query string used for elb-get-list." + :tag "elb-get-list-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-emr-list-clusters-query '"Clusters[*].{ID: Id, NAME: Name}" + "Query string used for emr-list-clusters." + :tag "emr-list-clusters-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-rds-describe-instances-query '"DBInstances[*].[DBInstanceIdentifier,DbiResourceId, Endpoint.Address]" + "Query string used for rds describe-db-instances." + :tag "rds-describe-db-instances-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-route53-list-hosted-zones-query '"HostedZones[].[Id, Name]" + "Query string used for route53 list-hosted-zones." + :tag "route53-list-hosted-zones-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-aws-support-ls-query '"reverse(sort_by(cases, &timeCreated)[].[caseId, subject, timeCreated, displayId])" + "Query string used for aws support-ls-query." + :tag "aws-support-ls-query" + :group 'aws-snippets + :type 'string) + +;;;###autoload +(defun aws-snippets-initialize () + "Initialize package." + (let ((snip-dir (expand-file-name "snippets" aws-snippets-dir))) + (when (boundp 'yas-snippet-dirs)(add-to-list 'yas-snippet-dirs snip-dir t)) + (yas-load-directory snip-dir))) + +;;;###autoload +(eval-after-load 'yasnippet + '(aws-snippets-initialize)) + +(require 'yasnippet) + +(provide 'aws-snippets) +;;; aws-snippets.el ends here diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ami-ls b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ami-ls new file mode 100644 index 00000000..0d456a15 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ami-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ami-ls +# key: ami-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-images --owners \$`(if (string-equal major-mode "eshell-mode")(message "{")(message "("))` aws --profile=$1 ec2 describe-security-groups --group-names 'Default' --query 'SecurityGroups[0].OwnerId' --output text `(if (string-equal major-mode "eshell-mode")(message "}")(message ")"))` --query "`(print aws-snippets-ami-ls-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups new file mode 100644 index 00000000..cfe0bf8d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-describe-auto-scaling-groups +# key: asg-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling describe-auto-scaling-groups --query '`(print aws-snippets-autoscaling-describe-auto-scaling-groups-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations new file mode 100644 index 00000000..b7082fc3 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-describe-launch-configurations +# key: asl-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling describe-launch-configurations --query '`(print aws-snippets-autoscaling-describe-launch-configurations-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max new file mode 100644 index 00000000..03709394 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-update-auto-scaling-group-min-max +# key: aws-autoscaling-update-auto-scaling-group-min-max +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling update-auto-scaling-group --auto-scaling-group-name ${4:`(current-kill 0)`} --min-size $5 --max-size $6 $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-change-ls b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-change-ls new file mode 100644 index 00000000..825d942d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-change-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-change-ls +# key: cloud-change-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation list-change-sets --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-create-change-set b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-create-change-set new file mode 100644 index 00000000..a93de833 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-create-change-set @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-create-change-set +# key: cloud-createchange +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} \ +${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} \ +cloudformation create-change-set \ +${4:--capabilities CAPABILITY_NAMED_IAM} \ +--stack-name '$5' \ +--change-set-name '$6' \ +--description '$7' \ +--parameters ${8:file://} \ +${9:--change-set-type=${10:$$(yas-choose-value '("CREATE" "UPDATE"))}}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-change-set b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-change-set new file mode 100644 index 00000000..958515b1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-change-set @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-describe-change-set +# key: cloud-descchange +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-change-set --stack-name ${4:`(current-kill 0)`} --change-set-name $5 --output ${6:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-stack b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-stack new file mode 100644 index 00000000..143d7ed1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-stack @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-describe-stack +# key: cloud-desc +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-stacks --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-stack-events b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-stack-events new file mode 100644 index 00000000..062be5e7 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-describe-stack-events @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-describe-stack-events +# key: cloud-events-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-stack-events --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-ls b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-ls new file mode 100644 index 00000000..599058b8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-ls @@ -0,0 +1,25 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-ls +# key: cloud-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation list-stacks --stack-status-filter ${4:$$(yas-choose-value '( +"CREATE_COMPLETE" +"CREATE_IN_PROGRESS" +"CREATE_FAILED" +"ROLLBACK_IN_PROGRESS" +"ROLLBACK_FAILED" +"ROLLBACK_COMPLETE" +"DELETE_IN_PROGRESS" +"DELETE_FAILED" +"DELETE_COMPLETE" +"UPDATE_IN_PROGRESS" +"UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" +"UPDATE_COMPLETE" +"UPDATE_ROLLBACK_IN_PROGRESS" +"UPDATE_ROLLBACK_FAILED" +"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" +"UPDATE_ROLLBACK_COMPLETE" +"REVIEW_IN_PROGRESS" +"CREATE_IN_PROGRESS CREATE_FAILED CREATE_COMPLETE ROLLBACK_IN_PROGRESS ROLLBACK_FAILED ROLLBACK_COMPLETE DELETE_IN_PROGRESS DELETE_FAILED UPDATE_IN_PROGRESS UPDATE_COMPLETE_CLEANUP_IN_PROGRESS UPDATE_COMPLETE UPDATE_ROLLBACK_IN_PROGRESS UPDATE_ROLLBACK_FAILED UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS UPDATE_ROLLBACK_COMPLETE REVIEW_IN_PROGRESS" +))} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-validate-template b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-validate-template new file mode 100644 index 00000000..e288e3ef --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudformation-validate-template @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-validate-template +# key: cloud-val-temp +# group: aws +# -- +aws --profile=test --region=us-east-1 cloudformation validate-template --template-body file://${1:`(current-kill 0)`} --output ${2:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudtrail-lookup-events b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudtrail-lookup-events new file mode 100644 index 00000000..e721a36f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-cloudtrail-lookup-events @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudtrail-lookup-events +# key: cloudtrail-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudtrail lookup-events --max-items ${4:100} --lookup-attributes AttributeKey=${5:$$(yas-choose-value '("ResourceType,AttributeValue=AWS::EC2::Instance" "ResourceName,AttributeValue="))}$6 --output ${7:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-delete-snapshot b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-delete-snapshot new file mode 100644 index 00000000..be6faa84 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-delete-snapshot @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-delete-snapshot (yank) +# key: snap-del +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 delete-snapshot --snapshot-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-delete-volume b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-delete-volume new file mode 100644 index 00000000..62caa0cf --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-delete-volume @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-delete-volume (yank) +# key: ebs-del +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 delete-volume --volume-id ${4:`(current-kill 0)`} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-instance-attribute b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-instance-attribute new file mode 100644 index 00000000..57696cae --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-instance-attribute @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-describe-instance-attribute (yank) +# key: ec2-attribute +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-attribute --instance-id ${4:`(current-kill 0)`} --attribute ${5:$$(yas-choose-value '("instanceType" "kernel" "ramdisk" "userData" "disableApiTermination" "instanceInitiatedShutdownBehavior" "rootDeviceName" "blockDeviceMapping" "productCodes" "sourceDestCheck" "groupSet" "ebsOptimized" "sriovNetSupport"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-instance-status b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-instance-status new file mode 100644 index 00000000..b52b723b --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-instance-status @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-describe-instance-status (yank) +# key: aws-ec2-describe-instance-status +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-status --instance-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-userdata b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-userdata new file mode 100644 index 00000000..ace7b2d1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-describe-userdata @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-describe-userdata (yank) +# key: ec2-userdata +# group: aws +# -- +(base64-decode-string (shell-command-to-string "aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-attribute --instance-id ${4:`(current-kill 0)`} --attribute userData --query 'UserData.Value' --output text"))$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-console-output b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-console-output new file mode 100644 index 00000000..597a1bed --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-console-output @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-console-output (yank) +# key: ec2-console +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 get-console-output --output text --instance-id ${4:`(current-kill 0)`} ># $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-dns-names b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-dns-names new file mode 100644 index 00000000..79ac75bf --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-dns-names @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-dns-names +# key: aws-ec2-get-dns-names +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --filters "Name=tag:Name,Values=$4" --query "`(print aws-snippets-ec2-get-dns-names-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-instance-details b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-instance-details new file mode 100644 index 00000000..4d38a909 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-instance-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-instance-details (yank) +# key: ec2-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --instance-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-instance-volumes b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-instance-volumes new file mode 100644 index 00000000..ccfd0c81 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-instance-volumes @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-instance-volumes +# key: ec2-vol +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query "`(print aws-snippets-ec2-get-instance-volumes-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroup-details b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroup-details new file mode 100644 index 00000000..77062bdf --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroup-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-securitygroup-details (yank) +# key: sg-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-groups --group-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroup-references b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroup-references new file mode 100644 index 00000000..17857460 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroup-references @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-securitygroup-references (yank) +# key: aws-ec2-get-securitygroup-references +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-group-references --group-id ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroups b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroups new file mode 100644 index 00000000..b71e0b71 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-securitygroups @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-securitygroups +# key: sg-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-groups --query "`(print aws-snippets-ec2-get-securitygroups-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-snapshot-details b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-snapshot-details new file mode 100644 index 00000000..1f5dc2af --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-snapshot-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-snapshot-details (yank) +# key: snap-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-snapshots --snapshot-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-snapshots b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-snapshots new file mode 100644 index 00000000..31c47d81 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-snapshots @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-snapshots +# key: snap-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-snapshots --query '`(print aws-snippets-ec2-get-snapshots-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-volumes b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-volumes new file mode 100644 index 00000000..546f1739 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-volumes @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-volumes +# key: ebs-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --query '`(print aws-snippets-ec2-get-volumes-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-volumes-unused b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-volumes-unused new file mode 100644 index 00000000..65c94338 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-get-volumes-unused @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-volumes-unused +# key: ebs-ls-avail +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --query '`(print aws-snippets-ec2-get-volumes-unused-query)`' --filters Name=status,Values=available --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-instance-running b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-instance-running new file mode 100644 index 00000000..c2ae1028 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-instance-running @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-instance-running +# key: ec2state +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --instance-ids ${4:`(current-kill 0)`} --query "`(print aws-snippets-ec2-instance-running-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-instances b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-instances new file mode 100644 index 00000000..00a8bf57 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-instances @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-list-instances +# key: ec2-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query '${4:$$(yas-choose-value aws-snippets-ec2-list-instances-query)}' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-subnets b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-subnets new file mode 100644 index 00000000..9b99e144 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-subnets @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-list-subnets +# key: sub-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-subnets --query "`(print aws-snippets-ec2-list-subnets-query)`" --output ${4:$$(yas-choose-value '("table" "text" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-vpcs b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-vpcs new file mode 100644 index 00000000..82ebfd89 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-list-vpcs @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-list-vpcs +# key: vpc-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-vpcs --query "`(print aws-snippets-ec2-list-vpcs-query)`" --output ${4:$$(yas-choose-value '("table" "text" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-start-stop-instance b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-start-stop-instance new file mode 100644 index 00000000..e6d415cf --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-start-stop-instance @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-start-stop-instance (yank) +# key: ec2-start +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 ${4:$$(yas-choose-value '("start-instances" "stop-instances" "reboot-instances"))} --instance-ids ${5:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-volume-details b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-volume-details new file mode 100644 index 00000000..0b1461a9 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-ec2-volume-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-volume-details (yank) +# key: ebs-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --volume-ids ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-instance-health b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-instance-health new file mode 100644 index 00000000..07fd787f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-instance-health @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-elb-describe-instance-health (yank) +# key: aws-elb-describe-instance-health +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-instance-health --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-load-balancer b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-load-balancer new file mode 100644 index 00000000..0b903d46 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-load-balancer @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-elb-describe-load-balancer (yank) +# key: elb-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancers --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes new file mode 100644 index 00000000..113ce4e0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-elb-describe-load-balancer-attributes (yank) +# key: aws-elb-describe-load-balancer-attributes +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancer-attributes --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-get-list b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-get-list new file mode 100644 index 00000000..a7c5b3ed --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-get-list @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-elb-get-list +# key: elb-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancers --query "`(print aws-snippets-elb-get-list-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-search b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-search new file mode 100644 index 00000000..3b3f9b97 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-elb-search @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: aws-elb-search +# key: aws-elb-search +# group: aws +# -- +for REGION in `(mapconcat 'identity aws-snippets-regions " ")`; do + for BALANCER in \`aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=\${REGION} elb describe-load-balancers --query "reverse(sort_by(LoadBalancerDescriptions, &CreatedTime)[].[LoadBalancerName])" --output text\`; do + aws --profile=$1 --region=\${REGION} elb describe-load-balancers --load-balancer-name \${BALANCER} --output text | awk "{print \\"\${REGION}:\${BALANCER}:\\"\\\$0}" + done +done $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-emr-describe-cluster b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-emr-describe-cluster new file mode 100644 index 00000000..c00cdcbc --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-emr-describe-cluster @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-emr-describe-cluster (yank) +# key: aws-emr-describe-cluster +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=${2:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} emr describe-cluster --cluster-id ${3: `(current-kill 0)`} --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-emr-list-clusters b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-emr-list-clusters new file mode 100644 index 00000000..175a66ef --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-emr-list-clusters @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-emr-list-clusters +# key: emr-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=${2:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} emr list-clusters --active --query '`(print aws-snippets-emr-list-clusters-query)`' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-filters b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-filters new file mode 100644 index 00000000..6cdaa34c --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-filters @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-filters +# key: awsfil +# group: aws +# -- +--filters "Name=${1:$$(yas-choose-value aws-snippets-filters)},Values=$2" $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-logs-get-groups b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-logs-get-groups new file mode 100644 index 00000000..81fef5d2 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-logs-get-groups @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-logs-get-groups +# key: logs-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} logs describe-log-groups --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-logs-set-retention b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-logs-set-retention new file mode 100644 index 00000000..d071bd3a --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-logs-set-retention @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-logs-set-retention +# key: logs-set-ret +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} logs put-retention-policy --log-group-name ${4:`(current-kill 0)`} --retention-in-days ${5:$$(yas-choose-value '( "60" "1" "3" "5" "7" "14" "30" "90" "120" "150" "180" "365" "400" "545" "731" "1827" "3653"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-policy-ls b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-policy-ls new file mode 100644 index 00000000..e4e1c99c --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-policy-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-policy-ls +# key: policy-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} iam list-policies --scope ${5:$$(yas-choose-value '("All" "AWS" "Local"))} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-instance-details b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-instance-details new file mode 100644 index 00000000..fe8b2c22 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-instance-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-rds-describe-db-instance-details (yank) +# key: rds-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-instances --db-instance-identifier ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-instances b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-instances new file mode 100644 index 00000000..4f75830d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-instances @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-rds-describe-db-instances +# key: rds-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-instances --query "`(print aws-snippets-rds-describe-instances-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-parameter-groups b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-parameter-groups new file mode 100644 index 00000000..53033528 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-db-parameter-groups @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-rds-describe-db-parameter-groups +# key: aws-rds-describe-db-parameter-groups +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-parameter-groups --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-parameters b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-parameters new file mode 100644 index 00000000..48fb633e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-rds-describe-parameters @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-rds-describe-parameters (yank) +# key: aws-rds-describe-parameters +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-parameters --db-parameter-group-name ${4:`(current-kill 0)`} --query "Parameters[*][ParameterName, ParameterValue]" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-region-loop b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-region-loop new file mode 100644 index 00000000..4ba9f532 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-region-loop @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: aws-region-loop +# key: aws-region-loop +# group: aws +# -- +for REGION in `(mapconcat 'identity aws-snippets-regions " ")`; do +$0 +done diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-regions b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-regions new file mode 100644 index 00000000..72c28a0c --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-regions @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-regions +# key: awsreg +# group: aws +# -- +--region=${1:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-route53-list-hosted-zones b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-route53-list-hosted-zones new file mode 100644 index 00000000..6fbe41ef --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-route53-list-hosted-zones @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-route53-list-hosted-zones +# key: r53-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} route53 list-hosted-zones --query '`(print aws-snippets-route53-list-hosted-zones-query)`' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-route53-list-resource-record-sets b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-route53-list-resource-record-sets new file mode 100644 index 00000000..bf70025f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-route53-list-resource-record-sets @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-route53-list-resource-record-sets (yank) +# key: aws-route53-list-resource-record-sets +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} route53 list-resource-record-sets --hosted-zone-id ${2:`(current-kill 0)`} --query \"ResourceRecordSets[?contains(Name, '$3')]\" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-sns-ls b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-sns-ls new file mode 100644 index 00000000..3d99d0e9 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-sns-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-sns-ls +# key: sns-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} sns list-topics --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-support-describe b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-support-describe new file mode 100644 index 00000000..d8baaf78 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-support-describe @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-support-describe +# key: support-desc +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} support describe-communications --case-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-support-ls b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-support-ls new file mode 100644 index 00000000..7540de69 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/eshell-mode/aws-support-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-support-ls +# key: support-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} support describe-cases --no-include-communications --query "`(print aws-snippets-aws-support-ls-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-autoscaling-group b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-autoscaling-group new file mode 100644 index 00000000..d16cdad9 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-autoscaling-group @@ -0,0 +1,19 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-group +# key: autoscaling-group +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:-}" : { + "Type" : "AWS::AutoScaling::AutoScalingGroup", + "Properties" : { + "AvailabilityZones" : [${2:"--"}], + "LaunchConfigurationName" : ${3:"--"}, + "MaxSize" : "${4:--}", + "MinSize" : "${5:--}", + "Tags" : [ {"Key" : "Name", + "Value" : "${6:"--"}", + "PropagateAtLaunch" : "True"} + ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-autoscaling-group-vpc b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-autoscaling-group-vpc new file mode 100644 index 00000000..16dd5207 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-autoscaling-group-vpc @@ -0,0 +1,22 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-group-vpc +# key: autoscaling-group-vpc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:-}" : { + "Type" : "AWS::AutoScaling::AutoScalingGroup", + "Properties" : { + "AvailabilityZones" : [ + ${2:azs} + ], + "LaunchConfigurationName" : ${3:"-"}, + "MaxSize" : "${4:-}", + "MinSize" : "${5:-}", + "VPCZoneIdentifier" : [ ${6:list of subnet ids} ], + "Tags" : [ {"Key" : "Name", + "Value" : "${7:-}", + "PropagateAtLaunch" : "True"} + ] + } +}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-availibility-zone b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-availibility-zone new file mode 100644 index 00000000..b3d652ad --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-availibility-zone @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-availibility-zone +# key: availability-zone +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{"Fn::Join" : ["",[{"Ref" : "AWS::Region"},"${1:a}" ] ]}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-authentication b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-authentication new file mode 100644 index 00000000..b4c512ee --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-authentication @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-authentication +# key: cloudformation-authentication +# group: cloudformation +# -- +"AWS::CloudFormation::Authentication": { + "${1:AccessCreds}": { + "type": "$2", + "buckets": [ "$3" ], + "roleName": "$4", + "accessKeyId": "$5", + "secretKey": "$6", + "uris": [ "$7" ], + "username": "$8", + "password": "$9" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-customresource b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-customresource new file mode 100644 index 00000000..96d68f35 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-customresource @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-customresource +# key: cloudformation-customresource +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:customResource}": { + "Type": "AWS::CloudFormation::CustomResource", + "Version": "1.0", + "Properties": { + "ServiceToken": "$2" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-init b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-init new file mode 100644 index 00000000..0c21a465 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-init @@ -0,0 +1,25 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-init +# key: cloudformation-init +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"AWS::CloudFormation::Init": { + "config": { + "packages": { + $0 + }, + "groups": { + }, + "users": { + }, + "sources": { + }, + "files": { + }, + "commands": { + }, + "services": { + } + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-stack b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-stack new file mode 100644 index 00000000..b6632867 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-stack @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-stack +# key: cloudformation-stack +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:cloudFormationStack}": { + "Type": "AWS::CloudFormation::Stack", + "Properties": { + "NotificationARNs": [ "$2" ], + "Parameters": { $3 }, + "TemplateURL": "$4", + "TimeoutInMinutes": "$5" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-waitcondition b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-waitcondition new file mode 100644 index 00000000..2d90857d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-waitcondition @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-waitcondition +# key: cloudformation-waitcondition +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:waitCondition}": { + "Type": "AWS::CloudFormation::WaitCondition", + "Properties": { + "Count": "$2", + "Handle": "$3", + "Timeout": "$4" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-waitconditionhandle b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-waitconditionhandle new file mode 100644 index 00000000..8318043a --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudformation-waitconditionhandle @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-waitconditionhandle +# key: cloudformation-waitconditionhandle +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:waitConditionHandle}": { + "Type" : "AWS::CloudFormation::WaitConditionHandle", + "Properties" : { + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudfront-distribution b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudfront-distribution new file mode 100644 index 00000000..d3e41a76 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudfront-distribution @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-cloudfront-distribution +# key: cloudfront-distribution +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:cloudfrontDistribution}": { + "Type": "AWS::CloudFront::Distribution", + "Properties": { + "DistributionConfig": $2 + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudtrail b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudtrail new file mode 100644 index 00000000..37d4b0ca --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudtrail @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: aws-cloudtrail +# key: cloudtrail +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:cloudTrail}": { + "Type": "AWS::CloudTrail::Trail", + "Properties": { + "S3BucketName": "$2", + "IncludeGlobalServiceEvents": "${3:$$(yas-choose-value '("true" "false")}", + "IsLogging": "${4:$$(yas-choose-value '("true" "false"))}", + "S3KeyPrefix": "$5", + "SnsTopicName": "$6" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudwatch-alarm b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudwatch-alarm new file mode 100644 index 00000000..970fe63e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-cloudwatch-alarm @@ -0,0 +1,26 @@ +# -*- mode: snippet -*- +# name: aws-cloudwatch-alarm +# key: cloudwatch-alarm +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:cloudWatchAlarm}": { + "Type": "AWS::CloudWatch::Alarm", + "Properties": { + "MetricName": "$2", + "Namespace": "$3", + "ComparisonOperator": "$4", + "EvaluationPeriods": "$5", + "Period": "$6", + "Statistic": "$7", + "Threshold": "$8", + "ActionsEnabled": "${9:$$(yas-choose-value '("true" "false"))}", + "AlarmActions": [ "$10" ], + "AlarmDescription": "$11", + "AlarmName": "$12", + "Dimensions": [ "$13" ], + "InsufficientDataActions": [ "$14" ], + "OKActions": [ "$15" ], + "Unit": "$16" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-dynamodb-table b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-dynamodb-table new file mode 100644 index 00000000..c90b66e3 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-dynamodb-table @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-dynamodb-table +# key: dynamodb-table +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:dynamodbTable}": { + "Type": "AWS::DynamoDB::Table", + "Properties": { + "AttributeDefinitions": [ $2 ], + "GlobalSecondaryIndexes": [ $3 ], + "KeySchema": [ $4 ], + "LocalSecondaryIndexes": [ $5 ], + "ProvisionedThroughput": { $6 }, + "TableName": "$7" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ec2-instance b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ec2-instance new file mode 100644 index 00000000..158d852a --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ec2-instance @@ -0,0 +1,34 @@ +# -*- mode: snippet -*- +# name: aws-ec2-instance +# key: ec2-instance +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:-}": { + "Type": "AWS::EC2::Instance", + "Properties": { + "KeyName": ${2:-}, + "DisableApiTermination": "${3:$$(yas-choose-value '("true" "false"))}", + "ImageId": { ${4:-} }, + "InstanceType": "${5:-}", + "Monitoring": "${6:$$(yas-choose-value '("true" "false"))}", + "SecurityGroupIds" : [${7:-}], + "Tags": [ + { + "Key": "${8:-}", + "Value": "${9:-}" + } + ], + "UserData": { + "Fn::Base64": { + "Fn::Join": [ + "", + [ + "#!/bin/bash -ex", + "${10:-}" + ] + ] + } + } + } +}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ec2-volume b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ec2-volume new file mode 100644 index 00000000..501ab72f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ec2-volume @@ -0,0 +1,24 @@ +# -*- mode: snippet -*- +# name: aws-ec2-volume +# key: ec2-volume +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:ec2Volume}": { + "Type": "AWS::EC2::Volume", + "Properties": { + "AutoEnableIO": "${2:$$(yas-choose-value '("true" "false"))}", + "AvailabilityZone": "${3:-}", + "Encrypted": "${4:$$(yas-choose-value '("true" "false"))}", + "KmsKeyId": "${5:-}", + "Size": "${6:-}", + "SnapshotId": "${7:snap-}", + "Tags": [ + { + "Key": "${8:-}", + "Value": "${9:-}" + } + ], + "VolumeType" : "${10:$$(yas-choose-value '("standard" "io1" "gp2"))}" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-eip-vpc b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-eip-vpc new file mode 100644 index 00000000..7f89ec31 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-eip-vpc @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-eip-vpc +# key: eip-vpc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:eipName}": { + "Type": "AWS::EC2::EIP", + "Properties": { + "Domain": "vpc", + "InstanceId": ${2:"--"} + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer new file mode 100644 index 00000000..907a64ed --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer @@ -0,0 +1,19 @@ +# -*- mode: snippet -*- +# name: aws-elastic-load-balancer +# key: elastic-load-balancer +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:-}": { + "Type": "AWS::ElasticLoadBalancing::LoadBalancer", + "Properties": { + "AvailabilityZones" : [ "${2:-}" ], + "Listeners" : [ ${3:-} ], + "Tags": [ + { + "Key": "${4:-}", + "Value": "${5:-}" + } + ] + } +}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer-vpc b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer-vpc new file mode 100644 index 00000000..23b8e300 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer-vpc @@ -0,0 +1,20 @@ +# -*- mode: snippet -*- +# name: aws-elastic-load-balancer-vpc +# key: elastic-load-balancer-vpc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:-}": { + "Type": "AWS::ElasticLoadBalancing::LoadBalancer", + "Properties": { + "Listeners" : [ ${2:-} ], + "SecurityGroups" : [ ${3:-} ], + "Subnets" : [ ${4:-} ], + "Tags": [ + { + "Key": "${5:-}", + "Value": "${6:-}" + } + ] + } +}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer-vpc-internal b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer-vpc-internal new file mode 100644 index 00000000..9ffbcca1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elastic-load-balancer-vpc-internal @@ -0,0 +1,21 @@ +# -*- mode: snippet -*- +# name: aws-elastic-load-balancer-vpc-internal +# key: elastic-load-balancer-vpc-internal +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:-}": { + "Type": "AWS::ElasticLoadBalancing::LoadBalancer", + "Properties": { + "Listeners" : [ ${2:-} ], + "Scheme" : "internal", + "SecurityGroups" : [ ${3:-} ], + "Subnets" : [ ${4:-} ], + "Tags": [ + { + "Key": "${5:-}", + "Value": "${6:-}" + } + ] + } +}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-cachecluster b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-cachecluster new file mode 100644 index 00000000..5108f5b1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-cachecluster @@ -0,0 +1,31 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-cachecluster +# key: elasticche-cachecluster +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:elasticacheCacheCluster}": { + "Type": "AWS::ElastiCache::CacheCluster", + "Properties": + { + "AutoMinorVersionUpgrade": "${2:$$(yas-choose-value '("true" "false"))}", + "AZMode": "$3", + "CacheNodeType": "$4", + "CacheParameterGroupName": "$5", + "CacheSecurityGroupNames": [ "$6" ], + "CacheSubnetGroupName": "$7", + "ClusterName": "$8", + "Engine": "$9", + "EngineVersion": "$10", + "NotificationTopicArn": "$11", + "NumCacheNodes": "$12", + "Port": "$13", + "PreferredAvailabilityZone": "$14", + "PreferredAvailabilityZones": [ "$15" ], + "PreferredMaintenanceWindow": "$16", + "SnapshotArns": ["$17" ], + "SnapshotRetentionLimit": "$18", + "SnapshotWindow": "$19", + "VpcSecurityGroupIds": [ "$20" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-parametergroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-parametergroup new file mode 100644 index 00000000..d14ace7a --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-parametergroup @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-parametergroup +# key: elasticache-parametergroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:elastiicacheParameterGroup}": { + "Type": "AWS::ElastiCache::ParameterGroup", + "Properties": { + "CacheParameterGroupFamily": "$2", + "Description": "$3", + "Properties": { "$4": "$5" } + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-securitygroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-securitygroup new file mode 100644 index 00000000..503c87b0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-securitygroup @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-securitygroup +# key: elasticache-securitygroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:elasticacheSecurityGroup}": { + "Type": "AWS::ElastiCache::SecurityGroup", + "Properties": + { + "Description": "$2" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-securitygroupingress b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-securitygroupingress new file mode 100644 index 00000000..3ea670b8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-securitygroupingress @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-securitygroupingress +# key: elasticache-securitygroupingress +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:elasticacheSecurityGroupIngress}": { + "Type": "AWS::ElastiCache::SecurityGroupIngress", + "Properties": + { + "CacheSecurityGroupName": "$2", + "EC2SecurityGroupName": "$3", + "EC2SecurityGroupOwnerId": "$4" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-subnetgroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-subnetgroup new file mode 100644 index 00000000..491d6a09 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticache-subnetgroup @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-subnetgroup +# key: elasticache-subnetgroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:elasticacheSubnetGroup}": { + "Type": "AWS::ElastiCache::SubnetGroup", + "Properties": { + "Description": "$2", + "SubnetIds": [ "$3" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-application b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-application new file mode 100644 index 00000000..549dd685 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-application @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-elasticbeanstalk-application +# key: elasticbeanstalk-application +# group: cloudformation +# -- +"${1:elasticbeanstalkApplication}": { + "Type": "AWS::ElasticBeanstalk::Application", + "Properties": { + "ApplicationName": "$2", + "Description": "$3" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-applicationversion b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-applicationversion new file mode 100644 index 00000000..2a31e774 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-applicationversion @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-elasticbeanstalk-applicationversion +# key: elasticbeanstalk-applicationversion +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:elasticbeanstalkApplicationVersion}": { + "Type": "AWS::ElasticBeanstalk::ApplicationVersion", + "Properties": { + "ApplicationName": "$2", + "Description": "$3", + "SourceBundle": { $4 } + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-configurationtemplate b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-configurationtemplate new file mode 100644 index 00000000..e44ff1d0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-configurationtemplate @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-elasticbeanstalk-configurationtemplate +# key: elasticbeanstalk-configurationtemplate +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:elasticbeanstalkConfigurationTemplate}": { + "Type": "AWS::ElasticBeanstalk::ConfigurationTemplate", + "Properties": { + "ApplicationName": "$2", + "Description": "$3", + "EnvironmentId": "$4", + "OptionSettings": [ $5 ], + "SolutionStackName": "$6", + "SourceConfiguration": $7 + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-environment b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-environment new file mode 100644 index 00000000..fb4976a3 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elasticbeanstalk-environment @@ -0,0 +1,20 @@ +# -*- mode: snippet -*- +# name: aws-elasticbeanstalk-environment +# key: elasticbeanstalk-environment +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:elasticbeanstalkEnvironment}": { + "Type": "AWS::ElasticBeanstalk::Environment", + "Properties": { + "ApplicationName": "$2", + "CNAMEPrefix": "$3", + "Description": "$4", + "EnvironmentName": "$5", + "OptionSettings": [ $6 ], + "SolutionStackName": "$7", + "TemplateName": "$8", + "Tier": "$9", + "VersionLabel": "$10" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elb-listener b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elb-listener new file mode 100644 index 00000000..9b1d1d15 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-elb-listener @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-elb-listener +# key: elb-listener +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ + "InstancePort" : "${1:-}", + "InstanceProtocol" : "${2:$$(yas-choose-value '("HTTP" "HTTPS" "TCP" "SSL"))}", + "LoadBalancerPort" : "${3:-}", + "Protocol" : "${4:$$(yas-choose-value '("HTTP" "HTTPS" "TCP" "SSL"))}" +}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-find-in-map b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-find-in-map new file mode 100644 index 00000000..728d2781 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-find-in-map @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-find-in-map +# key: find-in-map +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"Fn::FindInMap": [ + "${1:map}", + "${2:selector}", + "${3:value}" +]$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-get-attr b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-get-attr new file mode 100644 index 00000000..4f822ee7 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-get-attr @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-get-attr +# key: get-attr +# group: cloudformation +# -- +{ "Fn::GetAtt" : [ "${1:logicalNameOfResource}", "${2:attributeName}" ]}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-accesskey b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-accesskey new file mode 100644 index 00000000..46c5942f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-accesskey @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-iam-accesskey +# key: iam-accesskey +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:iamAccessKey}": { + "Type": "AWS::IAM::AccessKey", + "Properties": { + "Status": "$2", + "UserName": "$3", + "Serial": "$4" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-group b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-group new file mode 100644 index 00000000..007a6b76 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-group @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-iam-group +# key: iam-group +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:iamGroup}": { + "Type": "AWS::IAM::Group", + "Properties": { + "Path": "$2", + "Policies": [ "$3" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-instanceprofile b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-instanceprofile new file mode 100644 index 00000000..a5230ea0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-instanceprofile @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-iam-instanceprofile +# key: iam-instanceprofile +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:iamInstanceProfile}": { + "Type": "AWS::IAM::InstanceProfile", + "Properties": { + "Path": "${2:/}", + "Roles": [ "$3" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-policy b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-policy new file mode 100644 index 00000000..4fae6ba7 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-policy @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: aws-iam-policy +# key: iam-policy +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:iamPolicy}": { + "Type": "AWS::IAM::Policy", + "Properties": { + "Groups" : [ "$2" ], + "PolicyDocument" : {$3}, + "PolicyName" : "$4", + "Roles" : [ "$5" ], + "Users" : [ "$6" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-role b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-role new file mode 100644 index 00000000..3a6744c8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-role @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-iam-role +# key: iam-role +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:iamRole}": { + "Type": "AWS::IAM::Role", + "Properties": { + "AssumeRolePolicyDocument": { $2 }, + "Path": "$3", + "Policies": [ $4 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-user b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-user new file mode 100644 index 00000000..378c3eaa --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-user @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-iam-user +# key: iam-user +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:iamUser}": { + "Type": "AWS::IAM::User", + "Properties": { + "Path": "${2:/}", + "Groups": [ "$3" ], + "LoginProfile": { "Password" : "$4" }, + "Policies": [ $5 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-usertogroupaddition b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-usertogroupaddition new file mode 100644 index 00000000..afa54e60 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-iam-usertogroupaddition @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-iam-usertogroupaddition +# key: iam-usertogroupaddition +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:iamUserToGroupAddition}": { + "Type": "AWS::IAM::UserToGroupAddition", + "Properties": { + "GroupName": "$2", + "Users": [ "$3" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-internet-gateway b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-internet-gateway new file mode 100644 index 00000000..f2cca144 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-internet-gateway @@ -0,0 +1,19 @@ +# -*- mode: snippet -*- +# name: aws-internet-gateway +# key: internet-gateway +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:igwName}": { + "Type": "AWS::EC2::InternetGateway", + "Properties": { + "Tags": [${2:"-"}] + } +}, +"AttachGateway": { + "Type": "AWS::EC2::VPCGatewayAttachment", + "Properties": { + "VpcId": ${3:"--"}, + "InternetGatewayId": { "Ref": "$1" } + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-join b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-join new file mode 100644 index 00000000..0873b0bb --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-join @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-join +# key: join +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{"Fn::Join" : ["",[ ${1:"prefix"}, ${2:"suffix"} ] ]}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-kinesis-stream b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-kinesis-stream new file mode 100644 index 00000000..aa1fffa8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-kinesis-stream @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-kinesis-stream +# key: kinesis-stream +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:kinesisStream}": { + "Type": "AWS::Kinesis::Stream", + "Properties": { + "ShardCount": "$2" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-launch-config b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-launch-config new file mode 100644 index 00000000..8899ba33 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-launch-config @@ -0,0 +1,28 @@ +# -*- mode: snippet -*- +# name: aws-launch-config +# key: launch-config +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:launchConfigName}": { + "Type" : "AWS::AutoScaling::LaunchConfiguration", + "Properties" : { + "IamInstanceProfile" : ${2:"--"}, + "ImageId" : ${3:"--"}, + "InstanceMonitoring" : ${4:"--"}, + "InstanceType" : "${5:--}", + "KeyName" : ${6:"--"}, + "SecurityGroups" : [ ${7:"--"} ], + "UserData" : { + "Fn::Base64": + { "Fn::Join": [ + "", + [ + "#!/bin/bash -ex", + "${8:-}" + ] + ] + } + } + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-logs-loggroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-logs-loggroup new file mode 100644 index 00000000..75232959 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-logs-loggroup @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-logs-loggroup +# key: logs-loggroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:logLogGroup}": { + "Type": "AWS::Logs::LogGroup", + "Properties": { + "RetentionInDays": "${2}" + } +} diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-logs-metricfilter b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-logs-metricfilter new file mode 100644 index 00000000..2af3838b --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-logs-metricfilter @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-logs-metricfilter +# key: logs-metricfilter +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:logsMetricFilter}": { + "Type": "AWS::Logs::MetricFilter", + "Properties": { + "FilterPattern": [ "$2" ], + "LogGroupName": "$3", + "MetricTransformations": [ $4 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-map b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-map new file mode 100644 index 00000000..2400e8d9 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-map @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-map +# key: map +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:mapName}": { + "${2:selector}": { + "${3:key}": "${4:val}" + }, + "${5:selector}": { + "${6:key}": "${7:val}" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-map-item b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-map-item new file mode 100644 index 00000000..fc8d5875 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-map-item @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: aws-map-item +# key: map-item +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:selector}": { +"${2:key}": "${3:val}" +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-app b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-app new file mode 100644 index 00000000..106820e0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-app @@ -0,0 +1,21 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-app +# key: opsworks-app +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:opsworksApp}": { + "Type": "AWS::OpsWorks::App", + "Properties": { + "Name": "$2", + "StackId": "$3", + "Type": "$4", + "AppSource": { $5 }, + "Attributes": { $6:$7 }, + "Description": "$8", + "Domains": [ "$9" ], + "EnableSsl": "${10:$$(yas-choose-value '("true" "false"))}", + "Shortname": "$11", + "SslConfiguration": { $12 } + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-elasticloadbalancerattachment b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-elasticloadbalancerattachment new file mode 100644 index 00000000..d9bff01d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-elasticloadbalancerattachment @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-elasticloadbalancerattachment +# key: opsworks-elasticloadbalancerattachment +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:opsworksElasticLoadBalancerAttachment}": { + "Type": "AWS::OpsWorks::ElasticLoadBalancerAttachment", + "Properties": { + "ElasticLoadBalancerName": "$2", + "LayerId": "$3" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-instance b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-instance new file mode 100644 index 00000000..3230862e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-instance @@ -0,0 +1,24 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-instance +# key: opsworks-instance +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:opsworksInstance}": { + "Type": "AWS::OpsWorks::Instance", + "Properties": { + "InstanceType": "$2", + "LayerIds": [ "$3" ], + "StackId": "$4", + "AmiId": "$5", + "Architecture": "$6", + "AutoScalingType": "$7", + "AvailabilityZone": "$8", + "InstallUpdatesOnBoot": "${9:$$(yas-choose-value '("true" "false"))}", + "Os": "$10", + "RootDeviceType": "$11", + "SshKeyName": "$12", + "SubnetId": "$13", + "TimeBasedAutoScaling": { $14 } + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-layer b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-layer new file mode 100644 index 00000000..fab5f1a9 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-layer @@ -0,0 +1,26 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-layer +# key: opsworks-layer +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:opsworksLayer}": { + "Type": "AWS::OpsWorks::Layer", + "Properties": { + "AutoAssignElasticIps": "${2:$$(yas-choose-value '("true" "false"))}", + "AutoAssignPublicIps": "${3:$$(yas-choose-value '("true" "false"))}", + "EnableAutoHealing": "${4:$$(yas-choose-value '("true" "false"))}", + "Name": "$5", + "Shortname": "$6", + "StackId": "$7", + "Type": "$8", + "Attributes": { "$9":"$10" }, + "CustomInstanceProfileArn": "$11", + "CustomRecipes": $12, + "CustomSecurityGroupIds": [ "$13" ], + "InstallUpdatesOnBoot": "${14:$$(yas-choose-value '("true" "false"))}", + "LoadBasedAutoScaling": { $15 }, + "Packages": [ "$16" ], + "VolumeConfigurations": [ $17 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-stack b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-stack new file mode 100644 index 00000000..c9fc8a08 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-opsworks-stack @@ -0,0 +1,28 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-stack +# key: opsworks-stack +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:opsworksStack}": { + "Type": "AWS::OpsWorks::Stack", + "Properties": { + "DefaultInstanceProfileArn": "$2", + "Name": "$3", + "ServiceRoleArn": "$4", + "Attributes": { "$5":"$6" }, + "ChefConfiguration": { $7 }, + "ConfigurationManager": { $8 }, + "CustomCookbooksSource": { $9 }, + "CustomJson": { $10 }, + "DefaultAvailabilityZone": "$11", + "DefaultOs": "$12", + "DefaultRootDeviceType": "$13", + "DefaultSshKeyName": "$14", + "DefaultSubnetId": "$15", + "HostnameTheme": "$16", + "UseCustomCookbooks": "${17:$$(yas-choose-value '("true" "false"))}", + "UseOpsworksSecurityGroups": "${18:$$(yas-choose-value '("true" "false"))}", + "VpcId": "$19" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-output b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-output new file mode 100644 index 00000000..e577b4a3 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-output @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-output +# key: output +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:name}": { + "Value": "${2:Value to return}", + "Description": "${3:Information about the value}", + "Export": { + "Name": "${4:Value to export}" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-parameter b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-parameter new file mode 100644 index 00000000..7ba27776 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-parameter @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-parameter +# key: parameter +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:paramName}": { + "Description": "${2:-}", + "Type": "${3:$$(yas-choose-value '("String" "Number" "CommaDelimitedList"))}", + "Default": "${4:-}" +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbinstance b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbinstance new file mode 100644 index 00000000..699512bf --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbinstance @@ -0,0 +1,41 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbinstance +# key: rds-dbinstance +# group: cloudformation +# -- +"${1:rdsDBInstance}": { + "Type": "AWS::RDS::DBInstance", + "Properties": { + "AllocatedStorage": "${2}", + "DBInstanceClass": "${3}", + "AllowMajorVersionUpgrade": "${4:$$(yas-choose-value '("true" "false"))}", + "AutoMinorVersionUpgrade": "${5:$$(yas-choose-value '("true" "false"))}", + "AvailabilityZone": "$6", + "BackupRetentionPeriod": "$7", + "CharacterSetName": "$8", + "DBInstanceIdentifier": "$9", + "DBName": "$10", + "DBParameterGroupName": "$11", + "DBSecurityGroups": [ "$12" ], + "DBSnapshotIdentifier": "$13", + "DBSubnetGroupName": "$14", + "Engine": "$15", + "EngineVersion": "$16", + "Iops": "$17", + "KmsKeyId": "$18", + "LicenseModel": "$19", + "MasterUsername": "$20", + "MasterUserPassword": "$21", + "MultiAZ": "${22:$$(yas-choose-value '("true" "false"))}", + "OptionGroupName": "$23", + "Port": "$24", + "PreferredBackupWindow": "$25", + "PreferredMaintenanceWindow": "$26", + "PubliclyAccessible": "${27:$$(yas-choose-value '("true" "false"))}", + "SourceDBInstanceIdentifier": "$28", + "StorageEncrypted": "${29:$$(yas-choose-value '("true" "false"))}", + "StorageType": "$30", + "Tags": [ $31 ], + "VPCSecurityGroups": [ "$32" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbparametergroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbparametergroup new file mode 100644 index 00000000..4cacaac4 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbparametergroup @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbparametergroup +# key: rds-dbparametergroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:rdsDBParameterGroup}": { + "Type": "AWS::RDS::DBParameterGroup", + "Properties": { + "Description": "$2", + "Family": "$3", + "Parameters": {$4}, + "Tags": [ $5 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsecuritygroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsecuritygroup new file mode 100644 index 00000000..4aaca405 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsecuritygroup @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbsecuritygroup +# key: rds-dbsecuritygroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:rdsDBSecurityGroup}": { + "Type": "AWS::RDS::DBSecurityGroup", + "Properties": { + "EC2VpcId": { $2 }, + "DBSecurityGroupIngress": [ $3 ], + "GroupDescription": "$4", + "Tags": [ $5 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsecuritygroupingress b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsecuritygroupingress new file mode 100644 index 00000000..00ab5f6c --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsecuritygroupingress @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbsecuritygroupingress +# key: rds-dbsecuritygroupingress +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ + "CIDRIP": "$1", + "DBSecurityGroupName": "$2", + "EC2SecurityGroupId": "$3", + "EC2SecurityGroupName": "$4", + "EC2SecurityGroupOwnerId": "$5" +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsubnetgroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsubnetgroup new file mode 100644 index 00000000..38e1edeb --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-dbsubnetgroup @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbsubnetgroup +# key: rds-dbsubnetgroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:rdsDBSubnetGroup}": { + "Type": "AWS::RDS::DBSubnetGroup", + "Properties": { + "DBSubnetGroupDescription": "$2", + "SubnetIds": [ "$3" ], + "Tags": [ $4 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-eventsubscription b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-eventsubscription new file mode 100644 index 00000000..9ff82ef5 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-rds-eventsubscription @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: aws-rds-eventsubscription +# key: rds-eventsubscription +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:rdsEventSubscription}": { + "Type": "AWS::RDS::EventSubscription", + "Properties": { + "Enabled": "${2:$$(yas-choose-value '("true" "false"))}", + "EventCategories": [ "$3" ], + "SnsTopicArn": "$4", + "SourceIds": [ "$5" ], + "SourceType ": "$6" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-cluster b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-cluster new file mode 100644 index 00000000..a6e7eb47 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-cluster @@ -0,0 +1,35 @@ +# -*- mode: snippet -*- +# name: aws-redshift-cluster +# key: redshift-cluster +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:redshiftCluster}": { + "Type": "AWS::Redshift::Cluster", + "Properties": { + "AllowVersionUpgrade": "${2:$$(yas-choose-value '("true" "false"))}", + "AutomatedSnapshotRetentionPeriod": "$3", + "AvailabilityZone": "$4", + "ClusterParameterGroupName": "$5", + "ClusterSecurityGroups": [ "$6" ], + "ClusterSubnetGroupName": "$7", + "ClusterType": "$8", + "ClusterVersion": "$9", + "DBName": "$10", + "ElasticIp": "$11", + "Encrypted": "${12:$$(yas-choose-value '("true" "false"))}", + "HsmClientCertificateIdentifier": "$13", + "HsmConfigurationIdentifier": "$14", + "MasterUsername": "$15", + "MasterUserPassword": "$16", + "NodeType": "$17", + "NumberOfNodes": "$18", + "OwnerAccount": "$19", + "Port": "$20", + "PreferredMaintenanceWindow": "$21", + "PubliclyAccessible": "${22:$$(yas-choose-value '("true" "false"))}", + "SnapshotClusterIdentifier": "$23", + "SnapshotIdentifier": "$24", + "VpcSecurityGroupIds": [ "$25" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clusterparametergroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clusterparametergroup new file mode 100644 index 00000000..b955292d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clusterparametergroup @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-redshift-clusterparametergroup +# key: redshift-clusterparametergroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:redshiftClusterParameterGroup}": { + "Type": "AWS::Redshift::ClusterParameterGroup", + "Properties": { + "Description": "$2", + "ParameterGroupFamily": "$3", + "Parameters": [ $4 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersecuritygroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersecuritygroup new file mode 100644 index 00000000..c847a0fb --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersecuritygroup @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-redshift-clustersecuritygroup +# key: redshift-clustersecuritygroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:redshiftClusterSecurityGroup}": { + "Type": "AWS::Redshift::ClusterSecurityGroup", + "Properties": { + "Description": "$2" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersecuritygroupingress b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersecuritygroupingress new file mode 100644 index 00000000..cf0fca17 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersecuritygroupingress @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-redshift-clustersecuritygroupingress +# key: redshift-clustersecuritygroupingress +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:redshiftClusterSecurityGroupIngress}": { + "Type": "AWS::Redshift::ClusterSecurityGroupIngress", + "Properties": { + "ClusterSecurityGroupName": "$2", + "CIDRIP": "$3", + "EC2SecurityGroupName": "$4", + "EC2SecurityGroupOwnerId": "$5" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersubnetgroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersubnetgroup new file mode 100644 index 00000000..ab32eb6f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-redshift-clustersubnetgroup @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-redshift-clustersubnetgroup +# key: redshift-clustersubnetgroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:redshiftClusterSubnetGroup}": { + "Type": "AWS::Redshift::ClusterSubnetGroup", + "Properties": { + "Description": "$2", + "SubnetIds": [ "$3" ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ref b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ref new file mode 100644 index 00000000..90deb714 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-ref @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-ref +# key: ref +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ "Ref": "${1:logicalName}" }$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-resource b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-resource new file mode 100644 index 00000000..1b273708 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-resource @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-resource +# key: resource +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:resourceName}": { + "Description": "${2:-}", + "Type": "${3:-}", + "Properties": "${4:-}" +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route new file mode 100644 index 00000000..d020c736 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-route +# key: route +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:routeName}": { + "Type": "AWS::EC2::Route", + "Properties": { + "RouteTableId": ${2:"--"}, + "DestinationCidrBlock": "${3:"--"}", + "GatewayId": ${4:"--"} + } +}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route-table b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route-table new file mode 100644 index 00000000..ae691d95 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route-table @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-route-table +# key: route-table +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:routeTableName}": { + "Type": "AWS::EC2::RouteTable", + "Properties": { + "VpcId": ${2:"--"}, + "Tags": [${3:"--"}] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route-table-assoc b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route-table-assoc new file mode 100644 index 00000000..a886d82f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route-table-assoc @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-route-table-assoc +# key: route-table-assoc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:routeTableAssocName"}: { + "Type": "AWS::EC2::SubnetRouteTableAssociation", + "Properties": { + "SubnetId": ${2:"--"}, + "RouteTableId": ${3:"--"} + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-healthcheck b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-healthcheck new file mode 100644 index 00000000..b91e236f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-healthcheck @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-route53-healthcheck +# key: route53-healthcheck +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:route53HealthCheck}": { + "Type": "AWS::Route53::HealthCheck", + "Properties": { + "HealthCheckConfig": { $2 }, + "HealthCheckTags": [ $3 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-hostedzone b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-hostedzone new file mode 100644 index 00000000..d4413b0c --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-hostedzone @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-route53-hostedzone +# key: route53-hostedzone +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"$1": { + "Type": "AWS::Route53::HostedZone", + "Properties": { + "Name": "$2", + "VPCs": "$3", + "HostedZoneConfig": {$4}, + "HostedZoneTags": [$5] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-recordset b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-recordset new file mode 100644 index 00000000..069429c1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-recordset @@ -0,0 +1,25 @@ +# -*- mode: snippet -*- +# name: aws-route53-recordset +# key: route53-recordset +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:route53RS}": { + "Type": "AWS::Route53::RecordSet", + "Properties": { + "Name": "$2", + "Type": "${3:$$(yas-choose-value '("A" "AAAA" "CNAME" "MX" "NS" "PTR" "SOA" "SPF" "SRV" "TXT"))}", + "AliasTarget": {$4}, + "Comment": "$5", + "Failover": "$6", + "GeoLocation": {$7}, + "HealthCheckId": "$8", + "HostedZoneId": "$9", + "HostedZoneName": "$10", + "Region": "$11", + "ResourceRecords": [ "$12" ], + "SetIdentifier": "$13", + "TTL": "$14", + "Weight": "$15" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-recordset-group b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-recordset-group new file mode 100644 index 00000000..3e93dfe0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-route53-recordset-group @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-route53-recordset-group +# key: route53-recordset-group +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:route53RSGroup}": { + "Type": "AWS::Route53::RecordSetGroup", + "Properties": { + "HostedZoneId": "$2", + "HostedZoneName": "$3", + "RecordSets": [ {$4} ], + "Comment": "$5" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-s3-bucket b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-s3-bucket new file mode 100644 index 00000000..62dcd3c5 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-s3-bucket @@ -0,0 +1,19 @@ +# -*- mode: snippet -*- +# name: aws-s3-bucket +# key: s3-bucket +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:s3Bucket}": { + "Type": "AWS::S3::Bucket", + "Properties": { + "AccessControl": "${2:$$(yas-choose-value '("true" "false" "Private" "PublicRead" "PublicReadWrite" "AuthenticatedRead" "LogDeliveryWrite" "BucketOwnerRead" "BucketOwnerFullControl"))}", + "BucketName": "$3", + "CorsConfiguration": {$4}, + "LifecycleConfiguration": {$5}, + "NotificationConfiguration": {$6}, + "VersioningConfiguration": {$7}, + "WebsiteConfiguration": {$8}, + "Tags": [$9] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-s3-bucketpolicy b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-s3-bucketpolicy new file mode 100644 index 00000000..f142ec8d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-s3-bucketpolicy @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-s3-bucketpolicy +# key: s3-bucketpolicy +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:s3BucketPolicy}": { + "Type": "AWS::S3::BucketPolicy", + "Properties": { + "Bucket" : "$2", + "PolicyDocument" : {$3} + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-security-group-egress-block b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-security-group-egress-block new file mode 100644 index 00000000..017ea7ad --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-security-group-egress-block @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: aws-security-group-egress-block +# key: security-group-egress-block +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"SecurityGroupEgress" : [ + ${1:--insert rules--} +]$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-securitygroup b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-securitygroup new file mode 100644 index 00000000..a7e79c15 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-securitygroup @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: aws-security-group +# key: security-group +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:secGroupName}" : { + "Type" : "AWS::EC2::SecurityGroup", + "Properties": { + "GroupName": "${2:-}", + "GroupDescription": "${3:-}", + "SecurityGroupIngress": [ + ${4:--insert rules--} + ], + "VpcId": ${5:ref-to-vpc}, + "Tags": [ ${6:insert tag} ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-securitygroup-rule b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-securitygroup-rule new file mode 100644 index 00000000..9d0afac0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-securitygroup-rule @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-securitygroup-rule +# key: sg-rule +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ +"Description": "$1", +"IpProtocol": "${2:$$(yas-choose-value '("tcp" "udp" "icmp" "-1"))}", +"FromPort": $3, +"ToPort": $4, +"${5:$$(yas-choose-value '("SourceSecurityGroupId" "DestinationSecurityGroupId" "CidrIp" "CidrIpv6" "DestinationPrefixListId"))}": "$6" +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-select-list b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-select-list new file mode 100644 index 00000000..213629fa --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-select-list @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-select-list +# key: select-list +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ "Fn::Select" : [ ${1:$$(yas-choose-value '("0" "1" "etc"))}, {"Ref": "${2:list_name}"} ] }$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sg-egress-cidr b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sg-egress-cidr new file mode 100644 index 00000000..4c9debfb --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sg-egress-cidr @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-sg-egress-cidr +# key: security-group-egress-cidr +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ "IpProtocol" : "${1:$$(yas-choose-value '("tcp" "udp" "ip"))}", "FromPort" : "${2:-}", "ToPort" : "${3:-}", "CidrIp" : "${4:-}" }$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sg-ingress-cidr b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sg-ingress-cidr new file mode 100644 index 00000000..871f5bf2 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sg-ingress-cidr @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-sg-ingress-cidr +# key: security-group-ingress +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ "IpProtocol" : "${1:$$(yas-choose-value '("tcp" "udp" "ip"))}", "FromPort" : "${2:-}", "ToPort" : "${3:-}", "CidrIp" : "${4:-}" }$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sns-topic b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sns-topic new file mode 100644 index 00000000..86b539bf --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sns-topic @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-sns-topic +# key: sns-topic +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:snsTopic}": { + "Type": "AWS::SNS::Topic", + "Properties": { + "DisplayName": "$2", + "Subscription": [ $3 ], + "TopicName": "$4" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sns-topicpolicy b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sns-topicpolicy new file mode 100644 index 00000000..bcdf7ade --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sns-topicpolicy @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-sns-topicpolicy +# key: sns-topicpolicy +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:snsTopicPolicy}": { + "Type": "AWS::SNS::TopicPolicy", + "Properties": + { + "PolicyDocument": {$2}, + "Topics": [ {$3} ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sqs-queue b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sqs-queue new file mode 100644 index 00000000..e45051d8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sqs-queue @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: aws-sqs-queue +# key: sqs-queue +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:sqsQueue}": { + "Type": "AWS::SQS::Queue", + "Properties": { + "DelaySeconds": "$2", + "MaximumMessageSize": "$3", + "MessageRetentionPeriod": "$4", + "QueueName": "$5", + "ReceiveMessageWaitTimeSeconds": "$6", + "RedrivePolicy": {$7}, + "VisibilityTimeout": "$8" + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sqs-queuepolicy b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sqs-queuepolicy new file mode 100644 index 00000000..a0b894fd --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-sqs-queuepolicy @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-sqs-queuepolicy +# key: sqs-queuepolicy +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:sqsQueuePolicy}": { + "Type": "AWS::SQS::QueuePolicy", + "Properties": { + "PolicyDocument": {$2}, + "Queues": [ $3 ] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-start b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-start new file mode 100644 index 00000000..f147dc43 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-start @@ -0,0 +1,28 @@ +# -*- mode: snippet -*- +# name: aws-start +# key: start +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ + "AWSTemplateFormatVersion": "2010-09-09", + "Description": "${1}", + "Metadata": { + + }, + "Parameters": { + + }, + "Mappings": { + + }, + "Conditions": { + + }, + "Resources": { + + }, + "Outputs": { + + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-subnet b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-subnet new file mode 100644 index 00000000..e753503a --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-subnet @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-subnet +# key: subnet +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:subnetName}": { + "Type": "AWS::EC2::Subnet", + "Properties": { + "AvailabilityZone": ${2:"-"}, + "VpcId": ${3:"-"}, + "CidrBlock": ${4:"-"}, + "Tags": [${5:"-"}] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-tag b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-tag new file mode 100644 index 00000000..235c1216 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-tag @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-tag +# key: tag +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +{ "Key": "${1:-}", "Value": ${2:"--"} }$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-vpc b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-vpc new file mode 100644 index 00000000..0d45433b --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-vpc @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-vpc +# key: vpc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:name}": { + "Type": "AWS::EC2::VPC", + "Properties": { + "CidrBlock": ${2:"----/--"}, + "Tags": [${3:-}] + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-vpn-gateway b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-vpn-gateway new file mode 100644 index 00000000..57aa4ce8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/json-mode/aws-vpn-gateway @@ -0,0 +1,20 @@ +# -*- mode: snippet -*- +# name: aws-vpn-gateway +# key: vpn-gateway +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +"${1:vgwName}": { + "Type": "AWS::EC2::VPNGateway", + "Properties": { + "Type": "ipsec.1", + "Tags": [${2:"--"}] + } +}, +"AttachVpnGateway": { + "Type": "AWS::EC2::VPCGatewayAttachment", + "Properties": { + "VpcId": ${3:"--"}, + "VpnGatewayId": { "Ref": "$1" } + } +}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/sh-mode/.yas-parents b/elpa/aws-snippets-20190207.1047/snippets/sh-mode/.yas-parents new file mode 100644 index 00000000..bf9d9870 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/sh-mode/.yas-parents @@ -0,0 +1,2 @@ +shell-mode +eshell-mode diff --git a/elpa/aws-snippets-20190207.1047/snippets/shell-mode/.yas-parents b/elpa/aws-snippets-20190207.1047/snippets/shell-mode/.yas-parents new file mode 100644 index 00000000..2de397c8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/shell-mode/.yas-parents @@ -0,0 +1 @@ +eshell-mode diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-autoscaling-group b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-autoscaling-group new file mode 100644 index 00000000..54942277 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-autoscaling-group @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-group +# key: autoscaling-group +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:-}: + Type: AWS::AutoScaling::AutoScalingGroup + Properties: + AvailabilityZones: ${2:"--"} + LaunchConfigurationName: ${3:"--"}, + MaxSize: ${4:--} + MinSize: ${5:--} + Tags: + - Key: Name + Value: ${6:"--"} + PropagateAtLaunch: True +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-autoscaling-group-vpc b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-autoscaling-group-vpc new file mode 100644 index 00000000..67966f85 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-autoscaling-group-vpc @@ -0,0 +1,21 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-group-vpc +# key: autoscaling-group-vpc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:-}: + Type: AWS::AutoScaling::AutoScalingGroup + Properties: + AvailabilityZones: ${2:azs} + LaunchConfigurationName: ${3:"-"} + MaxSize: ${4:-} + MinSize: ${5:-} + VPCZoneIdentifier: + - ${6:list of subnet ids} + Tags: + - Key: "${7:Name}" + Value: "${8:-}" + PropagateAtLaunch: "True" + +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-availability-zone b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-availability-zone new file mode 100644 index 00000000..626e6f98 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-availability-zone @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-availability-zone +# key: availability-zone +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +!Join: ["",[ Ref: AWS::Region,"${1:a}" ] ]$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-authentication b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-authentication new file mode 100644 index 00000000..d3f07097 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-authentication @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-authentication +# key: cloudformation-authentication +# group: cloudformation +# -- +AWS::CloudFormation::Authentication: + ${1:AccessCreds}: + type: "$2" + buckets: "$3" + roleName: "$4" + accessKeyId: "$5" + secretKey: "$6" + uris: [ "$7" ] + username: "$8" + password: "$9" + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-customresource b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-customresource new file mode 100644 index 00000000..8f292144 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-customresource @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-customresource +# key: cloudformation-customresource +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:customResource}: + Type: AWS::CloudFormation::CustomResource + Version: "1.0", + Properties: + ServiceToken: "$2" + $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-init b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-init new file mode 100644 index 00000000..61ef959e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-init @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-init +# key: cloudformation-init +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +AWS::CloudFormation::Init: + config: + packages: + $0 + groups: + users: + sources: + files: + commands: + services: + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-stack b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-stack new file mode 100644 index 00000000..e7b82315 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-stack @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-stack +# key: cloudformation-stack +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:cloudFormationStack}: + Type: AWS::CloudFormation::Stack + Properties: + NotificationARNs: + - $2 + Parameters: + - $3 + TemplateURL: $4 + TimeoutInMinutes: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-waitcondition b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-waitcondition new file mode 100644 index 00000000..2bcc07d1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-waitcondition @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-waitcondition +# key: cloudformation-waitcondition +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:waitCondition}: + Type: AWS::CloudFormation::WaitCondition + Properties: + Count: $2 + Handle: $3 + Timeout: $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-waitconditionhandle b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-waitconditionhandle new file mode 100644 index 00000000..80745921 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudformation-waitconditionhandle @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-waitconditionhandle +# key: cloudformation-waitconditionhandle +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:waitConditionHandle}: + Type: AWS::CloudFormation::WaitConditionHandle + Properties: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudfront-distribution b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudfront-distribution new file mode 100644 index 00000000..8e4b0695 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudfront-distribution @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-cloudfront-distribution +# key: cloudfront-distribution +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:cloudfrontDistribution}: + Type: AWS::CloudFront::Distribution + Properties: + DistributionConfig: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudtrail b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudtrail new file mode 100644 index 00000000..7bcaabf5 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudtrail @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-cloudtrail +# key: cloudtrail +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:cloudTrail}: + Type: AWS::CloudTrail::Trail + Properties: + S3BucketName: $2 + IncludeGlobalServiceEvents: ${3:$$(yas-choose-value '("true" "false")} + IsLogging: ${4:$$(yas-choose-value '("true" "false"))} + S3KeyPrefix: $5 + SnsTopicName: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudwatch-alarm b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudwatch-alarm new file mode 100644 index 00000000..263f8576 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-cloudwatch-alarm @@ -0,0 +1,29 @@ +# -*- mode: snippet -*- +# name: aws-cloudwatch-alarm +# key: cloudwatch-alarm +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:cloudWatchAlarm}: + Type: AWS::CloudWatch::Alarm + Properties: + MetricName: $2 + Namespace: $3 + ComparisonOperator: $4 + EvaluationPeriods: $5 + Period: $6 + Statistic: $7 + Threshold: $8 + ActionsEnabled: ${9:$$(yas-choose-value '("true" "false"))} + AlarmActions: + - $10 + AlarmDescription: $11 + AlarmName: $12 + Dimensions: + - $13 + InsufficientDataActions: + - $14 + OKActions: + - $15 + Unit: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-dynamodb-table b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-dynamodb-table new file mode 100644 index 00000000..3eb58ace --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-dynamodb-table @@ -0,0 +1,20 @@ +# -*- mode: snippet -*- +# name: aws-dynamodb-table +# key: dynamodb-table +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:dynamodbTable}: + Type: AWS::DynamoDB::Table + Properties: + AttributeDefinitions: + - $2 + GlobalSecondaryIndexes: + - $3 + KeySchema: + - $4 + LocalSecondaryIndexes: + - $5 + ProvisionedThroughput: $6 + TableName: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ec2-instance b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ec2-instance new file mode 100644 index 00000000..1ef21cad --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ec2-instance @@ -0,0 +1,26 @@ +# -*- mode: snippet -*- +# name: aws-ec2-instance +# key: ec2-instance +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:-}: + Type: AWS::EC2::Instance + Properties: + KeyName: ${2:-}, + DisableApiTermination: ${3:$$(yas-choose-value '("true" "false"))} + ImageId: { ${4:-} } + InstanceType: ${5:-} + Monitoring: ${6:$$(yas-choose-value '("true" "false"))} + SecurityGroupIds: + - ${7:-} + Tags: + - Key: ${8:-} + Value: ${9:-} + UserData: + Fn::Base64: + !Join: + - "" + - "#!/bin/bash -ex" + - "${10:-}" +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ec2-volume b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ec2-volume new file mode 100644 index 00000000..ef23e968 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ec2-volume @@ -0,0 +1,20 @@ +# -*- mode: snippet -*- +# name: aws-ec2-volume +# key: ec2-volume +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:ec2Volume}: + Type: AWS::EC2::Volume + Properties: + AutoEnableIO: ${2:$$(yas-choose-value '("true" "false"))} + AvailabilityZone: ${3:-} + Encrypted: ${4:$$(yas-choose-value '("true" "false"))} + KmsKeyId: "${5:-}", + Size: "${6:-}", + SnapshotId: ${7:snap-} + Tags: + - Key: ${8:-} + Value: ${9:-} + VolumeType: ${10:$$(yas-choose-value '("standard" "io1" "gp2"))} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-eip-vpc b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-eip-vpc new file mode 100644 index 00000000..0a2c4b5c --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-eip-vpc @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-eip-vpc +# key: eip-vpc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:eipName}: + Type: AWS::EC2::EIP + Properties: + Domain: "vpc", + InstanceId: ${2:"--"} + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer new file mode 100644 index 00000000..c0a6c879 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-elastic-load-balancer +# key: elastic-load-balancer +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:-}: + Type: AWS::ElasticLoadBalancing::LoadBalancer + Properties: + AvailabilityZones: + - ${2:-} + Listeners: + - ${3:-} + Tags": + tag$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer-vpc b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer-vpc new file mode 100644 index 00000000..dd1ceb92 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer-vpc @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-elastic-load-balancer-vpc +# key: elastic-load-balancer-vpc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:-}: + Type: AWS::ElasticLoadBalancing::LoadBalancer + Properties: + Listeners: + - ${2:-} + SecurityGroups: + ${3:-} + Subnets: + - ${4:-} + Tags: + tag$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer-vpc-internal b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer-vpc-internal new file mode 100644 index 00000000..13db8dfa --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elastic-load-balancer-vpc-internal @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: aws-elastic-load-balancer-vpc-internal +# key: elastic-load-balancer-vpc-internal +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:-}: + Type: AWS::ElasticLoadBalancing::LoadBalancer + Properties: + Listeners: + - ${2:-} + Scheme: "internal" + SecurityGroups: + - ${3:-} + Subnets: + - ${4:-} + Tags: + tag$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-cachecluster b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-cachecluster new file mode 100644 index 00000000..f5ccc2b9 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-cachecluster @@ -0,0 +1,33 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-cachecluster +# key: elasticche-cachecluster +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:elasticacheCacheCluster}: + Type: AWS::ElastiCache::CacheCluster + Properties: + AutoMinorVersionUpgrade: ${2:$$(yas-choose-value '("true" "false"))} + AZMode: $3 + CacheNodeType: $4 + CacheParameterGroupName: $5 + CacheSecurityGroupNames: + - $6 + CacheSubnetGroupName: $7 + ClusterName: $8 + Engine: $9 + EngineVersion: $10 + NotificationTopicArn: $11 + NumCacheNodes: $12 + Port: $13 + PreferredAvailabilityZone: $14 + PreferredAvailabilityZones: + - $15 + PreferredMaintenanceWindow: $16 + SnapshotArns: + - $17 + SnapshotRetentionLimit: $18 + SnapshotWindow: $19 + VpcSecurityGroupIds: + - $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-parametergroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-parametergroup new file mode 100644 index 00000000..8fcb2733 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-parametergroup @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-parametergroup +# key: elasticache-parametergroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:elasticacheParameterGroup}: + Type: AWS::ElastiCache::ParameterGroup + Properties: + CacheParameterGroupFamily: $2 + Description: $3 + Properties: + $4: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-securitygroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-securitygroup new file mode 100644 index 00000000..e8455c10 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-securitygroup @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-securitygroup +# key: elasticache-securitygroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:elasticacheSecurityGroup}: + Type: AWS::ElastiCache::SecurityGroup + Properties: + Description: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-securitygroupingress b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-securitygroupingress new file mode 100644 index 00000000..9dd04e00 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-securitygroupingress @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-securitygroupingress +# key: elasticache-securitygroupingress +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:elasticacheSecurityGroupIngress}: + Type: AWS::ElastiCache::SecurityGroupIngress + Properties: + CacheSecurityGroupName: $2 + EC2SecurityGroupName: $3 + EC2SecurityGroupOwnerId: $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-subnetgroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-subnetgroup new file mode 100644 index 00000000..f624a9cd --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticache-subnetgroup @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-elasticache-subnetgroup +# key: elasticache-subnetgroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:elasticacheSubnetGroup}: + Type: AWS::ElastiCache::SubnetGroup + Properties: + Description: $2 + SubnetIds: + - $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-application b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-application new file mode 100644 index 00000000..8b4ace4e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-application @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: aws-elasticbeanstalk-application +# key: elasticbeanstalk-application +# group: cloudformation +# -- +${1:elasticbeanstalkApplication}: + Type: AWS::ElasticBeanstalk::Application + Properties: + ApplicationName: $2 + Description: $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-applicationversion b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-applicationversion new file mode 100644 index 00000000..3fd7cccc --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-applicationversion @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-elasticbeanstalk-applicationversion +# key: elasticbeanstalk-applicationversion +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:elasticbeanstalkApplicationVersion}: + Type: AWS::ElasticBeanstalk::ApplicationVersion + Properties: + ApplicationName: $2 + Description: $3 + SourceBundle: + $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-configurationtemplate b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-configurationtemplate new file mode 100644 index 00000000..eb2cf3f1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-configurationtemplate @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: aws-elasticbeanstalk-configurationtemplate +# key: elasticbeanstalk-configurationtemplate +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:elasticbeanstalkConfigurationTemplate}: + Type: AWS::ElasticBeanstalk::ConfigurationTemplate + Properties: + ApplicationName: $2 + Description: $3 + EnvironmentId: $4 + OptionSettings: + - $5 + SolutionStackName: $6 + SourceConfiguration: $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-environment b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-environment new file mode 100644 index 00000000..f9e6e332 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elasticbeanstalk-environment @@ -0,0 +1,20 @@ +# -*- mode: snippet -*- +# name: aws-elasticbeanstalk-environment +# key: elasticbeanstalk-environment +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:elasticbeanstalkEnvironment}: + Type: AWS::ElasticBeanstalk::Environment + Properties: + ApplicationName: $2 + CNAMEPrefix: $3 + Description: $4 + EnvironmentName: $5 + OptionSettings: + - $6 + SolutionStackName: $7 + TemplateName: $8 + Tier: $9 + VersionLabel: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elb-listener b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elb-listener new file mode 100644 index 00000000..c9287ca4 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-elb-listener @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: aws-elb-listener +# key: elb-listener +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +InstancePort: ${1:-} +InstanceProtocol: ${2:$$(yas-choose-value '("HTTP" "HTTPS" "TCP" "SSL"))} +LoadBalancerPort: ${3:$1} +Protocol: ${4:$$(yas-choose-value '("HTTP" "HTTPS" "TCP" "SSL"))} diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-find-in-map b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-find-in-map new file mode 100644 index 00000000..2f6467e8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-find-in-map @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-find-in-map +# key: find-in-map +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +!FindInMap + - ${1:map} + - ${2:selector} + - ${3:value} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-get-attr b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-get-attr new file mode 100644 index 00000000..bc2da49d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-get-attr @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-get-attr +# key: get-attr +# group: cloudformation +# -- +!GetAtt [ ${1:logicalNameOfResource}, ${2:attributeName} ]$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-accesskey b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-accesskey new file mode 100644 index 00000000..eda87b79 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-accesskey @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-iam-accesskey +# key: iam-accesskey +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:iamAccessKey}: + Type: AWS::IAM::AccessKey + Properties: + Status: $2 + UserName: $3 + Serial: $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-group b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-group new file mode 100644 index 00000000..b48c3251 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-group @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-iam-group +# key: iam-group +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:iamGroup}: + Type: AWS::IAM::Group + Properties: + Path: $2 + Policies: + - $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-instanceprofile b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-instanceprofile new file mode 100644 index 00000000..01a5a073 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-instanceprofile @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-iam-instanceprofile +# key: iam-instanceprofile +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:iamInstanceProfile}: + Type: AWS::IAM::InstanceProfile + Properties: + Path: ${2:/} + Roles: + - $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-policy b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-policy new file mode 100644 index 00000000..4375d3c1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-policy @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: aws-iam-policy +# key: iam-policy +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:iamPolicy}: + Type: AWS::IAM::Policy + Properties: + Groups: + - $2 + PolicyDocument: {$3} + PolicyName: $4 + Roles: + - $5 + Users: + - $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-role b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-role new file mode 100644 index 00000000..4726ee11 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-role @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-iam-role +# key: iam-role +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:iamRole}: + Type: AWS::IAM::Role + Properties: + AssumeRolePolicyDocument": $2 + Path: $3 + Policies: + - $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-user b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-user new file mode 100644 index 00000000..ab627ae3 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-user @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-iam-user +# key: iam-user +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:iamUser}: + Type: AWS::IAM::User + Properties: + Path: ${2:/} + Groups: + - $3 + LoginProfile: + Password: "$4" + Policies: + - $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-usertogroupaddition b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-usertogroupaddition new file mode 100644 index 00000000..3cf369c7 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-iam-usertogroupaddition @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-iam-usertogroupaddition +# key: iam-usertogroupaddition +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:iamUserToGroupAddition}: + Type: AWS::IAM::UserToGroupAddition + Properties: + GroupName: $2 + Users: + - $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-internet-gateway b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-internet-gateway new file mode 100644 index 00000000..88447ae4 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-internet-gateway @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: aws-internet-gateway +# key: internet-gateway +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:igwName}: + Type: AWS::EC2::InternetGateway + Properties: + Tags: + tag$0 +AttachGateway: + Type: AWS::EC2::VPCGatewayAttachment + Properties: + VpcId: ${3:"--"} + InternetGatewayId: { "Ref": "$1" } + + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-join b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-join new file mode 100644 index 00000000..71b8881a --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-join @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-join +# key: join +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +!Join [ "$1",[ ${2:"prefix"}, ${3:"suffix"} ] ]$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-kinesis-stream b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-kinesis-stream new file mode 100644 index 00000000..02204e17 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-kinesis-stream @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-kinesis-stream +# key: kinesis-stream +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:kinesisStream}: + Type: AWS::Kinesis::Stream + Properties: + ShardCount: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-launch-config b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-launch-config new file mode 100644 index 00000000..ba945d9f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-launch-config @@ -0,0 +1,22 @@ +# -*- mode: snippet -*- +# name: aws-launch-config +# key: launch-config +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:launchConfigName}: + Type: AWS::AutoScaling::LaunchConfiguration + Properties: + IamInstanceProfile: ${2:"--"} + ImageId: ${3:"--"} + InstanceMonitoring: ${4:"--"} + InstanceType: ${5:--} + KeyName: ${6:"--"} + SecurityGroups: + - $0 + UserData: + Fn::Base64: + !Join: + - "" + - "#!/bin/bash -ex" + - "${7:-}" diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-logs-loggroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-logs-loggroup new file mode 100644 index 00000000..c7b6d63d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-logs-loggroup @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: aws-logs-loggroup +# key: logs-loggroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:logLogGroup}: + Type: AWS::Logs::LogGroup + Properties: + RetentionInDays: "${2:7}" diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-logs-metricfilter b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-logs-metricfilter new file mode 100644 index 00000000..9bc0f8ab --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-logs-metricfilter @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-logs-metricfilter +# key: logs-metricfilter +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:logsMetricFilter}: + Type: AWS::Logs::MetricFilter + Properties: + FilterPattern: "[ $2 ]" + LogGroupName: $3, + MetricTransformations: + - + $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-map b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-map new file mode 100644 index 00000000..5c504d34 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-map @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-map +# key: map +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:mapName}: + ${2:selector}: + ${3:key}: ${4:val} + ${5:selector}: + ${6:key}: ${7:val} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-map-item b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-map-item new file mode 100644 index 00000000..56f14e39 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-map-item @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: aws-map-item +# key: map-item +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:selector}: + ${2:key}: ${3:val} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-app b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-app new file mode 100644 index 00000000..6dbf33bf --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-app @@ -0,0 +1,24 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-app +# key: opsworks-app +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:opsworksApp}: + Type: AWS::OpsWorks::App + Properties: + Name: $2 + StackId: $3 + Type: $4 + AppSource: + $5 + Attributes: + $6:$7 + Description: $8 + Domains: + - $9 + EnableSsl: ${10:$$(yas-choose-value '("true" "false"))} + Shortname: $11 + SslConfiguration: + $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-elasticloadbalancerattachment b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-elasticloadbalancerattachment new file mode 100644 index 00000000..0a041980 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-elasticloadbalancerattachment @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-elasticloadbalancerattachment +# key: opsworks-elasticloadbalancerattachment +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:opsworksElasticLoadBalancerAttachment}: + Type: AWS::OpsWorks::ElasticLoadBalancerAttachment + Properties: + ElasticLoadBalancerName: $2 + LayerId: $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-instance b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-instance new file mode 100644 index 00000000..7f2ed543 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-instance @@ -0,0 +1,25 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-instance +# key: opsworks-instance +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:opsworksInstance}: + Type: AWS::OpsWorks::Instance + Properties: + InstanceType: $2 + LayerIds: + - $3 + StackId: $4 + AmiId: $5 + Architecture: $6 + AutoScalingType: $7 + AvailabilityZone: $8 + InstallUpdatesOnBoot: ${9:$$(yas-choose-value '("true" "false"))} + Os: $10 + RootDeviceType: $11 + SshKeyName: $12 + SubnetId: $13 + TimeBasedAutoScaling: + $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-layer b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-layer new file mode 100644 index 00000000..9d9eadd0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-layer @@ -0,0 +1,29 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-layer +# key: opsworks-layer +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:opsworksLayer}: + Type: AWS::OpsWorks::Layer + Properties: + AutoAssignElasticIps: ${2:$$(yas-choose-value '("true" "false"))} + AutoAssignPublicIps: ${3:$$(yas-choose-value '("true" "false"))} + EnableAutoHealing: ${4:$$(yas-choose-value '("true" "false"))} + Name: $5 + Shortname: $6 + StackId: $7 + Type: $8 + Attributes: + $9:$10 + CustomInstanceProfileArn: $11 + CustomRecipes: $12 + CustomSecurityGroupIds: + - $13 + InstallUpdatesOnBoot: ${14:$$(yas-choose-value '("true" "false"))} + LoadBasedAutoScaling: + $15 + Packages: + - $16 + VolumeConfigurations: + - $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-stack b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-stack new file mode 100644 index 00000000..24cea72e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-opsworks-stack @@ -0,0 +1,32 @@ +# -*- mode: snippet -*- +# name: aws-opsworks-stack +# key: opsworks-stack +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:opsworksStack}: + Type: AWS::OpsWorks::Stack + Properties: + DefaultInstanceProfileArn: $2 + Name: $3 + ServiceRoleArn: $4 + Attributes: + $5:$6 + ChefConfiguration: + $7 + ConfigurationManager: + $8 + CustomCookbooksSource: + $9 + CustomJson: + $10 + DefaultAvailabilityZone: $11 + DefaultOs: $12 + DefaultRootDeviceType: $13 + DefaultSshKeyName: $14 + DefaultSubnetId: $15 + HostnameTheme: $16 + UseCustomCookbooks: ${17:$$(yas-choose-value '("true" "false"))} + UseOpsworksSecurityGroup": ${18:$$(yas-choose-value '("true" "false"))} + VpcId: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-output b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-output new file mode 100644 index 00000000..0a0938f9 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-output @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-output +# key: output +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:name}: + Value: ${2:Value to return} + Description: ${3:Information about the value} + Export: + Name: ${4:Value to export} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-parameter b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-parameter new file mode 100644 index 00000000..1ddeb14b --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-parameter @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-parameter +# key: parameter +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:paramName}: + Description: ${2:-} + Type: ${3:$$(yas-choose-value '("String" "Number" "CommaDelimitedList"))} + Default: ${4:-} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbinstance b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbinstance new file mode 100644 index 00000000..50299c9d --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbinstance @@ -0,0 +1,43 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbinstance +# key: rds-dbinstance +# group: cloudformation +# -- +${1:rdsDBInstance}: + Type: AWS::RDS::DBInstance + Properties: + AllocatedStorage: ${2} + DBInstanceClass: ${3} + AllowMajorVersionUpgrade: ${4:$$(yas-choose-value '("true" "false"))} + AutoMinorVersionUpgrade: ${5:$$(yas-choose-value '("true" "false"))} + AvailabilityZone: $6 + BackupRetentionPeriod: $7 + CharacterSetName: $8 + DBInstanceIdentifier: $9 + DBName: $10 + DBParameterGroupName: $11 + DBSecurityGroups: + - $12 + DBSnapshotIdentifier: $13 + DBSubnetGroupName: $14 + Engine: $15 + EngineVersion: $16 + Iops: $17 + KmsKeyId: $18 + LicenseModel: $19 + MasterUsername: $20 + MasterUserPassword: $21 + MultiAZ: ${22:$$(yas-choose-value '("true" "false"))} + OptionGroupName: $23 + Port: $24 + PreferredBackupWindow: $25 + PreferredMaintenanceWindow: $26 + PubliclyAccessible: ${27:$$(yas-choose-value '("true" "false"))} + SourceDBInstanceIdentifier: $28 + StorageEncrypted: ${29:$$(yas-choose-value '("true" "false"))} + StorageType: $30 + Tags: + tag$0 + VPCSecurityGroups: + $32 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbparametergroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbparametergroup new file mode 100644 index 00000000..7efaf5f7 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbparametergroup @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbparametergroup +# key: rds-dbparametergroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:rdsDBParameterGroup}: + Type: AWS::RDS::DBParameterGroup + Properties: + Description: $2 + Family: $3 + Parameters: + - $4 + Tags: + tag$0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsecuritygroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsecuritygroup new file mode 100644 index 00000000..11af455e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsecuritygroup @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbsecuritygroup +# key: rds-dbsecuritygroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:rdsDBSecurityGroup}: + Type: AWS::RDS::DBSecurityGroup + Properties: + EC2VpcId: $2 + DBSecurityGroupIngress: + $3 + GroupDescription: $4 + Tags: + tag$0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsecuritygroupingress b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsecuritygroupingress new file mode 100644 index 00000000..78aea857 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsecuritygroupingress @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbsecuritygroupingress +# key: rds-dbsecuritygroupingress +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +CIDRIP: $1 +DBSecurityGroupName: $2 +EC2SecurityGroupId: $3 +EC2SecurityGroupName: $4 +EC2SecurityGroupOwnerId: $5 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsubnetgroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsubnetgroup new file mode 100644 index 00000000..d05e7d97 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-dbsubnetgroup @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-rds-dbsubnetgroup +# key: rds-dbsubnetgroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:rdsDBSubnetGroup}: + Type: AWS::RDS::DBSubnetGroup + Properties: + DBSubnetGroupDescription: $2 + SubnetIds: + $3 + Tags: + tag$0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-eventsubscription b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-eventsubscription new file mode 100644 index 00000000..c1b38d04 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-rds-eventsubscription @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-rds-eventsubscription +# key: rds-eventsubscription +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:rdsEventSubscription}: + Type: AWS::RDS::EventSubscription + Properties: + Enabled: ${2:$$(yas-choose-value '("true" "false"))} + EventCategories: + - $3 + SnsTopicArn: $4 + SourceIds: + - $5 + SourceType: $6 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-cluster b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-cluster new file mode 100644 index 00000000..8eeeb7dc --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-cluster @@ -0,0 +1,36 @@ +# -*- mode: snippet -*- +# name: aws-redshift-cluster +# key: redshift-cluster +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:redshiftCluster}: + Type: AWS::Redshift::Cluster + Properties: + AllowVersionUpgrade: ${2:$$(yas-choose-value '("true" "false"))} + AutomatedSnapshotRetentionPeriod: $3 + AvailabilityZone: $4 + ClusterParameterGroupName: $5 + ClusterSecurityGroups: + $6 + ClusterSubnetGroupName: $7 + ClusterType: $8 + ClusterVersion: $9 + DBName: $10 + ElasticIp: $11 + Encrypted: ${12:$$(yas-choose-value '("true" "false"))} + HsmClientCertificateIdentifier: $13 + HsmConfigurationIdentifier: $14 + MasterUsername: $15 + MasterUserPassword: $16 + NodeType: $17 + NumberOfNodes: $18 + OwnerAccount: $19 + Port: $20 + PreferredMaintenanceWindow: $21 + PubliclyAccessible: ${22:$$(yas-choose-value '("true" "false"))} + SnapshotClusterIdentifier: $23 + SnapshotIdentifier: $24 + VpcSecurityGroupIds: + $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clusterparametergroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clusterparametergroup new file mode 100644 index 00000000..c2e18931 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clusterparametergroup @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-redshift-clusterparametergroup +# key: redshift-clusterparametergroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:redshiftClusterParameterGroup}: + Type: AWS::Redshift::ClusterParameterGroup + Properties: + Description: $2 + ParameterGroupFamily: $3 + Parameters: + $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersecuritygroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersecuritygroup new file mode 100644 index 00000000..62080dc2 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersecuritygroup @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-redshift-clustersecuritygroup +# key: redshift-clustersecuritygroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:redshiftClusterSecurityGroup}: + Type: AWS::Redshift::ClusterSecurityGroup + Properties: + Description": $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersecuritygroupingress b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersecuritygroupingress new file mode 100644 index 00000000..cccbb1fb --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersecuritygroupingress @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-redshift-clustersecuritygroupingress +# key: redshift-clustersecuritygroupingress +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:redshiftClusterSecurityGroupIngress}: + Type: AWS::Redshift::ClusterSecurityGroupIngress + Properties: + ClusterSecurityGroupName: $2 + CIDRIP: $3 + EC2SecurityGroupName: $4 + EC2SecurityGroupOwnerId: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersubnetgroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersubnetgroup new file mode 100644 index 00000000..ed8bbef2 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-redshift-clustersubnetgroup @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-redshift-clustersubnetgroup +# key: redshift-clustersubnetgroup +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:redshiftClusterSubnetGroup}: + Type: "AWS::Redshift::ClusterSubnetGroup", + Properties: + Description: $2 + SubnetIds: + $3 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ref b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ref new file mode 100644 index 00000000..f3be6df8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-ref @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-ref +# key: ref +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +!Ref: ${1:logicalName}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-resource b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-resource new file mode 100644 index 00000000..de5d17a0 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-resource @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-resource +# key: resource +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:resourceName}: + Description: ${2:-} + Type: ${3:-} + Properties: ${4:-} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route new file mode 100644 index 00000000..5e064066 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-route +# key: route +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:routeName}: + Type: AWS::EC2::Route + Properties: + RouteTableId: ${2:"--"} + DesinationCidrBlock: ${3:"--"} + GatewayId: ${4:"--"} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route-table b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route-table new file mode 100644 index 00000000..0c55e5ce --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route-table @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-route-table +# key: route-table +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:routeTableName}: + Type: AWS::EC2::RouteTable + Properties: + VpcId: ${2:"--"} + Tags: + - ${3:"--"} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route-table-assoc b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route-table-assoc new file mode 100644 index 00000000..ecc8e2bd --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route-table-assoc @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-route-table-assoc +# key: route-table-assoc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:routeTableAssocName"}: + Type: AWS::EC2::SubnetRouteTableAssociation + Properties: + SubnetId: ${2:"--"}, + RouteTableId: ${3:"--"} +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-healthcheck b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-healthcheck new file mode 100644 index 00000000..af59362b --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-healthcheck @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-route53-healthcheck +# key: route53-healthcheck +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:route53HealthCheck}: + Type: AWS::Route53::HealthCheck + Properties: + HealthCheckConfig: $2 + HealthCheckTags: $3 +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-hostedzone b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-hostedzone new file mode 100644 index 00000000..0b7d8267 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-hostedzone @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-route53-hostedzone +# key: route53-hostedzone +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +$1: + Type: AWS::Route53::HostedZone + Properties: + Name: $2 + VPCs: $3 + HostedZoneConfig: $4 + HostedZoneTags: + - $5 +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-recordset b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-recordset new file mode 100644 index 00000000..bd63abaf --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-recordset @@ -0,0 +1,25 @@ +# -*- mode: snippet -*- +# name: aws-route53-recordset +# key: route53-recordset +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:route53RS}: + Type: AWS::Route53::RecordSet + Properties: + Name: $2 + Type: ${3:$$(yas-choose-value '("A" "AAAA" "CNAME" "MX" "NS" "PTR" "SOA" "SPF" "SRV" "TXT"))} + AliasTarget: $4 + Comment: $5 + Failover: $6 + GeoLocation: $7 + HealthCheckId: $8 + HostedZoneId: $9 + HostedZoneName: $10 + Region: $11 + ResourceRecords: + - $12 + SetIdentifier: $13 + TTL: $14 + Weight: $15 +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-recordset-group b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-recordset-group new file mode 100644 index 00000000..455dfaf3 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-route53-recordset-group @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-route53-recordset-group +# key: route53-recordset-group +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:route53RSGroup}: + Type: AWS::Route53::RecordSetGroup + Properties: + HostedZoneId: $2 + HostedZoneName: $3 + RecordSets: + - {$4} + Comment: $5 +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-s3-bucket b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-s3-bucket new file mode 100644 index 00000000..d86b36a7 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-s3-bucket @@ -0,0 +1,19 @@ +# -*- mode: snippet -*- +# name: aws-s3-bucket +# key: s3-bucket +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:s3Bucket}: + Type: AWS::S3::Bucket + Properties: + AccessControl: ${2:$$(yas-choose-value '("true" "false" "Private" "PublicRead" "PublicReadWrite" "AuthenticatedRead" "LogDeliveryWrite" "BucketOwnerRead" "BucketOwnerFullControl"))} + BucketName: $3 + CorsConfiguration: $4 + LifecycleConfiguration: $5 + NotificationConfiguration: $6 + VersioningConfiguration: $7 + WebsiteConfiguration: $8 + Tags: + tag$0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-s3-bucketpolicy b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-s3-bucketpolicy new file mode 100644 index 00000000..5eb71e66 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-s3-bucketpolicy @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-s3-bucketpolicy +# key: s3-bucketpolicy +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:s3BucketPolicy}: + Type: AWS::S3::BucketPolicy + Properties: + Bucket : $2 + PolicyDocument: + - $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-securitygroup b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-securitygroup new file mode 100644 index 00000000..11c00c38 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-securitygroup @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-security-group +# key: security-group +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:secGroupName}: + Type: AWS::EC2::SecurityGroup + Properties: + GroupName: ${2:-} + GroupDescription: ${3:-} + SecurityGroupIngress: + - ${4:--insert rules--} + VpcId: ${5:ref-to-vpc} + Tags: + $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-securitygroup-rule b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-securitygroup-rule new file mode 100644 index 00000000..7346e5b1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-securitygroup-rule @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: aws-securitygroup-rule +# key: sg-rule +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +Description: "$1" +IpProtocol: "${2:$$(yas-choose-value '("tcp" "udp" "icmp" "-1"))}" +FromPort: $3 +ToPort: $4 +${5:$$(yas-choose-value '("SourceSecurityGroupId" "DestinationSecurityGroupId" "CidrIp" "CidrIpv6" "DestinationPrefixListId"))}: "$6"$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-select-list b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-select-list new file mode 100644 index 00000000..d40001b1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-select-list @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: aws-select-list +# key: select-list +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +!Select: [ ${1:$$(yas-choose-value '("0" "1" "etc"))}, {"Ref": "${2:list_name}"} ] }$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sg-egress-cidr b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sg-egress-cidr new file mode 100644 index 00000000..c6679853 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sg-egress-cidr @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: aws-sg-egress-cidr +# key: security-group-egress-cidr +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +IpProtocol: ${1:$$(yas-choose-value '("tcp" "udp" "ip"))} +FromPort: ${2:-} +ToPort: ${3:-} +CidrIp: ${4:-} diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sg-ingress-cidr b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sg-ingress-cidr new file mode 100644 index 00000000..34b5dad1 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sg-ingress-cidr @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: aws-sg-ingress-cidr +# key: security-group-ingress +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +IpProtocol: ${1:$$(yas-choose-value '("tcp" "udp" "ip"))} +FromPort: ${2:-} +ToPort: ${3:-} +CidrIp: ${4:-} diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sns-topic b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sns-topic new file mode 100644 index 00000000..8b4822cd --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sns-topic @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-sns-topic +# key: sns-topic +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:snsTopic}: + Type: AWS::SNS::Topic + Properties: + DisplayName: $2 + Subscription: + $3 + TopicName: $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sns-topicpolicy b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sns-topicpolicy new file mode 100644 index 00000000..e2d86e73 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sns-topicpolicy @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: aws-sns-topicpolicy +# key: sns-topicpolicy +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:snsTopicPolicy}: + Type: AWS::SNS::TopicPolicy + Properties: + PolicyDocument: $2 + Topics: $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sqs-queue b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sqs-queue new file mode 100644 index 00000000..0535df7f --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sqs-queue @@ -0,0 +1,17 @@ +# -*- mode: snippet -*- +# name: aws-sqs-queue +# key: sqs-queue +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:sqsQueue}: + Type: AWS::SQS::Queue + Properties: + DelaySeconds: $2 + MaximumMessageSize: $3 + MessageRetentionPeriod: $4 + QueueName: $5 + ReceiveMessageWaitTimeSeconds: $6 + RedrivePolicy: + - $7 + VisibilityTimeout: $0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sqs-queuepolicy b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sqs-queuepolicy new file mode 100644 index 00000000..6d620cd7 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-sqs-queuepolicy @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: aws-sqs-queuepolicy +# key: sqs-queuepolicy +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:sqsQueuePolicy}: + Type: AWS::SQS::QueuePolicy + Properties: + PolicyDocument: + - $2 + Queues: + $0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-start b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-start new file mode 100644 index 00000000..2e71151e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-start @@ -0,0 +1,21 @@ +# -*- mode: snippet -*- +# name: aws-start +# key: start +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +AWSTemplateFormatVersion: "2010-09-09" +Description: ${1} + +Metadata: + +Parameters: + +Mappings: + +Conditions: + +Resources: + +Outputs: +$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-subnet b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-subnet new file mode 100644 index 00000000..19fd36e8 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-subnet @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-subnet +# key: subnet +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:subnetName}: + Type: AWS::EC2::Subnet + Properties: + AvailabilityZone: ${2:"-"} + VpcId: ${3:"-"} + CidrBlock: ${4:"-"} + Tags: + tag$0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-tag b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-tag new file mode 100644 index 00000000..2cf0ad43 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-tag @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: aws-tag +# key: tag +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +- + Key: ${1:-} + Value: ${2:"--"}$0 diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-vpc b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-vpc new file mode 100644 index 00000000..cf0e0a5e --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-vpc @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: aws-vpc +# key: vpc +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:name}: + Type: AWS::EC2::VPC + Properties: + CidrBlock: ${2:"----/--"} + Tags: + tag$0 + diff --git a/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-vpn-gateway b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-vpn-gateway new file mode 100644 index 00000000..51a55b31 --- /dev/null +++ b/elpa/aws-snippets-20190207.1047/snippets/yaml-mode/aws-vpn-gateway @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: aws-vpn-gateway +# key: vpn-gateway +# group: cloudformation +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# -- +${1:vgwName}: + Type: AWS::EC2::VPNGateway + Properties: + Type: ipsec.1 + Tags: +${2:AttachVpnGateway}: + Type: AWS::EC2::VPCGatewayAttachment + Properties: + VpcId: ${3:"--"} + VpnGatewayId: + Ref: $1 +$0 diff --git a/elpa/aws-snippets-readme.txt b/elpa/aws-snippets-readme.txt deleted file mode 100644 index f97a8f4d..00000000 --- a/elpa/aws-snippets-readme.txt +++ /dev/null @@ -1 +0,0 @@ -A collection of yasnippet snippets to be used with AWS CLI as well as JSON for CloudFormation