ezra-buckingham / terry-the-terraformer

A CLI for deploying red team infrastructure across mutliple cloud providers, all integrated with a virtual Nebula network, and full ELK integration
https://github.com/ezra-buckingham/terry-the-terraformer/wiki
MIT License
110 stars 15 forks source link

"Only root can pass arbitrary filesystem paths" Terraform-Proxmox #57

Open ipdeft opened 6 months ago

ipdeft commented 6 months ago

Hi, ive populated config.yml and im using an API token associated with the root user, however I am still seeing the error below. Any ideas on how I can continue to troubleshoot?

Thank you


  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

proxmox_lxc.id-fa1ada82-8d8a-4dd0-9dcb-ce9e091b584b: Creating...

Error: error creating LXC container: 500 Only root can pass arbitrary filesystem paths. at /usr/share/perl5/PVE/Storage.pm line 541., error status: {"data":null} (params: {"arch":"amd64","cmode":"tty","console":true,"cores":2,"cpulimit":0,"cpuunits":1024,"features":"","hostname":"ratio-tisiphone","memory":4096,"net0":"bridge=vmbr0,ip=dhcp,name=eth0","onboot":false,"ostemplate":"ubuntu2204-4gb-template","protection":false,"rootfs":"zfs-pool1:24","ssh-public-keys":"ssh-rsa AAAA[redacted]","start":true,"storage":"local","swap":4096,"tags":"","tty":2,"unprivileged":false,"vmid":111})

  with proxmox_lxc.id-fa1ada82-8d8a-4dd0-9dcb-ce9e091b584b,
  on test2_plan.tf line 17, in resource "proxmox_lxc" "id-fa1ada82-8d8a-4dd0-9dcb-ce9e091b584b":
  17: resource "proxmox_lxc" "id-fa1ada82-8d8a-4dd0-9dcb-ce9e091b584b" {

[X] Fatal Error: Terraform returned an error: No stderr was returned, this is likely a logic issue or partial error within the plan. (Example: if AWS, a bad AMI given the region)```