Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codegen

OpenAPI schema to terraform provider boilerplate compiler(alpha)

About

This is a tool to convert OpenAPI schema into Golang to make Terraform Provider development easier.

Usage & Example

Usage: codegen --namespace <string> [--mode <string>] <JSONSchema path> <model>

terraform provider generator

Options and flags:
    --help
        Display this help text.
    --namespace <string>, -n <string>, -s <string>
        module namespace
    --mode <string>, -m <string>
        either datasource or resource

Example

./mill --ticker=false modules.codegen.run \
   sdk/piano/spec/json/publisher.json Term  \
   --namespace piano_publisher

About

Terraform Provider Code Generator

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages