abcxyz / abcxyz/guardian

Allow setting -parallelism= flag

Open
#471 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
26
Forks
7
Avg merge
1d 1h
Merged PRs (30d)
1

Description

### 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.