fixing to move without output_location (#770)
This commit is contained in:
parent
70a3d6d980
commit
b953424aec
|
@ -31,7 +31,7 @@ resource "local_file" "tfvars" {
|
|||
}
|
||||
|
||||
resource "local_file" "workflows" {
|
||||
for_each = local.cicd_workflows
|
||||
for_each = var.outputs_location == null ? {} : local.cicd_workflows
|
||||
file_permission = "0644"
|
||||
filename = "${pathexpand(var.outputs_location)}/workflows/${replace(each.key, "_", "-")}-workflow.yaml"
|
||||
content = each.value
|
||||
|
|
Loading…
Reference in New Issue