5bcf93c37d
Adds terraform roles to install and execute terraform. Supports adding an override.tf file to override configuration in CI which is useful to let zuul handle module reposity authentication instead of setting up credentials on the remote during the job. Also returns the execution plan back as a comment for 'terraform plan' to make it easy for reviewers. Change-Id: I3b4f2bac7f055a0c0f9cb7888b4146ac9c007d25
9 lines
208 B
HCL
9 lines
208 B
HCL
resource "local_file" "test_file" {
|
|
content = "test-content"
|
|
filename = "${path.module}/test-file"
|
|
}
|
|
|
|
module "test_module" {
|
|
source = "git::https://example.org/this/module/does/not/exist.git//module"
|
|
}
|