Aurélie Vache & Horacio González – Let's dive into Terraform provider creation

Create your own Terraform provider, managing infrastructure as code from start to finish.

Key takeaways
  • Terraform is a tool for infrastructure as code, allowing you to manage infrastructure declaratively and version control your configuration.
  • Creating a Terraform provider is the next step, as it allows users to interact with their infrastructure.
  • To create a provider, you need to install the Terraform plugin SDK and start building your provider.
  • The provider should be a simple reflection of your API and respect the crude paradigm.
  • Practice is key to writing a provider, as it is complex but not difficult.
  • Write a provider that is opinionated and follows the Terraform provider template.
  • A publicly available API is a good starting point for creating a provider.
  • Consider adding documentation and examples to your provider, especially for your customers.
  • Use the Terraform registry to publish your provider and make it available to others.
  • Understand the concept of resources and data sources in Terraform.
  • Learn how to write Terraform modules and use them to manage infrastructure.
  • Be familiar with the Terraform ecosystem and its tools, such as Terraform Local.