forked from machulav/ec2-github-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (42 loc) · 1.47 KB
/
Copy path.env.example
File metadata and controls
49 lines (42 loc) · 1.47 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
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
#
# Create a .env file using this file as a template.
# Define all your variables for local development as described below.
#
# - Use environment variables with prefix "AWS_" to give access to your test AWS account.
# - Use environment variables with prefix "INPUT_" to simulate GitHub Actions input.
# Each maps to an action.yml input: INPUT_<NAME>, upper-cased.
# - Use the GITHUB_REPOSITORY environment variable to provide the GitHub repository
# and its owner as context for the script. Use the format "owner/repo".
# --- AWS credentials (test account) ---
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
# --- GitHub context ---
GITHUB_REPOSITORY=
# --- Action inputs (mirror of action.yml) ---
# Required in every mode.
INPUT_MODE=
INPUT_GITHUB-TOKEN=
# Required for 'start' mode.
INPUT_EC2-INSTANCE-TYPE=
INPUT_SUBNET-ID=
INPUT_SECURITY-GROUP-ID=
# Provide an explicit AMI id...
INPUT_EC2-IMAGE-ID=
# ...or a stringified JSON array of filters to look one up, optionally scoped by owner.
INPUT_EC2-IMAGE-FILTERS=
INPUT_EC2-IMAGE-OWNER=
# Required for 'stop' mode.
INPUT_LABEL=
INPUT_EC2-INSTANCE-ID=
# Optional.
INPUT_EIP-ALLOCATION-ID=
INPUT_IAM-ROLE-NAME=
INPUT_RUNNER-VERSION=
INPUT_ENCRYPT-EBS=
INPUT_HTTP-TOKENS=
INPUT_DEBUG=
# Stringified JSON array of AWS Tag objects. Must be valid JSON when set
# (config.js parses it unconditionally); use [] for "no tags" locally.
INPUT_AWS-RESOURCE-TAGS=[]