According to Google, at the moment, from public records, the government is currently committed to around $2bn in spend under AUKUS. Of course, this is from what information is available publicly. But, these contracts will have escape clauses just like that of the French - especially since the US and the UK are under no obligation to deliver anything..
So, yes, it is likely we will lose some as we did with cancelling the French contract.. some $3.5bn in the end.. But even if we are on the hooks for say $10bn, it is still < 3% of the total budget of the program, so I would be happy t cut that cheque to be rid of it. And yes, I still pay tax in Australia..
The last guy setting it up excuses the cost of abandoning it; it doesn't excuse the continual accrual of a white elephant of a project to Australia committing that much money to it.
Remember c. $5bn is allocated to uplift US shipbuilding capacity