aws-cloudformation

In AWS cloudformation, what is the difference between a custom resource and a resource provider?


As per my understanding:

I can't see why anyone would use the former over the latter. Resource providers seem easier to write and test.


Solution

  • One historical reason is that custom resources were the only option until recently:

    CloudFormation Release History

    Nov 2019 Resource Provider announcement