Skip to content

Commit

Permalink
remove forcenew, add computed and applyonce
Browse files Browse the repository at this point in the history
  • Loading branch information
Blintmester authored and hkantare committed Feb 5, 2024
1 parent d08c60b commit a0a83ed
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions ibm/service/satellite/resource_ibm_satellite_location.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,16 +210,18 @@ func ResourceIBMSatelliteLocation() *schema.Resource {
Sensitive: true,
},
"service_subnet": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Description: "Custom subnet CIDR to provide private IP addresses for services",
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "Custom subnet CIDR to provide private IP addresses for services",
DiffSuppressFunc: flex.ApplyOnce,
},
"pod_subnet": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Description: "Custom subnet CIDR to provide private IP addresses for pods",
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "Custom subnet CIDR to provide private IP addresses for pods",
DiffSuppressFunc: flex.ApplyOnce,
},
},
}
Expand Down

0 comments on commit a0a83ed

Please sign in to comment.