question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make terraform option configureble by tfaction.yml

See original GitHub issue

Hi, this is feature request for tfaction!

We are managing a lot of working directories, and I’m facing a problem like https://github.com/hashicorp/terraform-provider-aws/issues/5171 . To prevent this problem, I want to pass [--parallelism](https://www.terraform.io/docs/commands/plan.html#parallelism-n) flag to the terraform command, but currently it’s not possible.

I’m thinking about adding configuration item to tfaction.yaml like:

terraform-option: --parallelism 10

And this is passed to https://github.com/suzuki-shunsuke/tfaction/blob/49635435837a90431435bbe0f3c18c0460a82366/terraform-plan/main.sh#L8 .

Thanks in advance!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kyontancommented, Jul 26, 2022

Thank you! I’ll introduce it to our repo soon 🚀

1reaction
suzuki-shunsukecommented, Jul 23, 2022

It makes sense.

e.g.

tfaction.yaml

env:
  TF_CLI_ARGS_plan: "-parallelism=30"
Read more comments on GitHub >

github_iconTop Results From Across the Web

Customize Terraform Configuration with Variables
Input variables make your Terraform configuration more flexible by defining values that your end users can assign to customize the configuration.
Read more >
configurable output format for yamlencode #23322 - GitHub
I want to use terraform to generate yaml formatted configuration files for an ansible based installation. Attempted Solutions. Currently we dump ...
Read more >
Can Atlantis make Terraform great again? - Medium
Long story short, Terraform allows you to easily create cloud ... is highly configurable though, for each repository you have (via an atlantis.yml...
Read more >
How to Write a Custom Terraform Provider Automatically With ...
Each Terraform resource is represented by a configurable Schema, allowing resource data manipulation for create, update, and read operations ...
Read more >
vsphere_virtual_machine | Resources | hashicorp/vsphere
The Terraform provider enables you to manage the desired state of virtual machine resources. This section provides information on configurations you should ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found