Skip to content

Sample example for creating a simple custom provider for terraform

Notifications You must be signed in to change notification settings

Japeth/terraform-provider-sampleclassis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-provider-sampleclassis

This project is providing the code for talks and a blog post on custom providers.

Building with drone as long as you have the cli

drone exec --repo-name terraform-provider-sampleclassis

##Dockerfile for including the pluging

Once the binaries are built simply run

docker build -t josmo/terraform-sampleclassis .
docker run -i -t -v $(pwd):/app/ -w /app/ josmo/terraform-sampleclassis init -plugin-dir=/usr/local/terraform-plugins 
docker run -i -t -v $(pwd):/app/ -w /app/ josmo/terraform-sampleclassis plan

This should create a docker image that includes your custom plugin for other folks to use :)

About

Sample example for creating a simple custom provider for terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.3%
  • HCL 4.8%
  • Dockerfile 0.9%