We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 118f086 commit ad26618Copy full SHA for ad26618
plugin/providers/phpipam/subnet_structure.go
@@ -16,6 +16,7 @@ import (
16
// Computed. Any field not listed here cannot be supplied by the resource and
17
// is solely computed.
18
var resourceSubnetOptionalFields = linearSearchSlice{
19
+ "section_id",
20
"description",
21
"linked_subnet_id",
22
"vlan_id",
@@ -146,8 +147,10 @@ func resourceFirstFreeSubnetSchema() map[string]*schema.Schema {
146
147
v.ForceNew = true
148
case k == "section_id":
149
v.Optional = true
150
+ v.Computed = true
151
case k == "custom_fields":
152
153
154
case resourceSubnetOptionalFields.Has(k):
155
156
v.Computed = true
0 commit comments