Skip to content

Commit

Permalink
Add Cilium manifests to local_file asset_dir (#221)
Browse files Browse the repository at this point in the history
* Note, asset_dir is deprecated poseidon/typhoon#678
  • Loading branch information
maikelvl authored Oct 17, 2020
1 parent 7988fb7 commit 84f897b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions conditional.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,10 @@ resource "local_file" "calico-manifests" {
content = each.value
}

# Cilium manifests
resource "local_file" "cilium-manifests" {
for_each = var.asset_dir == "" ? {} : local.cilium_manifests

filename = "${var.asset_dir}/${each.key}"
content = each.value
}

0 comments on commit 84f897b

Please sign in to comment.