Easy way to Increase CF Flyway Resource memory

Hi,
Hope you are doing well.
I am trying to increase the memory from 256MB =>1GB for Docker Hub
the problem is that in my pipeline there does not seem to be an easy way to overwrite the memory.
There isn’t a default configuration in the cf flyway resource for modifying the memory.
I could manually change it in Cloud Foundry once deployed but would rather if I could somehow configure it in a pipeline through a script or something.

It seems that I cannot overwrite the Cf Flyway manifest.

Any suggestions?