From a10daef931326538eb018af1001c0825fb19149b Mon Sep 17 00:00:00 2001 From: Isaac Calligeros <101079287+IsaacCalligeros95@users.noreply.github.com> Date: Fri, 16 Aug 2024 16:18:42 +0930 Subject: [PATCH] Update environment resource testing (#750) --- octopusdeploy_framework/resource_environment.go | 1 + 1 file changed, 1 insertion(+) diff --git a/octopusdeploy_framework/resource_environment.go b/octopusdeploy_framework/resource_environment.go index 3c78b3493..9c076a7b9 100644 --- a/octopusdeploy_framework/resource_environment.go +++ b/octopusdeploy_framework/resource_environment.go @@ -123,6 +123,7 @@ func (r *environmentTypeResource) Update(ctx context.Context, req resource.Updat updatedEnv.AllowDynamicInfrastructure = data.AllowDynamicInfrastructure.ValueBool() updatedEnv.UseGuidedFailure = data.UseGuidedFailure.ValueBool() updatedEnv.SortOrder = util.GetNumber(data.SortOrder) + updatedEnv.SpaceID = data.SpaceID.ValueString() if len(data.JiraExtensionSettings.Elements()) > 0 { jiraExtensionSettings := mapJiraExtensionSettings(data.JiraExtensionSettings) if jiraExtensionSettings != nil {