Skip to content

golingon/terraproviders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terra Providers

This repository contains popular Terraform providers generated using Lingon's terragen.

The current providers were created manually. The plan is to add automation and do this on a regular interval.

Manually generate a provider

Requirements: go install github.com/golingon/lingon/cmd/terragen@latest

gen.sh aws hashicorp/aws 4.63.0

## Or step by step

export PROVIDER_NAME=aws
export PROVIDER_SOURCE=hashicorp/aws
export PROVIDER_VERSION=4.60.0
export PROVIDER=$PROVIDER_NAME=$PROVIDER_SOURCE:$PROVIDER_VERSION
export OUTDIR=$PROVIDER_NAME/$PROVIDER_VERSION
export OUTPKG=github.com/golingon/terraproviders/$PROVIDER_NAME/$PROVIDER_VERSION
terragen -out $OUTDIR -pkg $OUTPKG -provider $PROVIDER -force

cd $OUTDIR && go mod init $OUTPKG && go mod tidy && cd ../..

Generate all providers latest version

go generate -x ./...

Add new provider

echo "hashicorp/vault" >> providers.txt
go generate -x ./...

Releases

No releases published

Packages

No packages published

Languages