abcxyz / abcxyz/guardian

Allow setting -parallelism= flag

Offen
#471 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Go
Sterne
26
Forks
7
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
1

Beschreibung

### TL;DR

Setting `terraform plan -parallelism=100` can give a ~3x speedup for large projects. I'd like to be able to set this with `guardian plan`, but I don't see an option for it: https://github.com/abcxyz/guardian/blob/main/cli.md#plan

### Detailed design

```markdown
This could either be an additional flag for guardian plan, or some generic way of adding additional terraform flags, such as `guardian plan -terraform-flags="-parallelism=100"`.
```

### Alternatives considered

```markdown
Just being slightly more patient :)
```

### Additional information

Evidence for the speedup when using `guardian run -- ...`:

![Image](https://github.com/user-attachments/assets/177defd9-cc3b-4ab1-a572-8ae4e92e50fa)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.