Create a cookbook for tofu similar to this:
cookbook wmcs.whatever.tofu --branch main --plan
cookbook wmcs.whatever.tofu --branch main --apply
Where --branch main is optional (and the default).
This should run the given operation in both eqiad1/codfw1dev deployments.