From 154a51f86d963b1babb08e5852ae52d49c0d0bc8 Mon Sep 17 00:00:00 2001 From: Isaac Calligeros <101079287+IsaacCalligeros95@users.noreply.github.com> Date: Fri, 16 Aug 2024 13:33:26 +0930 Subject: [PATCH] Update spaces datasource (#748) --- octopusdeploy_framework/datasource_space.go | 1 + 1 file changed, 1 insertion(+) diff --git a/octopusdeploy_framework/datasource_space.go b/octopusdeploy_framework/datasource_space.go index c4ab13758..a5935e455 100644 --- a/octopusdeploy_framework/datasource_space.go +++ b/octopusdeploy_framework/datasource_space.go @@ -71,6 +71,7 @@ func (b *spaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, func mapSpaceToState(ctx context.Context, data *schemas.SpaceModel, space *spaces.Space) { data.ID = types.StringValue(space.ID) + data.Name = types.StringValue(space.Name) data.Description = types.StringValue(space.Description) data.Slug = types.StringValue(space.Slug) data.IsTaskQueueStopped = types.BoolValue(space.TaskQueueStopped)