Skip to content

Make parallelism a provider-level configuration #37554

@ror6ax

Description

@ror6ax

Terraform Version

1.13

Use Cases

Many TF users are devloping pluings for APIs with various rate limiting and thoughput requirements.
https://developer.hashicorp.com/terraform/cli/commands/apply#parallelism-n is a good solution for these, but asking the end user to remember enabling this flag for this one provider is a bad UX.

Attempted Solutions

Just asking end users to set https://developer.hashicorp.com/terraform/cli/commands/apply#parallelism-n for our provider. When they forget to do so, rate limiting errors occur (core issue we're working around) and those can be quite cryptic. It's not clear for them that a flag for TF is required.

Proposal

I'd like to be able to to bake parallelism into provider level field so the user is not required to set it, but can do so if they want.

Additionally, it would be great if parallelism could be managed on per-resource level but I understand that this would require significant redesign of graph walking algorithm.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnewnew issue not yet triagedwaiting-responseAn issue/pull request is waiting for a response from the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions