forked from zalando-stups/taupage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-stups-example.sh
44 lines (33 loc) · 1.06 KB
/
config-stups-example.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# ssh keypair for installation
#TODO generate on the fly and clean up later
keypair="jdoe"
# The created hosts are ephemeral and their keys useless
ssh_args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
# region
region="eu-west-1"
# base AMI (Ubuntu 14.04 LTS)
base_ami="ami-accff2b1"
instance_type="c3.large"
config_dir=$(dirname $1)
secret_dir="$config_dir/secret"
# uncomment this if you want to use non open-source binary blobs
# proprietary_dir="$config_dir/proprietary"
# AWS accounts to share the AMI with
accounts="
123456789
123456788
"
# AWS regions to copy the AMI to
copy_regions="
eu-central-1
"
# security group with SSH and HTTP open
security_group="sg-123456"
# subnet to use:
subnet="subnet-123456"
# HipChat notification when AMI is built
hipchat_notification_enabled=false
hipchat_server_address="hipchat.com" # Put your server address here
hipchat_room_id="notifications" # Room ID (the room name)
hipchat_auth_token="" # Auth token for the HipChat room
hipchat_message="[Taupage] AMI $ami_name ($imageid) successfully created and shared."