# Install tfplugingen-openapi with Homebrew

OpenAPI to Terraform Provider Code Generation Specification. Version 0.3.0 via Homebrew; verified 2026-07-26.

## Install

```sh
sudo av install brew:tfplugingen-openapi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tfplugingen-openapi
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:tfplugingen-openapi
- **Package manager:** Homebrew
- **Version:** 0.3.0
- **Source summary:** OpenAPI to Terraform Provider Code Generation Specification
- **Homepage:** <https://github.com/hashicorp/terraform-plugin-codegen-openapi>
- **Repository:** <https://github.com/hashicorp/terraform-plugin-codegen-openapi>
- **Last updated:** 2026-07-26T00:50:39+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- tfplugingen-openapi (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.3.0
## Project history and usage

tfplugingen-openapi is HashiCorp's OpenAPI Provider Spec Generator, a CLI that transforms OpenAPI 3.x specifications into Terraform Provider Code Specification files. It belongs to Terraform's provider code-generation toolchain rather than to ordinary Terraform runtime usage.

### Project history

The project was published under the HashiCorp organization as terraform-plugin-codegen-openapi. Its README describes the generator as part of Terraform Provider Code Generation and points to the HashiCorp Developer documentation for full usage, examples, and generator configuration.

HashiCorp documents the generator as a tech-preview code-generation component. The official design document explains how OpenAPI operations, schemas, request bodies, responses, and parameters map into Terraform provider resources, data sources, and schema attributes.

### Adoption history

Adoption is concentrated among Terraform provider authors experimenting with code generation from existing API descriptions. GitHub tags show 0.1.0 through 0.3.0 releases from October 2023 to January 2024, and Homebrew later packaged the tfplugingen-openapi binary for local installation.

### How it is used

The primary command is `tfplugingen-openapi generate`, usually run with a generator_config.yml file, an output path for provider_code_spec.json, and an OpenAPI specification file. The generated provider code specification can then feed the Terraform Plugin Framework code generator.

### Why package nerds care

For package-manager and Terraform-provider specialists, tfplugingen-openapi is significant because it turns API descriptions into provider scaffolding inputs. It packages a slice of HashiCorp's provider-authoring workflow as a standalone Homebrew-installable CLI.

### Timeline

- 2023: GitHub tags list v0.1.0 in October.
- 2024: GitHub tags list v0.3.0 in January.
- 2025: HashiCorp Developer page metadata lists the OpenAPI generator documentation publication/modification date as May 27.
- 2026: Homebrew formula metadata lists stable version 0.3.0 with bottled builds.

### Related projects

- Terraform Plugin Framework
- Terraform Provider Code Specification
- Terraform Plugin Framework Code Generator
- OpenAPI 3.x

### Sources

- <https://developer.hashicorp.com/terraform/plugin/code-generation/openapi-generator>
- <https://formulae.brew.sh/api/formula/tfplugingen-openapi.json>
- <https://github.com/hashicorp/terraform-plugin-codegen-openapi#readme>
- <https://github.com/hashicorp/terraform-plugin-codegen-openapi/blob/main/DESIGN.md>
- <https://github.com/hashicorp/terraform-plugin-codegen-openapi/tags>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./generator_config.yml

## Combined YAML source

View the package source record on GitHub. [combined/tfplugingen-openapi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tfplugingen-openapi.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
