-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.envrc
28 lines (22 loc) · 903 Bytes
/
.envrc
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
# Manual:
# https://direnv.net/man/direnv-stdlib.1.html
# Load the default dev environment from nix flake
use flake
# An example setting, can be overridden in .env
# .env file should not be tracked by git
export SNOWFLAKE_DEFAULT_CONNECTION_NAME="default"
# These variables affect nix apps that deploy/configure the application
# SiS-specific variables.
# Default values set based on the setup script
# TODO: Drop this when issue #8 is implemented
export SIS_QUERY_WAREHOUSE="SENTRY"
# Streamlit in Snowflake will be located in this database
export SIS_APP_DATABASE="SENTRY_DB"
# Streamlit in Snowflake will be located in this schema
export SIS_APP_SCHEMA="PUBLIC"
export SIS_OWNER_ROLE="SENTRY_SIS_ROLE"
export SIS_GRANT_TO_ROLE="ACCOUNTADMIN"
export NA_GRANT_TO_ROLE="ACCOUNTADMIN"
# Load variables from ".env" <=> it exists in the root dir
# Local overrides can be stored here
dotenv_if_exists