Terraform Registry and Cloud Foundation Toolkit
1. Terraform Registry and Cloud Foundation Toolkit
There are a couple resources available to help you write infrastructure code for Google Cloud. The Terraform Registry is an interactive resource for discovering a wide selection of integrations and configuration packages, otherwise known as providers and modules. The Registry includes solutions developed by HashiCorp, third-party vendors, and the Terraform community. The Registry provides plugins to manage any infrastructure API, pre-made modules to quickly configure common infrastructure components, and examples of how to write quality Terraform code. In addition, the Cloud Foundation Toolkit – also known as CFT – is available for you to use. CFT provides a series of reference modules for Terraform that reflect Google Cloud best practices. These modules can be used to quickly build a repeatable foundation in Google Cloud. CFT modules are also referred to as Terraform blueprints. We also have Cloud Foundation Fabric (CFF), a collection of Terraform modules and end to end examples meant to be cloned as a single unit and used for fast prototyping or decomposed and modified for usage in organizations. The repository on github provides end to end blueprints, and a suite of Terraform modules for Google Cloud, which support different use cases. For more information on the Cloud Foundation Toolkit, Terraform blueprints, and Cloud Foundation Fabric, links have been added to the student PDF in the Course Resources. With the Terraform Registry you can surface modules for all providers, such as Google, AWS, and so forth. CFT is a collection of Google Cloud Terraform modules built and maintained by Googlers. These modules are published to the Terraform Registry. CFT modules let you maintain the IAM roles for multiple projects within the same module, as opposed to updating roles for each project individually. This example shows a standard Terraform IAM binding. The binding is used to: Assign the network user, network group, and network admin role on project-one and project-two. And assign the App Engine user, App Engine group, and the App Engine admin role on project-one and project-two. The equivalent CFT module defines the role and user bindings for multiple projects within the same module. Infrastructure Manager, or Infra Manager, is a managed service that automates the deployment and management of Google Cloud infrastructure resources. Infrastructure is defined using Terraform and deployed onto Google Cloud by Infra Manager, enabling you to manage resources using Infrastructure as Code. Infra Manager does not manage the deployment of applications onto your resources. To manage application deployment, you can use Google Cloud products like Cloud Build and Cloud Deploy. You can also use third-party tools or your own toolchain. For more information, refer to the Infrastructure Manager documentation.2. Let's practice!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.