This repository contains the code for the Terraform provider workshop. In this workshop, you will implement a Terraform provider plugin for the dataminded API. The API exposes three resources: users, chapters, and chapter members.
The steps you need to complete are:
- Set up your local environment: make changes in
.terraformrcas described in the documentation. - Create a new shell, and start the API:
make api. - Complete the provider implementation for the
chapterresource. Have a look at theuserresource for inspiration. - Complete the provider implementation for the
chapter_memberresource. - (Optional) complete the provider implementation for the provider-defined function
parse_chapter_config.
For each of the resources that you have to complete, a separate README.md is provided with more detailed instructions in the internal/services folder.
You can test your implementation on the infrastructure defined in main.tf.