Skip to content

Commit

Permalink
Update tf-plan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
guptamukul-google committed Nov 15, 2021
1 parent a2514a2 commit b451729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tf-plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def tf(dir):
tr = Terraform(working_dir=dir)

return_code_init, stdout_init, stderr_init = tr.init_cmd(capture_output=False)
return_code_plan, stdout_plan, stderr_plan = tr.plan_cmd(capture_output=False,var={'parent':'organizations/1234567890', 'billing_account':'ABCD-EFGH-IJKL-MNOP'})
return_code_plan, stdout_plan, stderr_plan = tr.plan_cmd(capture_output=False,var={'parent':'organizations/1234567890', 'billing_account_id':'ABCD-EFGH-IJKL-MNOP'})

if(return_code_init == 1):
comment = 'Terraform Init FAILED!\nFor Module: ' + dir.replace(os.getenv('TERRAFORM_CLI_PATH')+'/', '')
Expand Down

0 comments on commit b451729

Please sign in to comment.