magic-modules VS terraform

Compare magic-modules vs terraform 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)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
magic-modules terraform
5 500
747 41,118
1.9% 1.1%
9.9 9.9
6 days ago 4 days ago
HTML Go
Apache License 2.0 GNU General Public License v3.0 or later
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.

magic-modules

Posts with mentions or reviews of magic-modules. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-25.
  • I think GCP is better than AWS – by Fernando Villalba
    6 projects | news.ycombinator.com | 25 Oct 2023
    Given: https://registry.terraform.io/providers/hashicorp/google/5.3...

    how would any reasonable person know what https://registry.terraform.io/providers/hashicorp/google/5.3... to enable without (a) trying it and squinting at the error message (b) clicking on the <> then realizing it, also, does not mention run.googleapis.com, click on "supported service endpoints" <https://cloud.google.com/run/docs/reference/rest#rest_endpoi...> and only then learning about https://cloud.google.com/run/docs/reference/rest#service:-ru...

    Repeat for https://registry.terraform.io/providers/hashicorp/google/5.3... although in both cases I guess the astute reader may have spotted the run.googleapis.com in the forbidden service labels and cloudidentity.googleapis.com in the example

    Since, to the best of my knowledge those bindings are auto generated <https://github.com/GoogleCloudPlatform/magic-modules#magic-m...>, I would hypothesize it is not insurmountable drop in the seemingly existing declaration of APIs required: https://github.com/GoogleCloudPlatform/magic-modules/blob/7d... https://github.com/GoogleCloudPlatform/magic-modules/blob/7d...

  • Terraform Plugin Framework Development: How to implement nested attributes?
    5 projects | /r/Terraform | 11 Apr 2022
    In the case of the Google Cloud Platform provider, folks at Google built magic modules with the explicit goal of being able to generate schemas and behaviors for a Terraform provider and for other systems with similar needs. Since the vendor was explicitly aiming to support Terraform, this was the most ideal case where the schema could be designed to contain all of the information needed to generate a functional, usable provider.
  • How to contribute/update to a Terraform provider?
    1 project | /r/Terraform | 11 Oct 2021
    I think the "Developing the provider" instructions in this provider's repository are rather stale, because they still talk about GOPATH even though that's been obsolete for several Go versions now. Note also that much of the code in that repository is auto-generated from an upstream repository googleCloudPlatform/magic-modules, and so for some changes it may be better to contribute there once you've tested the modifications more directly inside the provider repository.
  • Terraform 1.0 Release
    33 projects | news.ycombinator.com | 8 Jun 2021
    For GCP, both ansible modules and terraform modules are actually generated from https://github.com/GoogleCloudPlatform/magic-modules, so their "production readiness" are the same.

    I understand that mitchellh himself personally created a bunch of cloud modules for terraform at the beginning, and those were likely of higher quality than whatever created by some internal developers assigned by Google/Microsoft, and might be slightly better than the AWS modules maintained by community.

    Anyway, when it comes to ansible versus terraform, we shall move the discourse to states management instead. With ansible, you don't have to deal with states, but will need to clean up the cloud resources separately. With terraform, you can use the tool to clean up the cloud resources easily, but then you also have the headache of managing states. Plus, whenever you change something, there is always the nagging feeling that it will do a destroy/recreate instead of an in-place update.

  • Pulumi 3.0
    5 projects | news.ycombinator.com | 20 Apr 2021
    The Terraform provider for Google Cloud uses partial autogeneration, here is the repo that does the autogeneration for multiple automation tools:

    https://github.com/GoogleCloudPlatform/magic-modules

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 2024-04-11.
  • Why CISA Is Warning CISOs About a Breach at Sisense
    3 projects | news.ycombinator.com | 11 Apr 2024
    State Encryption was one of those long requested features[0] (I had it on my ideas list for years[1]) that Hashicorp didn't have much incentive to build. I don't think it has to with distancing opentofu as such, but the opentofu team prioritizing the right things that customers actually need.

    [0]: https://github.com/hashicorp/terraform/issues/9556

    [1]: https://github.com/captn3m0/ideas#-mars-terraform-remote-htt...

  • OpenTofu Response to HashiCorp's Cease and Desist Letter
    2 projects | news.ycombinator.com | 11 Apr 2024
    https://github.com/hashicorp/terraform/issues/34402

    I’m not a lawyer and have no idea who is right or wrong but I understand why Hashicorp is scrutinizing this.

  • The power of the CLI with Golang and Cobra CLI
    9 projects | dev.to | 6 Apr 2024
    Just to give an example of the power of Go for CLI builds, you may have already used or at least heard of Docker, Kubernetes, Prometheus, Terraform, but what do they all have in common? They all have a large part of their usability via CLI and are developed in Go 🐿.
  • I Deployed My Own Cute Lil’ Private Internet (a.k.a. VPC)
    8 projects | dev.to | 18 Mar 2024
    Each app’s front end is built with Qwik and uses Tailwind for styling. The server-side is powered by Qwik City (Qwik’s official meta-framework) and runs on Node.js hosted on a shared Linode VPS. The apps also use PM2 for process management and Caddy as a reverse proxy and SSL provisioner. The data is stored in a PostgreSQL database that also runs on a shared Linode VPS. The apps interact with the database using Drizzle, an Object-Relational Mapper (ORM) for JavaScript. The entire infrastructure for both apps is managed with Terraform using the Terraform Linode provider, which was new to me, but made provisioning and destroying infrastructure really fast and easy (once I learned how it all worked).
  • Configurar AWS Signer en lambda con terraform
    2 projects | dev.to | 18 Mar 2024
  • Cranelift code generation comes to Rust
    5 projects | news.ycombinator.com | 18 Mar 2024
  • The Essential Guide to Internal Developer Platforms
    3 projects | dev.to | 13 Mar 2024
    For example, integrating Terraform for infrastructure as code (IaC) into the IDP can streamline updates and rollbacks.
  • Experience Continuous Integration with Jenkins | Ansible | Artifactory | SonarQube | PHP
    8 projects | dev.to | 24 Feb 2024
    In this project, you will understand and get hands on experience around the entire concept around CI/CD from applications perspective. To fully gain real expertise around this idea, it is best to see it in action across different programming languages and from the platform perspective too. From the application perspective, we will be focusing on PHP here; there are more projects ahead that are based on Java, Node.js, .Net and Python. By the time you start working on Terraform, Docker and Kubernetes projects, you will get to see the platform perspective of CI/CD in action.
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    Infrastructure as Code (IaC) is an important part of any true hosting operation in the public cloud. Each of these platforms has their own IaC solution, e.g. AWS CloudFormation. But they also support popular open-source IaC tools like Pulumi or Terraform. A category of tools that also needs to be discussed is API gateways and other app-specific load balancers. There are applications for internal consumption, which can be called microservices if you have a lot of them. And often microservices use advanced networking options such as a service mesh instead of just the native private network offered by a VPC.
  • 🦊 GitLab CI: Deploy a Majestic Single Server Runner on AWS
    4 projects | dev.to | 17 Feb 2024
    To quickly deploy the architecture, we will be using Terraform. With Terraform, we can automate the deployment process and have our infrastructure up and running in minutes.

What are some alternatives?

When comparing magic-modules and terraform you can also consider the following projects:

terraform-ls - Terraform Language Server

terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

desktop-ansible - Ansible Playbooks to install Arch on my PC from scratch

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

tf2pulumi - A tool to convert Terraform projects to Pulumi

terraform-provider-restapi - A terraform provider to manage objects in a RESTful API

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

crossplane - The Cloud Native Control Plane

pulumi-provider-boilerplate - Boilerplate showing how to create a native Pulumi provider

boto3 - AWS SDK for Python

pulumi-terraform-bridge - A library allowing providers built with the Terraform Plugin SDK to be bridged into Pulumi.

nvim-lspconfig - Quickstart configs for Nvim LSP