terraform-provider-restapi
terraform-cdk
terraform-provider-restapi | terraform-cdk | |
---|---|---|
5 | 104 | |
775 | 4,727 | |
1.0% | 0.6% | |
6.8 | 9.8 | |
16 days ago | 6 days ago | |
Go | TypeScript | |
GNU General Public License v3.0 or later | Mozilla Public License 2.0 |
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
-
Ask HN: Why is there no Terraform OpenAPI generator?
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
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?
There is also Mastercard/Rest provider which IMHO results in a bit more natural HCL2 syntax.
-
Terraform Is Not the Golden Hammer
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?
terraform-cdk
-
Learning Go by examples: part 12 - Deploy Go apps in Go with CDK for Terraform (CDKTF)
At first I tested it to deploy an OVHcloud Managed Kubernetes Service (MKS) with a Node Pool. And step by step, it worked. I even created a Pull Request (PR) in the terraform-cdk repository to add it as an example βΊοΈ.
-
AWS CDK For Noobs: Deploying NextJS Apps
I'll be trying more sample app deployments with CDK and maybe even explore CDK for Terraform.
-
Show HN: Winglang β a new Cloud-Oriented programming language
You can use CDK with other providers using https://github.com/hashicorp/terraform-cdk
In my experience, CDK is far better than Pulumi, especially if you're mostly going to be using AWS.
- Terraform CDK
-
Why is Kubernetes adoption so hard?
I, personally, prefer Crossplane Composite Functions on top of CDK8S, but had dropped CDKTF due to bloat. You can actually manage Kubernetes updates/upgrade lifecycle with Crossplane, as well.
- Cloud, Why So Difficult?
- What are some harsh truths that r/devops needs to hear?
-
Backend engineers that don't like JavaScript
I was going to recommend Pulumi, but looks like CDK for Terraform is still being kept up to date.
-
Should i migrate from Kustomize to Helm?
Avoid Pulumi, get directly to source and use https://github.com/hashicorp/terraform-cdk
- AWS IAM Roles, a tale of unnecessary complexity
What are some alternatives?
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.
Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages π
crossplane - The Cloud Native Control Plane
terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.
terraform-provider-openapi - OpenAPI Terraform Provider that configures itself at runtime with the resources exposed by the service provider (defined in a swagger file)
terraform-provider-minio - Terraform provider for the Minio object storage.
copilot-cli - The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
cdk8s - Define Kubernetes native apps and abstractions using object-oriented programming
aws-cdk-local - Thin wrapper script for using the AWS CDK CLI with LocalStack
terratest - Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.