This was done simultaneously with the formation of the AUKUS. The agreement covers key areas such as artificial intelligence, cyber warfare, underwater capabilities, and long-range strike capabilities. It also includes a nuclear component, possibly limited to the United States and the United Kingdom, on nuclear defense infrastructure.The agreement will focus on military capability, separating it from the Five Eyes intelligence-sharing alliance that also includes New Zealand and Canada.
The French subs were to be conventional, the American ones nuclear. In addition the French deal was plagued by delays and cost overruns.
The Chicoms are not happy which makes me happy:
https://www.bbc.com/news/world-58564837China's foreign affairs department spokesman Zhao Lijian said, "The US, UK and Australia are engaging in cooperation in nuclear-powered submarines that gravely undermines regional peace and stability, aggravates the arms race and hurts the international non-proliferation efforts".