Skip to content

Commit 0f539a2

Browse files
committed
demo
1 parent b952a0e commit 0f539a2

File tree

3 files changed

+55
-5
lines changed

3 files changed

+55
-5
lines changed

.github/workflows/deploy_to_snowflake.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: Deploy to Snowflake with Titan
14-
uses: Titan-Systems/titan-core-action@feature/config-path
14+
uses: Titan-Systems/titan-core-action@main
1515
with:
1616
run-mode: 'create-or-update'
1717
resource-path: './infrastructure'
18-
allowlist: 'database,schema'
19-
dry-run: 'true'
2018
env:
2119
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
2220
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}

infrastructure/not_titan.yml

Whitespace-only changes.

infrastructure/titan.yml

+54-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,56 @@
1+
users:
2+
3+
login_name: j.doe
4+
roles:
5+
- hedge_fund_analyst
6+
7+
login_name: s.smith
8+
roles:
9+
- hedge_fund_manager
10+
11+
login_name: m.brown
12+
roles:
13+
- hedge_fund_admin
14+
15+
roles:
16+
- name: hedge_fund_analyst
17+
- name: hedge_fund_manager
18+
- name: hedge_fund_admin
19+
- name: hedge_fund_data_eng
20+
21+
22+
role_grants:
23+
- role: hedge_fund_data_eng
24+
roles:
25+
- hedge_fund_admin
26+
- role: hedge_fund_analyst
27+
roles:
28+
- hedge_fund_admin
29+
- role: hedge_fund_manager
30+
roles:
31+
- hedge_fund_admin
32+
33+
134
databases:
2-
- name: titan_demo
35+
- name: hedge_fund_db
336
schemas:
4-
- name: titan_demo_schema
37+
- name: opportunistic
38+
- name: core_plus
39+
- name: risk_management
40+
- name: portfolio_analysis
41+
- name: trading
42+
- name: client_relations
43+
- name: regulatory_compliance
44+
45+
warehouses:
46+
- name: hedge_fund_wh
47+
auto_suspend: 60
48+
owner: SYSADMIN
49+
- name: hedge_fund_data_eng_wh
50+
auto_suspend: 180
51+
owner: SYSADMIN
52+
53+
54+
55+
grants:
56+
- GRANT USAGE ON WAREHOUSE hedge_fund_data_eng_wh TO ROLE hedge_fund_data_eng

0 commit comments

Comments
 (0)