Set up of separate DB for env
Create a new cluster. Warning: MO tier due to triggers limitations allows you to create only up to 10 triggers.
Link a new Data Source for Triggers. Go to
https://services.cloud.mongodb.com/groups/<project_id>/apps/<app_id>/dataSources. Click "Link new Data Source" button and create a new Data Source.Connect to VPS. Open
messaging.tf(if it doesn't exist, copy it from other environments). Check configuration and updateservice_idproperty with value of a newly created Linked Data Source from previous step (you can get itsidfrom page url).Plan and Apply
messagingmodule. Check out this section. It should set up new triggers and queues.Set up user policies for new queues by planning and applying
awsmodule (if it does not exist, copy it from other envs) - check out this sectionUpdate K8s Secret
adb-secretwith newmongoDbUriand new queue links.Do
kubectl rollout restart deployment <deployment-id> -n <namespace>for deployments to create new pods with updated configs.