Skip to content

Commit

Permalink
fix: panic on resource tenant project error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
domenicsim1 committed Nov 28, 2024
1 parent df9187a commit ef92705
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion octopusdeploy_framework/schemas/step_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func GetStepTemplateParameterResourceSchema() rs.ListNestedAttribute {
"label": rs.StringAttribute{
Description: "The label shown beside the parameter when presented in the deployment process. Example: `Server name`.",
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.UseStateForUnknown(),
},
Expand Down Expand Up @@ -213,7 +214,7 @@ func GetStepTemplatePackageResourceSchema() rs.ListNestedAttribute {
Optional: true,
Computed: true,
Validators: []validator.String{
stringvalidator.RegexMatches(regexp.MustCompile("^(True|Fasle)$"), "Extract must be True or False"),
stringvalidator.RegexMatches(regexp.MustCompile("^(True|False)$"), "Extract must be True or False"),
},
},
"package_parameter_name": rs.StringAttribute{
Expand Down

0 comments on commit ef92705

Please sign in to comment.