Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for PR followers and do not help prioritize the request
Description
This pull request modifies the opennebula_service_template resource to allow updates to the template attribute without forcing the resource to be recreated. The following changes were made:
Set ForceNew to false for the template attribute.
Added logic to handle updates to the template attribute in the resourceOpennebulaServiceTemplateUpdate function.
These changes enable updating the template attribute and applying changes without recreating the entire resource.
New or Affected Resource(s)
opennebula_service_template
Checklist
[ ] I have created an issue and I have mentioned it in References
[ ] My code follows the style guidelines of this project (use go fmt)
[ ] My changes generate no new warnings or errors
[ ] I have updated the unit tests and they pass successfully
[ ] I have commented my code, particularly in hard-to-understand areas
This pull request is stale because it has been open for 30 days with no activity and it is not in a milestone. Remove 'status: stale' label or comment, or this will be closed in 5 days.
Community Note
Description
This pull request modifies the
opennebula_service_template
resource to allow updates to thetemplate
attribute without forcing the resource to be recreated. The following changes were made:ForceNew
tofalse
for thetemplate
attribute.template
attribute in theresourceOpennebulaServiceTemplateUpdate
function.These changes enable updating the
template
attribute and applying changes without recreating the entire resource.New or Affected Resource(s)
Checklist
References
go fmt
)