Skip to content

missing "=" sign at main.tf.j2 #2

@nurahsanadzim

Description

@nurahsanadzim

jinja2 template missing "=" at https://github.com/AjiArya/python-tfgen/blob/main/templates/main.tf.j2#L78 causing error:

Error: Unsupported block type

  on main.tf line 42, in resource "libvirt_domain" "ahs-vm2":
  42:     cpu {

the correct one is

    cpu = {
        mode = "host-passthrough"
    }

tested on btech lab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions