Skip to content
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

cdktf deploy support terraform apply parallelism args #1736

Closed
jaty613 opened this issue Apr 21, 2022 · 3 comments
Closed

cdktf deploy support terraform apply parallelism args #1736

jaty613 opened this issue Apr 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@jaty613
Copy link

jaty613 commented Apr 21, 2022

await exec(
terraformBinaryName,
[
"apply",
"-auto-approve",
"-input=false",

    ...extraOptions,
    // only appends planFile if not empty
    // this allows deploying without a plan (as used in watch)
    ...(planFile ? [planFile] : []),
  ],
  { cwd: this.workdir, env: process.env, signal: this.abortSignal },
  this.onStdout("deploy"),
  this.onStderr("deploy")
);
@jaty613 jaty613 added enhancement New feature or request new Un-triaged issue labels Apr 21, 2022
@ansgarm
Copy link
Member

ansgarm commented Apr 21, 2022

Hi @jaty613 👋
I think this is a duplicate of #734, do you agree?

Workaround in the meantime (from another issue comment):

TF_CLI_ARGS_apply="-parallelism=1" cdktf deploy <stack name>

@DanielMSchmidt
Copy link
Contributor

Closing this as duplicate, if I'm missing something let me know and I'll reopen :)

@DanielMSchmidt DanielMSchmidt removed the new Un-triaged issue label Jun 14, 2022
@github-actions
Copy link
Contributor

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've 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 Nov 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants