[terraform] bump staging identity to 0.31-staging
Summary: 0.31-staging contains the increased aws ddb client connect timeout
Test Plan: terraform plan
Reviewers: ashoat, will, bartek
Reviewed By: will
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D12798