We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8929c7e commit 2ea59fdCopy full SHA for 2ea59fd
internal/services/baremetal/server.go
@@ -56,18 +56,7 @@ func ResourceServer() *schema.Resource {
56
"offer": {
57
Type: schema.TypeString,
58
Required: true,
59
- ForceNew: true,
60
Description: "ID or name of the server offer",
61
- DiffSuppressFunc: func(_, oldValue, newValue string, d *schema.ResourceData) bool {
62
- // remove the locality from the IDs when checking diff
63
- if locality.ExpandID(newValue) == locality.ExpandID(oldValue) {
64
- return true
65
- }
66
- // if the offer was provided by name
67
- offerName, ok := d.GetOk("offer_name")
68
-
69
- return ok && newValue == offerName
70
- },
71
},
72
"offer_id": {
73
0 commit comments