Terraform Test: Add ability to restrict parallelism when creating resources · Issue #34237 · hashicorp/terraform · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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!
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.
Uh oh!
There was an error while loading. Please reload this page.
Terraform Version
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 theapply
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#9777Attempted Solutions
Tried to set the following envvar:
TF_CLI_ARGS_apply="-parallelism=1"
. Confirmed that the-parallelism
argument is not supported by thetest
command.Proposal
Add a
-parallelism=<N>
flag to thetest
command that operates in the same way it does for theapply
command.References
No response
The text was updated successfully, but these errors were encountered: