CANONICAL TYPE REFERENCE
CostCenterState
A cost center within a business unit for tracking costs and profitability
Unique identifier
externalIdStringExternal system identifier
Parent business unit ID
nameString!Cost center name
codeString!Unique code within the business unit
descriptionStringDescription of the cost center
isActiveBoolean!Whether the cost center is active
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
View exact SDL
"""
A cost center within a business unit for tracking costs and profitability
"""
type CostCenterState @iac_resource(name: "cost_center") @iac_ops(create: "createCostCenter", read: "getCostCenter", update: "updateCostCenter", delete: "deleteCostCenter") {
"""Unique identifier"""
id: CostCenterID! @iac_identity(assignedBy: SERVER) @iac_computed
"""External system identifier"""
externalId: String
"""Parent business unit ID"""
businessUnitId: BusinessUnitID! @iac_ref(resource: "business_unit")
"""Cost center name"""
name: String!
"""Unique code within the business unit"""
code: String!
"""Description of the cost center"""
description: String
"""Whether the cost center is active"""
isActive: Boolean!
"""Creation timestamp (ISO8601)"""
createdAt: ISO8601! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: ISO8601! @iac_computed
}One stable address across all schema views. Follow a field’s type to explore connections between domains.