Media is too big
VIEW IN TELEGRAM
24. Adding Providers
Erik explains the providers enabled DevOps to work with multi-cloud and connect to other services within the same automation. The Terraform registry is similar to NPM and contains several providers from popular services. Project and Workspace modules are added to the main.tf file.
#lesson
Erik explains the providers enabled DevOps to work with multi-cloud and connect to other services within the same automation. The Terraform registry is similar to NPM and contains several providers from popular services. Project and Workspace modules are added to the main.tf file.
#lesson
Media is too big
VIEW IN TELEGRAM
25. Using the Terraform CLI
Erik uses the Terraform CLI to initialize the repo. The validate, plan, and apply commands are also introduced.
#lesson
Erik uses the Terraform CLI to initialize the repo. The validate, plan, and apply commands are also introduced.
#lesson
Media is too big
VIEW IN TELEGRAM
26. Migrating to Terraform Cloud
Erik migrates the state to Terraform Cloud and removes the local state from the repository. Doppler is used since the authentication keys are required to connect to Terraform Cloud.
#lesson
Erik migrates the state to Terraform Cloud and removes the local state from the repository. Doppler is used since the authentication keys are required to connect to Terraform Cloud.
#lesson
Media is too big
VIEW IN TELEGRAM
27. Locals
Erik explains how Terraform's dynamic configurations streamline the creation process of multiple workspaces and projects. Rather than copying and pasting configurations, locals are used to create variables for projects and workspaces.
#lesson
Erik explains how Terraform's dynamic configurations streamline the creation process of multiple workspaces and projects. Rather than copying and pasting configurations, locals are used to create variables for projects and workspaces.
#lesson
Media is too big
VIEW IN TELEGRAM
28. Iterating Through Locals
Erik uses a for loop to iterate over local variables to generate the dynamic configurations. Values are accessed through the "each" property. Accessing project-specific variables are also demonstrated in this lesson.
#lesson
Erik uses a for loop to iterate over local variables to generate the dynamic configurations. Values are accessed through the "each" property. Accessing project-specific variables are also demonstrated in this lesson.
#lesson
Media is too big
VIEW IN TELEGRAM
29. Moving Resources
Erik uses a moved meta-argument to prevent resource deletion during updates. Once the change has been planned and applied, the moved meta-argument can be deleted.
#lesson
Erik uses a moved meta-argument to prevent resource deletion during updates. Once the change has been planned and applied, the moved meta-argument can be deleted.
#lesson
Media is too big
VIEW IN TELEGRAM
30. Renaming the Workspace
Erik renames the workspace to clarify its purpose and uses the moved meta-argument to update Terraform. The separation and visualization of state are also discussed in this lesson.
#lesson
Erik renames the workspace to clarify its purpose and uses the moved meta-argument to update Terraform. The separation and visualization of state are also discussed in this lesson.
#lesson
Media is too big
VIEW IN TELEGRAM
31. Updating the TFE Repo
Erik commits the local changes in the fem-eci-terraform-tfe repository and pushes the changes up to GitHub.com.
#lesson
Erik commits the local changes in the fem-eci-terraform-tfe repository and pushes the changes up to GitHub.com.
#lesson
Media is too big
VIEW IN TELEGRAM
32. Configuring a Version Control Provider
Erik connects Terraform Cloud to a version control system (VCS) like GitHub. A variable representing the GitHub installation ID is added to a ata file so it can be added to the workspace.
#lesson
Erik connects Terraform Cloud to a version control system (VCS) like GitHub. A variable representing the GitHub installation ID is added to a ata file so it can be added to the workspace.
#lesson
Media is too big
VIEW IN TELEGRAM
33. Adding a VCS Repo Identifier
Erik validates the changes using Terraform. The repo is then planned and applied. Since Terraform Cloud will be automating the workflow, the execution mode is changed to "remote".
#lesson
Erik validates the changes using Terraform. The repo is then planned and applied. Since Terraform Cloud will be automating the workflow, the execution mode is changed to "remote".
#lesson
Media is too big
VIEW IN TELEGRAM
34. Creating a Variable Set
Erik finishes configuring the GitOps workflow. A variable set is created to store the TFE TOKEN so Terraform has access to run the automation. The Terraform UI is used to re-run the last operation.
#lesson
Erik finishes configuring the GitOps workflow. A variable set is created to store the TFE TOKEN so Terraform has access to run the automation. The Terraform UI is used to re-run the last operation.
#lesson
Media is too big
VIEW IN TELEGRAM
35. Creating a GitHub Automation Repo
Erik discusses the separation of automation workspaces for Terraform Cloud and GitHub in a GitOps workflow. A new GitHub repository is created to automate the creation of additional code repositories. Questions about using branches instead of repositories are also discussed in this lesson.
#lesson
Erik discusses the separation of automation workspaces for Terraform Cloud and GitHub in a GitOps workflow. A new GitHub repository is created to automate the creation of additional code repositories. Questions about using branches instead of repositories are also discussed in this lesson.
#lesson
Media is too big
VIEW IN TELEGRAM
36. Configuring a GitHub Workspace
Erik configures a Terraform automation for the GitHub workspace. Once the workspace is configured, it is committed and pushed to the TFE repo, and Terraform plans the automation. Once the plan is completed, the changes can be applied in Terraform Cloud.
#lesson
Erik configures a Terraform automation for the GitHub workspace. Once the workspace is configured, it is committed and pushed to the TFE repo, and Terraform plans the automation. Once the plan is completed, the changes can be applied in Terraform Cloud.
#lesson
Media is too big
VIEW IN TELEGRAM
37. Using the Repository Terraform Module
Erik uses the repository module to set up the GitHub workspace repository. To reduce redundancy, a repos property is added to the locals file, and the repository module will use a for each loop to create and manage each repository.
#lesson
Erik uses the repository module to set up the GitHub workspace repository. To reduce redundancy, a repos property is added to the locals file, and the repository module will use a for each loop to create and manage each repository.
#lesson
Media is too big
VIEW IN TELEGRAM
38. Adding Repository to Terraform Cloud
Erik creates a backend.tf file so the new repo can be added to Terraform Cloud. Terraform plan and apply commands are run for the configuration. Note: The repos will need to have public visibility if a GitHub Pro account is not being used.
#lesson
Erik creates a backend.tf file so the new repo can be added to Terraform Cloud. Terraform plan and apply commands are run for the configuration. Note: The repos will need to have public visibility if a GitHub Pro account is not being used.
#lesson
Media is too big
VIEW IN TELEGRAM
39. Committing and Pushing Updates
Erik completes the full automation and synchronization in Terraform. Environment variables are added in Terraform Cloud for the GitHub token and GitHub owner. This robust GitOps approach enhances the ability to manage and automate infrastructure effectively.
#lesson
Erik completes the full automation and synchronization in Terraform. Environment variables are added in Terraform Cloud for the GitHub token and GitHub owner. This robust GitOps approach enhances the ability to manage and automate infrastructure effectively.
#lesson
Media is too big
VIEW IN TELEGRAM
40. GitHub Automation Q&A
Erik responds to questions about deleting/archiving repositories and creating global variable sets for tokens.
#lesson
Erik responds to questions about deleting/archiving repositories and creating global variable sets for tokens.
#lesson
Media is too big
VIEW IN TELEGRAM
41. Creating AWS Automation Repos
Erik uses the GitHub automation repo to create AWS automation repos for networks and clusters. With branch protection enabled, the changes are added to a branch, and a PR is created. Merging the PR will apply the changes in Terraform Cloud.
#lesson
Erik uses the GitHub automation repo to create AWS automation repos for networks and clusters. With branch protection enabled, the changes are added to a branch, and a PR is created. Merging the PR will apply the changes in Terraform Cloud.
#lesson
Media is too big
VIEW IN TELEGRAM
42. Configuring an AWS Network
Erik configures an AWS network automation. The configuration code is copied from the example repo, and the options are discussed including subnet address space calculations and the organization of variables.
#lesson
Erik configures an AWS network automation. The configuration code is copied from the example repo, and the options are discussed including subnet address space calculations and the organization of variables.
#lesson
Media is too big
VIEW IN TELEGRAM
43. Configuring an AWS Cluster
Erik configures the AWS cluster automation and discusses features including domain, environment, instance type, market type, and VPC name. Templates offer structured naming conventions and add ease to automating what would be a complex process using the AWS UI.
#lesson
Erik configures the AWS cluster automation and discusses features including domain, environment, instance type, market type, and VPC name. Templates offer structured naming conventions and add ease to automating what would be a complex process using the AWS UI.
#lesson
Media is too big
VIEW IN TELEGRAM
44. Adding AWS Repos to Workspace
Erik adds the AWS repos to the Terraform Cloud workspaces. The changes cannot be applied yet because the AWS credentials are not added to the workspace.
#lesson
Erik adds the AWS repos to the Terraform Cloud workspaces. The changes cannot be applied yet because the AWS credentials are not added to the workspace.
#lesson