Criticising other services is quite poor form already.
But then the criticism is a shallow dismissal by someone knowing nothing about Heroku, and with a minimal, odd example on top.
And the proposed alternative is running Terraform in a CI pipeline to set up AWS.
Yeah, that's not why people use Heroku...
I'm usually positive towards Gitlab, but if I were them I would make this post disappear as quickly as possible, it's that embarrassing.