Add --extra-files option to plan_summary.py cmd (#2452)

This commit is contained in:
Luca Prete
2024-07-30 11:29:19 +02:00
committed by GitHub
parent 2854ae6bd8
commit 140c4e6446
3 changed files with 18 additions and 2 deletions

View File

@@ -77,6 +77,9 @@ def plan_summary(module_path, basedir, tf_var_files=None, extra_files=None,
- tf_var_files: set of terraform variable files (tfvars) to pass
in to terraform
- extra_files: set of extra files to optionally pass
in to terraform
Returns a PlanSummary object containing 3 attributes:
- values: dictionary where the keys are terraform plan addresses
and values are the JSON representation (converted to python