Implemented data_source_project_enforcement to allow fetching project enforcement policies with filters.
Created ConvertToIntSlice function to convert slices of interface{} to slices of int.
Introduced models for project enforcement including ProjectEnforcementDetails, ProjectEnforcementResponse, ProjectEnforcementCreate, ProjectEnforcementUpdate, and ProjectEnforcementUsersCreate.
Implemented resourceProjectEnforcement to manage project enforcement rules, including create, read, update, and delete operations.
Changed
Reordered provider schema attributes for better readability.
Modified FlattenGenericIDPointer function to handle both slice and set types correctly.
Updated provider.go to register the new resourceProjectEnforcement and data_source_project_enforcement.
Added
data_source_project_enforcement
to allow fetching project enforcement policies with filters.ConvertToIntSlice
function to convert slices of interface{} to slices of int.ProjectEnforcementDetails
,ProjectEnforcementResponse
,ProjectEnforcementCreate
,ProjectEnforcementUpdate
, andProjectEnforcementUsersCreate
.resourceProjectEnforcement
to manage project enforcement rules, including create, read, update, and delete operations.Changed
FlattenGenericIDPointer
function to handle both slice and set types correctly.provider.go
to register the newresourceProjectEnforcement
anddata_source_project_enforcement
.