This repository was archived by the owner on Jan 7, 2025. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathinstall.yaml
More file actions
133 lines (111 loc) · 3.95 KB
/
Copy pathinstall.yaml
File metadata and controls
133 lines (111 loc) · 3.95 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
dialogs:
errors:
missing_data: |
Missing data!
All fields all mandatory, please start again.
welcome: |
Hello,
I'm Mikado installer, I'll help you set up your WordPress site on AWS.
tfbase: |
Now we set up your base infra for Mikado on AWS.
- A VPC with public and private subnets in all AZs
- A security group with the provided CIDR block
- An EFS storage for your WordPress uploads
- Enabling cloudtrail + a new s3 bucket for your logs
- Optionally Datadog and Loggly read-only IAM roles
amibuild: |
Now we are going to provision the instance which will be used to serve the website
- This will start a temporaly EC2 instance
- Apply the roles from the ansible directory
- Save the AMI
tfmikado: |
Now everything is ready so we can start building the resources for your WordPress site
Get a coffee... This will take about 15 minutes.
success: |
If you see this message it means everything is honky-donkey
optional:
title: Please select the components you want to install
msg: All options are optional
components:
- Fastly
- Statuscake
- Datadog
- Loggly
- Newrelic
- Slack
Mikado:
AWS_ACCESS_KEY_ID:
msg: |
Please enter your AWS access key id
More info: https://aws.amazon.com/blogs/security/wheres-my-secret-access-key/
AWS_SECRET_ACCESS_KEY:
msg: |
Please enter your AWS secret access key
More info: https://aws.amazon.com/blogs/security/wheres-my-secret-access-key/
TF_VAR_region:
msg: |
Please enter the AWS region you want to deploy your application
Available regions: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
default: us-east-1
domain:
msg: |
Plese enter the domain name of the site you want to deploy
default: wp-example.com
TF_VAR_allowed_cidrs:
msg: |
Please enter a comma separated list of CIDR blocks you want provide ssh access to your instances
default: "@@@cidr@@@"
rsa_public_key:
msg: |
Please enter your rsa pubic key here
site_repo:
msg: |
Please enter the git repo for your site
More info: https://github.com/dominis/wmikado#deploying-your-website
default: https://github.com/dominis/wordpress.example.com.git
build_instance_type:
msg: |
Instance type you want to use for your Packer builds
More info: https://github.com/dominis/mikado/blob/master/env.mk.template#L28-L31
default: t2.micro
Fastly:
TF_VAR_fastly_api_key:
msg: |
Please enter your Fastly API key
You can find it at: https://manage.fastly.com/account
Statuscake:
TF_VAR_statuscake_username:
msg: |
Please enter your Statuscake username
TF_VAR_statuscake_apikey:
msg: |
514F
Please enter your Statuscake API key
You can find it at: https://app.statuscake.com/APIKey.php
Datadog:
datadog_api_key:
msg: |
Please enter your Datadog API key
You can find it at: https://app.datadoghq.com/account/settings#api
TF_VAR_datadog_external_id:
msg: |
Please enter your Datadog AWS external id
You can find it at: # https://app.datadoghq.com/account/settings#integrations/amazon_web_services
Loggly:
loggly_token:
msg: |
Please enter your Loggly token
You can find it at: https://ACCOUNT.loggly.com/tokens
Newrelic:
newrelic_license_key:
msg: |
Please enter your Newrelic license key
You can find it at: https://rpm.newrelic.com/accounts/
Slack:
slack_webhook_url:
msg: |
Please enter your Slack webhook url
You can find it at: https://YOURACCOUNT.slack.com/apps/A0F7XDUAZ-incoming-webhooks
slack_channel:
msg: |
Please enter the Slack channel you want to post noficiations
eg: #mikado-rulez