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

TerraformInitCommand - support suffixes #221

Closed
kmanning opened this issue May 14, 2020 · 1 comment
Closed

TerraformInitCommand - support suffixes #221

kmanning opened this issue May 14, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@kmanning
Copy link
Collaborator

kmanning commented May 14, 2020

  • prefixes can already be appended to the terraform init command.
  • support suffixes that can be appended to the end of the terraform-init command.
  • UseCase: wrap terraform init command with su <user> -c "terraform init..."
  • Eg:
initCommand.withPrefix('su myUser -c"').withSuffix('"')

Expected:
su myUser -c "terraform init"

@kmanning kmanning added this to the v5.7 milestone May 14, 2020
@kmanning kmanning added the enhancement New feature or request label May 14, 2020
@kmanning
Copy link
Collaborator Author

This feels like a change that belongs in all terraform commands, not just init.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant