zuul-jobs/roles/terraform/README.rst
Denis Fortin 1a806f04e2 terraform: Add parameter for plan file
Add terraform_plan parameter to be defined when using apply
command. It allows to specify a plan file to apply.

Change-Id: I2858317e4dd560030a367b2cd2ac43db5585152a
2020-08-18 08:59:57 +00:00

1.6 KiB

Run terraform command. Assumes the appropriate version of terraform has been installed.

Role Variables

String of extra command line options to pass to terraform.

Optional. Path to the plan file to use when using 'apply' command.

Name of the workspace to operate against. By default this will not be created if it does not exist.

List of override.tf files to create before initializing terraform. This is useful if a module should use the source from a required project that has been checked out by zuul instead of using a remote git repository.

Directory to put override.tf

Free form content of the override.tf file.