highbond_result_file (Resource)

Example Usage

resource "highbond_result_file" "main3" {
  project_id             = highbond_project.main.id
  name                   = "Results File Name"
  reference_id           = "BPWS1"
  description            = "<h1>Result file heading</h1><p>Result file description.</p>"
  position               = 4
  planned_start_date     = "2020-12-01"
  planned_end_date       = "2021-12-01"
  actual_start_date      = "2020-12-05"
  actual_end_date        = "2021-12-05"
  actual_milestone_date  = "2020-12-10"
  planned_milestone_date = "2020-12-05"
  force_updates          = true // Create only with force update changes

  custom_attributes {
    term  = "Remarks"
    value = ["Remarks"]
  }

  custom_attributes {
    term  = "DropDown"
    value = ["DropDown1"]
  }


  custom_attributes {
    term  = "MultipleChoice"
    value = ["Choice1"]
  }

}

Schema

Required

  • name (String) The name of the results file
  • project_id (Number) The ID of the project

Optional

  • actual_end_date (String) Actual end date
  • actual_milestone_date (String) Actual milestone date
  • actual_start_date (String) Actual start date
  • custom_attributes (Block Set) An array of custom attributes defined on the project type used by the project this results file is from (see below for nested schema)
  • description (String) A detailed description of the results file
  • force_updates (Boolean) Allows overriding top-level 'create_only' option.
  • planned_end_date (String) Planned end date
  • planned_milestone_date (String) Planned milestone date
  • planned_start_date (String) Planned start date
  • position (Number) The value that determines the order in which it is displayed in the index action. position must be a value between 1 and 2147483647
  • reference_id (String) The results id, reference number, or code for the results file

Read-Only

  • created_at (String) The timestamp identifying when the result file was created
  • id (String) The ID of this resource.
  • updated_at (String) The timestamp identifying when the result file was last updated

Nested Schema for custom_attributes

Optional:

  • id (String) The ID of this custom attribute. Optional if term is included
  • term (String) The user defined term used to identify this custom attribute. Optional if id is included
  • value (Set of String) The value or values (for multiselect) for this custom attribute