Skip to content

Commit

Permalink
Merge pull request #58 from utilitywarehouse/add-ign-files
Browse files Browse the repository at this point in the history
Allow additional ignition files
  • Loading branch information
ffilippopoulos authored Sep 1, 2020
2 parents d1ca297 + 0d2bfe3 commit d001806
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/ignition/ignition.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ data "ignition_systemd_unit" "wiresteward_service" {
data "ignition_config" "wiresteward" {
count = local.instance_count

files = [
files = concat([
data.ignition_file.wiresteward_config[count.index].id,
]
], var.additional_ignition_files)

systemd = concat([
data.ignition_systemd_unit.wiresteward_service.id,
Expand Down
6 changes: 6 additions & 0 deletions terraform/ignition/io.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
variable "additional_ignition_files" {
type = list(string)
description = "Additional ignition files to include in the ignition config"
default = []
}

variable "additional_systemd_units" {
type = list(string)
description = "Additional systemd units to include in the ignition config"
Expand Down

0 comments on commit d001806

Please sign in to comment.