-
Notifications
You must be signed in to change notification settings - Fork 1
/
env
51 lines (44 loc) · 2.37 KB
/
env
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
####################################################################################################################
# GOOGLE CLOUD PLATFORM
GCP_PROJECT_ID=
GCP_SERVICE_ACCOUNT_NAME= # desired name for your service account
# desired local absolute path to store your GCP service account json auth key, with file name
# if you change the filename to something else than gcp-credentials.json then change this in .gitignore
LOCAL_SERVICE_ACCOUNT_FILE_PATH={your-absolute-path}/gcp-credentials.json
GCP_RESOURCE_REGION= # desired region for your resources
GCP_DATASET_NAME=nyc311
GCP_DATASET_TABLE_NAME=complaints
GCP_COMPUTE_ENGINE_NAME=prefect-agent-vm
GCP_COMPUTE_ENGINE_MACHINE_TYPE=e2-micro
GCP_SERVICE_ACCOUNT_EMAIL=$GCP_SERVICE_ACCOUNT_NAME@$GCP_PROJECT_ID.iam.gserviceaccount.com
####################################################################################################################
# PREFECT CLOUD
# until this bug is fixed, careful not to name env var PREFECT_API_KEY
# https://github.com/PrefectHQ/prefect/issues/7797
PREFECT_KEY=
# PREFECT_API_KEY=$PREFECT_KEY
# PREFECT_API_URL=
PREFECT_WORKSPACE=
PREFECT_AGENT_QUEUE_NAME=
####################################################################################################################
# PREFECT BLOCKS
PREFECT_GITHUB_BLOCK_NAME=
PREFECT_GCP_CREDENTIALS_BLOCK_NAME=
####################################################################################################################
# TERRAFORM
TF_VAR_GCP_REGION=$GCP_RESOURCE_REGION
TF_VAR_GCP_PROJECT_ID=$GCP_PROJECT_ID
TF_VAR_GCP_DATASET_NAME=$GCP_DATASET_NAME
TF_VAR_GCP_DATASET_TABLE_NAME=$GCP_DATASET_TABLE_NAME
TF_VAR_COMPUTE_ENGINE_NAME=$GCP_COMPUTE_ENGINE_NAME
TF_VAR_COMPUTE_ENGINE_MACHINE_TYPE=$GCP_COMPUTE_ENGINE_MACHINE_TYPE
TF_VAR_COMPUTE_ENGINE_REGION= #sometimes the region you used for all other resources isnt available for Compute Engine
TF_VAR_LOCAL_SERVICE_ACCOUNT_FILE_PATH=$LOCAL_SERVICE_ACCOUNT_FILE_PATH
TF_VAR_SERVICE_ACCOUNT_EMAIL=$GCP_SERVICE_ACCOUNT_EMAIL
TF_VAR_DBT_PROFILE_NAME= # desired name for your dbt profile that will be used by dbt core
TF_VAR_PREFECT_GCP_CREDENTIALS_BLOCK_NAME=$PREFECT_GCP_CREDENTIALS_BLOCK_NAME
TF_VAR_PREFECT_GITHUB_BLOCK_NAME=$PREFECT_GITHUB_BLOCK_NAME
TF_VAR_GITHUB_REPO_URL=$GITHUB_REPO_URL
TF_VAR_PREFECT_API_KEY=$PREFECT_API_KEY
TF_VAR_PREFECT_API_URL=$PREFECT_API_URL
TF_VAR_PREFECT_AGENT_QUEUE_NAME=$PREFECT_AGENT_QUEUE_NAME