8000 Terraform Test: Add ability to restrict parallelism when creating resources · Issue #34237 · hashicorp/terraform · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Terraform Test: Add ability to restrict parallelism when creating resources #34237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
richid opened this issue Nov 14, 2023 · 2 comments · Fixed by #36323
Closed

Terraform Test: Add ability to restrict parallelism when creating resources #34237

richid opened this issue Nov 14, 2023 · 2 comments · Fixed by #36323
Assignees
Labels
enhancement new new issue not yet triaged terraform test

Comments

@richid
Copy link
richid commented Nov 14, 2023

Terraform Version

Terraform v1.6.3
on darwin_arm64

Use Cases

I have been converting some modules from my home-grown E2E testing pattern to using the new terraform test framework. It's been great but one issue I'm running into is that there is no ability to set the -parallelism=<N> flag when using the apply command. This is generally not a problem but there are certain AWS resources that run into problems when this is not set to 1. Specifically, certain AWS ECS resources as outlined hashicorp/terraform-provider-aws#9777

Attempted Solutions

Tried to set the following envvar: TF_CLI_ARGS_apply="-parallelism=1". Confirmed that the -parallelism argument is not supported by the test command.

Proposal

Add a -parallelism=<N> flag to the test command that operates in the same way it does for the apply command.

References

No response

@richid richid added enhancement new new issue not yet triaged labels Nov 14, 2023
@crw
Copy link
Contributor
crw commented Nov 14, 2023

Thanks for this feature request! If you are viewing this issue and would like to indicate your interest, please use the 👍 reaction on the issue description to upvote this issue. We also welcome additional use case descriptions. Thanks again!

Copy link
Contributor
github-actions bot commented Mar 8, 2025

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement new new issue not yet triaged terraform test
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
0