Commit 00ca437
authored
fix(gcp-resources): Add
#### Summary
`gcp_iam_service_account_keys` used the parent resource `unique_id` as a primary key. This meant we can only sync 1 account key per account in `overwrite*` modes.
This PR makes it so `project_id` and `name` are the primary keys, removes `service_account_unique_id` as a primary (but keeps the data).
This should be a non breaking change
<!--project_id and name as PKs of gcp_iam_service_account_keys, remove service_account_unique_id from PKs (#6541)1 parent 3d4d03c commit 00ca437
File tree
2 files changed
+12
-4
lines changed- plugins/source/gcp
- docs/tables
- resources/services/iam
2 files changed
+12
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| |||
0 commit comments