Commit e478cca
committed
fix(aws): resolve the region matrix output path from the script location
write_regions_by_service() built its destination from os.path.realpath(__name__).
__name__ is the module name, "__main__", not a path, so the path was resolved
against the current working directory. It happened to be right only because the
workflow runs the script from the repository root; an invocation from anywhere
else wrote the matrix under <cwd>/prowler/ instead of the checkout. It is now
resolved from __file__, so the destination follows the script.
The changelog fragments are also shortened, and the one covering the regional
clients is split in two so each entry describes a single change.1 parent a7a8ef3 commit e478cca
5 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
282 | 285 | | |
283 | 286 | | |
284 | 287 | | |
| |||
0 commit comments