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
Terraform Version
Use Cases
I have been converting some modules from my home-grown E2E testing pattern to using the new
terraform testframework. 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 theapplycommand. 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-parallelismargument is not supported by thetestcommand.Proposal
Add a
-parallelism=<N>flag to thetestcommand that operates in the same way it does for theapplycommand.References
No response