Commit e97e369
authored
Fix CUR 2.0 query with valid column names (#114)
## Summary
`SELECT *` is not supported by BCM Data Exports API — it returns
`ValidationException: Invalid QueryStatement`.
Column names retrieved directly from the API:
```
aws bcm-data-exports get-table --table-name COST_AND_USAGE_REPORT \
--table-properties '{"TIME_GRANULARITY":"DAILY","INCLUDE_RESOURCES":"TRUE",...}'
```
Key columns included: `line_item_resource_id`, `line_item_product_code`,
`line_item_unblended_cost`, `resource_tags` (single map column in CUR
2.0, not separate `resource_tags_user_*` columns like legacy CUR).
## Test plan
- [ ] CI plan + apply succeeds
- [ ] CUR export created in us-east-1 without validation error1 parent 4d86bef commit e97e369
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
0 commit comments