Skip to content

Commit

Permalink
fixing to move without output_location (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
daisuky-jp authored Aug 7, 2022
1 parent 70a3d6d commit b953424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast/stages/01-resman/outputs-files.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b953424

Please sign in to comment.