terraform VS terraform-provider-restapi

Compare terraform vs terraform-provider-restapi and see what are their differences.

terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. (by hashicorp)

terraform-provider-restapi

A terraform provider to manage objects in a RESTful API (by Mastercard)
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
terraform terraform-provider-restapi
564 5
45,478 860
0.4% 0.5%
9.9 7.4
15 days ago about 1 month ago
Go Go
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

terraform

Posts with mentions or reviews of terraform. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-06-25.

terraform-provider-restapi

Posts with mentions or reviews of terraform-provider-restapi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-14.
  • Ask HN: Why is there no Terraform OpenAPI generator?
    3 projects | news.ycombinator.com | 14 Oct 2022
    Hi folks,

    My company has an OpenAPI3 spec. We have a community supported Terraform provider that we are moving in-house soon.

    I was wondering why there is no easy way to generate a Terraform provider from an OpenAPI spec?

    There's no open issue in the generator project[0].

    Some googling turned up a couple of projects[1],[2], but they only support Swagger; OpenAPI is the successor to Swagger. There is some progress on supporting OpenAPI[3]. I also found this provider, which is a thin wrapper around REST calls[4].

    It's not discussed very much on the Terraform forum[5].

    Either I'm missing the need for this or underestimating the difficulty.

    0: https://github.com/OpenAPITools/openapi-generator/issues?q=is%3Aissue+is%3Aopen+terraform

    1: https://www.logicmonitor.com/blog/how-to-write-a-custom-terraform-provider-automatically-with-openapi

    2: https://github.com/dikhan/terraform-provider-openapi

    3: https://github.com/dikhan/terraform-provider-openapi/pull/320

    4: https://github.com/Mastercard/terraform-provider-restapi

    5: https://discuss.hashicorp.com/t/sdk-provider-development-anyone-ever-used-code-generation-or-other-tools-to-simplify-their-provider-development/20301/2

  • Terraform vs. AWS CloudFormation: The Ultimate Comparison
    2 projects | /r/programming | 21 Mar 2022
    Unless CloudFormation has some way to work with external systems? In my case I wasn't even using a built-in Terraform provider, but a REST API provider which calls our external service's API.
  • Make rest API calls with null_resource?
    1 project | /r/Terraform | 17 Jan 2022
    There is also Mastercard/Rest provider which IMHO results in a bit more natural HCL2 syntax.
  • Terraform Is Not the Golden Hammer
    5 projects | news.ycombinator.com | 19 Sep 2021
    I've used https://github.com/Mastercard/terraform-provider-restapi successfully with a cloud provider which provides a suitable HTTP API. There was a bit of fiddling with JSON formatting and their API docs, but it wasn't too hard all in all.

    But like you say - now I've done that, I want to do it for every UI that I'm forced to log in to!

  • How automate Fivetran configuration with CI/CD?
    1 project | /r/dataengineering | 6 May 2021

What are some alternatives?

When comparing terraform and terraform-provider-restapi you can also consider the following projects:

boto3 - AWS SDK for Python

terraform-provider-minio - Terraform provider for the Minio object storage.

Docker Compose - Define and run multi-container applications with Docker

terraform-provider-openapi - OpenAPI Terraform Provider that configures itself at runtime with the resources exposed by the service provider (defined in a swagger file)

sceptre - Build better AWS infrastructure

terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured