liveBook · Manning

Terraform provider

As explained in Google Anthos in Action

A Terraform provider is a plugin that maps Terraform resources and operations to an external platform's provisioning API.

A Terraform provider is a plugin that maps Terraform’s declarative infrastructure code to an external platform’s provisioning API. In GKE on AWS, the Terraform AWS provider instantiates the AWS infrastructure required by the platform. section 5.2.2

The provider participates in the infrastructure workflow by:

  • Representing a target state for a computing environment through declarative Terraform code. section 5.2.2
  • Mapping Terraform resources and operations to cloud provisioning APIs. section 5.2.2
  • Creating components such as load balancers and EC2 virtual machines on AWS. section 5.2.2
  • Supporting anthos-gke workflows that generate Terraform code for installation. section 5.2.2

GKE on AWS installation

A Terraform-based GKE on AWS installation uses the Terraform AWS provider to describe and instantiate AWS infrastructure, simplifying deployment and removing the need for a bastion host and management server in the referenced sample configuration. section 5.2.2

Figure 5.12 GKE on AWS architecture
05-12

Use the architecture diagram to connect the Terraform-managed AWS components with the broader GKE on AWS deployment. section 5.2.2

How Google Anthos in Action covers it

How deep it goes
Defines providers and demonstrates their AWS role, but stops short of provider implementation internals.
Examples
Uses the Terraform AWS provider to create GKE on AWS components and generate deployment configuration.
What it assumes
Assumes Terraform and cloud-provisioning context while defining providers as the mapping layer between code and platform APIs.
What you can do after
Operate/configure AWS infrastructure declaratively through Terraform-driven GKE on AWS installation workflows.
How it connects
Connects Terraform providers with Infrastructure as Code, declarative target state, cloud provisioning APIs, GKE on AWS, and EC2 virtual machines.

Also explained in

Compare how 4 books explain Terraform provider →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Google Anthos in Action. The section links point to the parts of the book it draws on.