Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 670 Bytes

File metadata and controls

23 lines (14 loc) · 670 Bytes

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 :)