This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Comment": "A simple minimal example of the States language", | |
"StartAt": "ScaleInJobStarts", | |
"States": { | |
"ScaleInJobStarts": { | |
"Type": "Task", | |
"Resource": "arn:aws:lambda:eu-west-2:684695514035:function:ScaleIn", | |
"Retry": [ | |
{ | |
"ErrorEquals": ["HandledError"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Loading event'); | |
var aws = require("aws-sdk"); | |
function describeAutoScalingGroups(event, context) { | |
var autoscaling = new aws.AutoScaling(); | |
var params = { | |
AutoScalingGroupNames: [ | |
".bankweekdays" | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
# $ curl -fsSL get.docker.com -o get-docker.sh | |
# $ sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
# $ curl -fsSL get.docker.com -o get-docker.sh | |
# $ sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
# $ curl -fsSL get.docker.com -o get-docker.sh | |
# $ sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
# $ curl -fsSL get.docker.com -o get-docker.sh | |
# $ sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
# $ curl -fsSL get.docker.com -o get-docker.sh | |
# $ sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
# $ curl -fsSL get.docker.com -o get-docker.sh | |
# $ sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
# $ curl -fsSL get.docker.com -o get-docker.sh | |
# $ sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\Suha\Desktop\test_Env> packer validate packer.json | |
Template validated successfully. | |
PS C:\Users\Suha\Desktop\test_Env> packer build -var ‘aws_access_key=AKIAJOLN6HYMWIDFNZOA’ -var ‘aws_secret_key=WJBen0fMGxmiKlks2q9 | |
CrQQ4C/Nhacy55YlAC4nh’ packer.json | |
amazon-ebs output will be in this color. | |
==> amazon-ebs: Prevalidating AMI Name: rancher-master 1529683817 | |
amazon-ebs: Found Image ID: ami-5daa463a | |
==> amazon-ebs: Creating temporary keypair: packer_5b2d1f69-d44b-823b-2122-64390da5e227 | |
==> amazon-ebs: Creating temporary security group for this instance: packer_5b2d1f6e-19a3-2f88-9ea2-927b21b9bdaf |
OlderNewer