Updating Modules in Azure Automation Account

I’m hoping someone has some experience in deploying Azure Automation Accounts and using DSC.

I make use of one of the default modules ComputerManagementDsc to perform a timezone configuration but it requires a newer version of the module.
I cannot update the module using terraform as its not in state, and it seems the only way to do this is to perform an import of the resource.

I would prefer not to do this but any ideas welcome on how to approach this one.

Ended up using managed user identity and linked it to the automation account with an arm template.
Created a run book to update the modules and ran that using azure cli.

Interesting excersice but way too complicated in my opinion.
It seems to work reliably though, and fine for a devops pipeline.