How can I add service accounts to the Local Administrators group for Multiple Environments

Hi Guys,

Currently I can add using this -

group "Administrators" do
members 'xxxxx'
append true
action :create
end

Can someone help me how can I do it with Multiple Environments like diff members for Int, Prod and all ?