File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
internal/services/baremetal Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -54,28 +54,11 @@ func ResourceServer() *schema.Resource {
5454 Description : "Hostname of the server" ,
5555 },
5656 "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- ValidateDiagFunc : verify .IsUUIDOrNameOffer (),
72- == == == =
7357 Type : schema .TypeString ,
7458 Required : true ,
7559 ForceNew : true ,
7660 Description : "ID or name of the server offer" ,
7761 ValidateDiagFunc : verify .IsUUIDOrNameOffer (),
78- >> >> >> > Stashed changes
7962 },
8063 "offer_id" : {
8164 Type : schema .TypeString ,
You can’t perform that action at this time.
0 commit comments