Skip to content

Commit

Permalink
changed db nodes to be a required field, removed plan modifiers for n…
Browse files Browse the repository at this point in the history
…odename (#12)
  • Loading branch information
KnockOutEZ authored Sep 29, 2024
1 parent cfe987a commit 77ed1ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internals/provider/database/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,15 +275,11 @@ func (r *databaseResource) Schema(_ context.Context, _ resource.SchemaRequest, r
},
"nodes": schema.ListNestedAttribute{
Description: "List of nodes in the database.",
Computed: true,
Optional: true,
Required: true,
NestedObject: schema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"name": schema.StringAttribute{
Required: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
},
},
"connection": schema.SingleNestedAttribute{
Computed: true,
Expand Down

0 comments on commit 77ed1ec

Please sign in to comment.