-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add the ability to specify terraform-pipeline starting execution workspace directory #309
Comments
Seems like a good UseCase. In thinking through this, we'll have to be careful about how other TerraformCommandPlugins interact with this new UseCase. Lots of plugins decorate the front of the command (eg: awssume/parameter-store-exec), and the command itself is treated as a single shell step. What you're looking for is a separate shell step. |
I don't know that TerraformDirectoryPlugin is so inappropriately named for this UseCase. I wonder if it could offer both behaviors with the same plugin?
vs
or something like
I hate the name |
I like option one. |
Note: Change in terraform 0.14 and 0.15 related to subdirectories. https://www.terraform.io/docs/cli/commands/plan.html#passing-a-different-configuration-directory |
This is officially needed on terraform 0.15 and later. |
Yeah, I went to use tf 1.0.1 and was hit with this issue. |
Currently, we have the TerraformDirectoryPlugin which allows terraform-pipeline to do this:
What i would like terraform-pipeline to support:
This is important with monolithic pipeline repo's where the
.terraform-version
flat file is only read from the root of the project tree when using the TerraformDirectoryPlugin.The text was updated successfully, but these errors were encountered: