From 9bd7bd5d46f8f7e59d5770df804c291a7be8ad5b Mon Sep 17 00:00:00 2001 From: bpetit Date: Mon, 9 Jul 2018 16:19:29 +0200 Subject: [PATCH] [docs] Document requirements for `plan_file` option in terraform module (#42514) plan_file is required if state: planned is used. This should be mentionned in the documentation. +label: docsite_pr --- lib/ansible/modules/cloud/misc/terraform.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/misc/terraform.py b/lib/ansible/modules/cloud/misc/terraform.py index 0553ec90117..bf10b84282a 100644 --- a/lib/ansible/modules/cloud/misc/terraform.py +++ b/lib/ansible/modules/cloud/misc/terraform.py @@ -42,6 +42,7 @@ options: description: - The path to an existing Terraform plan file to apply. If this is not specified, Ansible will build a new TF plan and execute it. + Note that this option is required if 'state' has the 'planned' value. required: false state_file: description: