resource "highbond_project_type" "main" {
  name                     = "Custom Test Project Types"
  description              = "Custom Test Project Types Description"
  workflow                 = "control"
  enable_creating_projects = true
}
resource "highbond_framework" "main" {
  name            = "Custom Test framework"
  description     = "Framework description."
  background      = "<h1>Heading</h1><p>Framework background description.</p>"
  purpose         = "<h1>Heading</h1><p>Framework purpose description.</p>"
  scope           = "<h1>Heading</h1><p>Framework scope description.</p>"
  folder_name     = "folder"
  position        = 1
  risk_assurance  = true
  project_type_id = highbond_project_type.main.id
}
resource "highbond_objective" "main" {
  title                = "Custom Test objective"
  reference            = "Gardenia"
  description          = "My objective is to stay positive"
  division_department  = "R&D"
  owner                = "ras@asd.com"
  executive_owner      = "ras@asd.com"
  position             = 1
  assigned_user_id     = "Enter a valid UUID here"
  parent_resource_id   = highbond_framework.main.id
  parent_resource_type = "frameworks"
  lifecycle {
    ignore_changes = ["custom_attributes"]
  }
}
resource "highbond_control" "main" {
  objective_id   = highbond_objective.main.id
  title          = "Custom Test control"
  description    = "My control is everything Now"
  control_id     = "Gardenia-1"
  owner          = "Pooja Shetty"
  frequency      = "Daily"
  position       = 1
  method         = "Management Review"
  control_type   = "Application/System Control"
  prevent_detect = "Prevent"
  status         = "Key Control"
  owner_user     = "dEsLN2SaS1NwYscEKBFY"
}
resource "highbond_compliance_maps" "main" {
  coverage                  = 80
  compliance_requirement_id = "397675"
  control_id                = highbond_control.main.id
  force_updates             = true 
  depends_on = [highbond_control.main]
}