menu
arrow_back

Custom Providers with Terraform

Custom Providers with Terraform

1 ora 15 minuti 9 crediti

GSP208

Google Cloud Self-Paced Labs

Overview

In Terraform, a Provider is the logical abstraction of an upstream API. In this lab, you will learn how to build a custom provider for Terraform. Terraform supports a plugin model, and all providers are actually plugins. Plugins are distributed as Go binaries. Although technically possible to write a plugin in another language, almost all Terraform plugins are written in Go.

Objectives

In this lab, you will build a custom provider for Terraform by:

  • Building the plugin
  • Defining resources
  • Invoking the provider
  • Learning about error handling and partial state
  • Implementing the destroy and read functions

Prerequisites

For this lab, you should have experience with the following:

  • Familarity with Linux editor like nano, vi etc.

  • Familarity with Go programming language.

Crea un account Qwiklabs per leggere il resto del lab e tanto altro ancora.

  • Acquisisci accesso temporaneo a Google Cloud Console.
  • Oltre 200 lab dal livello iniziale a quelli più avanzati.
  • Corsi brevi per apprendere secondo i tuoi ritmi.
Crea un account per iniziare questo lab