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

Remove default argument for validate #22

Closed
wants to merge 1 commit into from

Conversation

stimms
Copy link

@stimms stimms commented May 23, 2019

Under tf 0.12 validate no longer takes -input=false and in fact errors out if you do. Fixes #21

Under tf 0.12 validate no longer takes `-input=false` and in fact errors out if you do
@vaibhavdangar-woolies
Copy link

Hi, I am stuck with this issue, please let me know when this would get merged and rolled-out?

@@ -127,6 +127,10 @@ function Initialize-Terraform
$additionalArguments = Get-VstsInput -Name InitArguments

$extraArguments = " -input=false -no-color"

if ($additionalArguments.Trim() -like "validate*") {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the right place, I bet you didn't test it :)
This is for the init command and not the actual command.

@ahmedig
Copy link

ahmedig commented Jun 6, 2019

Unfortunately the fix is not right. Its done in the init argument instead of the real command's argument.
The version number is also not bumped which would break.
I submitted another PR with the right fix that I tested, and works!

@pgroene
Copy link
Contributor

pgroene commented Jun 6, 2019

I took the code from @ahmedig , can you check if it works for you?

@pgroene pgroene closed this Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate against 0.12 fails
4 participants