ahgraber / homelab-infra

Homelab infra management
https://ahgraber.github.io/homelab-infra/
13 stars 0 forks source link

Unsupported operator; Bitwise operators are │ not supported. #3

Open garethhk opened 1 year ago

garethhk commented 1 year ago

I am trying to use get a try with homelab-infra unfortunately

error when i run terraform plan

Call to function "templatefile" failed: ./templates/inventory.yaml.tmpl:7,21-22: Unsupported operator; Bitwise operators are │ not supported. Did you mean boolean OR ("||")?, and 4 other diagnostic(s).

~/homelab-infra$ terraform version Terraform v1.3.7 on linux_amd64

~/homelab-infra$ uname -r 5.15.0-58-generic ~/homelab-infra$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy

garethhk commented 1 year ago

@ahgraber Do you know what am I missing to install? Thank you.

ahgraber commented 1 year ago

Hi,

Sorry I didn't see this before.

Unfortunately, the terraform code in the repo is archival (I'm currently using ansible to set up PXE installers to use for bare-metal installation) and I don't really have the familiarity to help you debug; this is a public repo, but I simply use it to track the infra-as-code that handles my homelab...

I may return to terraform for provisioning VMs in the future, but it would be using Proxmox instead of Vsphere... and I don't have a timeline for that.