zuul-jobs/roles/terraform
Albin Vass 7ef4d9f3f5 Allow deleting workspace after running terraform destroy
Also fixes a bug where the workspace was created from the wrong directory.

Change-Id: I28b54b9aa57a3f449254574956701ee663618e8b
2020-07-01 13:25:39 +02:00
..
defaults Allow deleting workspace after running terraform destroy 2020-07-01 13:25:39 +02:00
tasks Allow deleting workspace after running terraform destroy 2020-07-01 13:25:39 +02:00
README.rst Allow deleting workspace after running terraform destroy 2020-07-01 13:25:39 +02:00

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

Role Variables

String of extra command line options to pass to terraform.

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.