Skip to main content
Version: Latest Version (2.9.1)

highbond_govmap_organization_unit (Resource)

Schema

Required

group_type_idString The group type id of Group
nameString The Name of Group

Optional

country_idString The Country Id of Group
force_updatesBoolean Allows overriding top-level 'create_only' option.
idString The ID of this resource.
parent_group_idString The Parent Group ID is optional only when creating the first group (Note: Only one group per organization can be created without Parent Group Id). However, for all other group creations, it is a required field.

Example Usage

resource "highbond_govmap_organization_unit_type" "main" {
name = "Sample Group"
}

// Parent group
resource "highbond_govmap_organization_unit" "parent" {
name = "Group Name"
group_type_id = highbond_govmap_organization_unit_type.main.id
country_id = "1"
}

resource "highbond_govmap_organization_unit" "main" {
name = "Group Name"
parent_group_id = highbond_govmap_organization_unit.parent.id // The Parent Group ID is optional only when creating the first group (Note: Only one group per organization can be created without Parent Group Id). However, for all other group creations, it is a required field.
group_type_id = highbond_govmap_organization_unit_type.main.id
country_id = "1"
}