Skip to content

Commit

Permalink
Remove template ids plan modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacCalligeros95 committed Aug 15, 2024
1 parent bfdd443 commit 6e537e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion docs/resources/library_variable_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ This resource manages library variable sets in Octopus Deploy.
- `id` (String) The unique ID for this resource.
- `space_id` (String) The space ID associated with this library variable set.
- `template` (Block List) (see [below for nested schema](#nestedblock--template))
- `template_ids` (Map of String)

### Read-Only

- `template_ids` (Map of String)
- `variable_set_id` (String)

<a id="nestedblock--template"></a>
Expand Down
4 changes: 0 additions & 4 deletions octopusdeploy_framework/schemas/library_variable_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
datasourceSchema "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
resourceSchema "github.com/hashicorp/terraform-plugin-framework/resource/schema"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/mapplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
types "github.com/hashicorp/terraform-plugin-framework/types"
Expand Down Expand Up @@ -96,9 +95,6 @@ func GetLibraryVariableSetResourceSchema() resourceSchema.Schema {
"template_ids": resourceSchema.MapAttribute{
ElementType: types.StringType,
Computed: true,
PlanModifiers: []planmodifier.Map{
mapplanmodifier.UseStateForUnknown(),
},
},
"variable_set_id": resourceSchema.StringAttribute{
Computed: true,
Expand Down

0 comments on commit 6e537e9

Please sign in to comment.