Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

invalid or unknown key when using foreman_host #9

@congrmuk

Description

@congrmuk

Hi,
i'm trying to create new host using resource foreman_host, but it complains about invalid or unkown keys. Any ideas what might be wrong ?

resource "foreman_host" "ntp" {
  name = "ntp01.example.com"
  ip   = "10.10.100.37"

  domain_id          = "${data.foreman_domain.domain.id}"
  operatingsystem_id = "${data.foreman_operatingsystem.centos72.id}"
}
terraform plan
Error: foreman_host.ntp: : invalid or unknown key: ip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions