highbond_planning_file (Resource)

Example Usage

resource "highbond_planning_file" "main" {
  parent_resource_id     = highbond_project.main.id
  name                   = "Planning File Name"
  reference_id           = "BPWS1"
  description            = "<h1>Planning file heading</h1><p>Planning file description.</p>"
  position               = 1
  planned_start_date     = "2020-12-01" // applicable only if parent_resource_type is a projects
  planned_end_date       = "2021-12-01" // applicable only if parent_resource_type is a projects
  actual_start_date      = "2020-12-05" // applicable only if parent_resource_type is a projects
  actual_end_date        = "2021-12-05" // applicable only if parent_resource_type is a projects
  actual_milestone_date  = "2020-12-10" // applicable only if parent_resource_type is a projects
  planned_milestone_date = "2020-12-05" // applicable only if parent_resource_type is a projects
  parent_resource_type   = "projects"   //frameworks
  force_updates          = true         // Create only with force update changes

  custom_attributes {
    term  = "Preferred Language"
    value = ["English"]
  }

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

  custom_attributes {
    term  = "Choice question"
    value = ["Choice 1"]
  }
}

Schema

Required

  • name (String) The name of the planning file
  • parent_resource_id (Number) The ID of parent resource

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 planning file is from (see below for nested schema)
  • description (String) A detailed description of the planning file
  • force_updates (Boolean) Allows overriding top-level 'create_only' option.
  • parent_resource_type (String) The type of parent resource
  • 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 planning id, reference number, or code for the planning file

Read-Only

  • created_at (String) The timestamp identifying when the planning file was created
  • id (String) The ID of this resource.
  • updated_at (String) The timestamp identifying when the planning 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