In a real-world setting, development and production environments are configurations that are logically separated in order to detect and address potential threats throughout the delivery process. Although these environments are separate, it's common for them to mirror one another. With this mirroring of configurations, developers tend to copy and paste majority of the environment configurations. This process is time consuming, and when done manually, they can be prone to error.
Terraform provides the ability to import remote module definitions in order to cut down on the process of duplicating similar environments. Terragrunt can be used on top of this functionality to configure the differing values of each environment from a single file in the project directory.
In this lab, you will learn how to use Terragrunt environment variables to simplify the deployment process to separate Google Cloud Platform (GCP) environments.
Upon completion of this lab, you will be able to:
Familiarity with the following will be beneficial but is not required:
The following content can be used to fulfill the prerequisite:
June 9th, 2023 - Updated instance image
April 28th, 2023 - Updated theia to include autosave
Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications.
Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content.