terraform-provider-restapi VS terraform-provider-openapi

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

terraform-provider-restapi

A terraform provider to manage objects in a RESTful API (by Mastercard)

terraform-provider-openapi

OpenAPI Terraform Provider that configures itself at runtime with the resources exposed by the service provider (defined in a swagger file) (by dikhan)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
terraform-provider-restapi terraform-provider-openapi
5 1
775 271
1.0% -
6.8 0.0
15 days ago 6 months 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-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

terraform-provider-openapi

Posts with mentions or reviews of terraform-provider-openapi. 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

What are some alternatives?

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

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.

Pomerium - Pomerium is an identity and context-aware reverse proxy for zero-trust access to web applications and services.

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

Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

crossplane - The Cloud Native Control Plane

kool - From local development to the cloud: web apps development with containers made easy.

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

Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.

openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

gaia - Build powerful pipelines in any programming language.

uTask - µTask is an automation engine that models and executes business processes declared in yaml. ✏️📋

Gogs - Gogs is a painless self-hosted Git service