From the WSJ article:
"Among those incentives is a $35 per kilowatt-hour credit for U.S.-made battery cells. The law also affords $10 per kilowatt-hour for domestically produced modules, or collections of cells, and additional assistance for companies making raw and intermediate battery materials in the U.S."
This is a no-brainer decision for Tesla.