Skip to content

Commit

Permalink
Fix diff of custom fields if no custom fields defined in phpipam
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-z1 committed Sep 25, 2024
1 parent 146cded commit 5039d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/providers/phpipam/subnet_structure.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func resourceFirstFreeSubnetSchema() map[string]*schema.Schema {
v.Computed = true
case k == "custom_fields":
v.Optional = true
v.Computed = true
v.Computed = false
case resourceSubnetOptionalFields.Has(k):
v.Optional = true
v.Computed = true
Expand Down

0 comments on commit 5039d94

Please sign in to comment.