» bigip_ltm_datagroup

bigip_ltm_datagroup Manages internal (in-line) datagroup configuration

Resource should be named with their "full path". The full path is the combination of the partition + name of the resource, for example /Common/my-datagroup.

» Example Usage

resource "bigip_ltm_datagroup" "datagroup" {
  name = "/Common/dgx2"
  type = "string"

  record {
    name = "abc.com"
    data = "pool1"
  }

  record {
    name = "test"
    value = "123"
  }
}

» Argument Reference

  • name - (Required) Name of the datagroup

  • type - (Required) datagroup type (applies to the name field of the record), supports: string, ip or integer

  • record - (Optional) a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

    • name - (Required if record defined), sets the value of the record's name attribute, must be of type defined in type attribute
    • data - (Optional if record defined), sets the value of the record's data attribute, specifying a value here will create a record in the form of name := data