Practical lab
We’ll now use this lab to implement everything we have learned.
Problem 1
Create a repo and use Terraform to create a new cluster.
We now use the gh
CLI to create the repository in GitHub:
gh repo create ? What would you like to do? Create a new repository on GitHub from scratch ? Repository name chapter_8_infra ? Description used for infrascture ? Visibility Public ? Would you like to add a README file? Yes ? Would you like to add a .gitignore? Yes ? Choose a .gitignore template Python ? Would you like to add a license? Yes ? Choose a license GNU Affero General Public License v3.0 ? This will create "chapter_8_infra" as a public repository on GitHub. Continue? Yes ✓ Created repository bclipp/chapter_8_infra on GitHub ? Clone the new repository locally? Yes
Next, we create an organization, workspace, and project with Terraform Cloud:
Figure 8.11: Creating an organization
Figure...