Commit 85c1467
ci: assume shared AWS OIDC role for athena (CORE-687)
elementary-cli and dbt-data-reliability share a single IAM role
(github-actions-elementary-oss) provisioned in elementary-internal.
This change wires up the dbt-data-reliability side:
- test-warehouse.yml: add id-token: write at job level + a
configure-aws-credentials step gated on inputs.warehouse-type ==
'athena'.
- cleanup-stale-schemas.yml: add id-token: write at job level + a
configure-aws-credentials step gated on matrix.warehouse-type ==
'athena' (only the athena matrix entry needs AWS).
- test-all-warehouses.yml: grant id-token: write to the test-cloud
caller job, since it calls test-warehouse.yml as a reusable workflow
and GitHub requires id-token: write to be granted by the caller.
Pairs with the profile-template change in this same branch
(integration_tests/profiles/profiles.yml.j2: drop static AWS keys,
add work_group: oss_tests). Requires AWS_OIDC_ROLE_ARN to be set as
a repo secret with the role ARN exported by the matching
elementary-internal Terraform PR.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ccc74c0 commit 85c1467
3 files changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
46 | 56 | | |
47 | 57 | | |
48 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
88 | 97 | | |
89 | 98 | | |
90 | 99 | | |
| |||
0 commit comments