octopusdeploy_deployment_process.run_script_action
Capitalizes Boolean values
#530
Labels
area/deployment-processes
category/dev-experience
Issues about the dev experience of using the provider, writing correct HCL etc
kind/bug
Something isn't working
kind/question
Further information is requested
Describe the bug
When creating
octopus_deployment_process
resource, within thestep
block and thenrun_script_action
block, defined booleans forOctopus.Action.*
properties end up being capitalized.Steps to reproduce
octopusdeploy_deployment_process
resource with arun_on_server
property set to eithertrue
orfalse
and for one more exampleOctopus.Features.SubstituteInFiles
feature enabled.Also seems the case for other
Octopus.Action.*
boolean properties:But not for values outside of the
Octopus.Action.*
properties scope, for instance therun_script_action.is_required
property :Expected behavior
When I set the
run_script_action.run_on_server
property, through terraform, I expect same behaviour when creating this step manually, so the value forOctopus.Action.RunOnServer
in the JSON configuration should be stored in lower case and otherOctopus.Action.*
booleans as well.Logs and other supporting information
During the initial creation, the
tf plan
doesn't show any wrong signs, however, when changing configure for instance forrun_on_server
fromtrue
tofalse
we can see that the value is stored capitalized as well:- "Octopus.Action.RunOnServer" = "True" -> null
Screenshots
Already included in previous parts
Environment and versions:
Windows Server 2022
]v2023.2 (Build 12643)
]1.3.5
]0.12.4
]The text was updated successfully, but these errors were encountered: