We have our ECS fargate application tied to mongo database.now if we have to go for blue green deployment strategy we have to create a new cluster in the ECS. And all the task in clusters are connected to mongo db using mongo db Url which is added as environment variable for the task definitions in ecs. So now when I bring up the green cluster ideally it will be pointing to the same live DB cluster which is serving prod traffic.. now if we do any test in green cluster of Ecs ultimately it will update the live DB CLUSTER.
Any solution for this ?