/copilot-challenge-devops-terraform

Hands-on workshop for DevOps engineers familiar with Azure, GitHub Actions and Terraform, looking to learn how to use GitHub Copilot in Visual Studio Code

Primary LanguageC#MIT LicenseMIT

GitHub Copilot Workshop for DevOps Engineers

In this fun workshop, you will learn how to use GitHub Copilot to help you work with Terraform files.

Estimated time to complete: Approximately 120 minutes

Participants will be guided to install the GitHub Copilot VS Code extension, follow a CodeTour to learn how to interact with GitHub Copilot, and then use GitHub Copilot to update, document and create Terraform files.

Instructions

The workshop is divided into the following sections:

Step Description
Setup Instructions for installing the GitHub Copilot VS Code extension and joining the GitHub Copilot trial.
Core Exercises Instructions for getting started with GitHub Copilot.
Terraform Challenge Terraform challenge exercises for participants to complete.
Github Actions Challenge GitHub Actions challenge exercises for participants to complete.
Additional Resources Additional resources for participants to explore after the workshop.

Project Structure

In this project you will find:

  • a variables.tf file we'll use to influence Copilot's suggestions
  • a main.tf file that contains a Terraform module that creates a resource group in Azure
  • a devcontainer that installs CodeTour and GitHub Copilot when the Codespace is created (If you want to use Codespaces)
  • a .instructions folder all the instructions for this workshop.
  • an assets folder containing images used in this workshop documentation.
  • a sample_dotnet_app folder that contains a sample .NET application that can be used in the workshop.
  • a .tours folder that includes the CodeTour file if you wish to use it.

FAQ

  • How do I get a GitHub Copilot license?
    • You can request a trial license from your GitHub Sales representative or via Copilot for Individuals or Business licenses.
  • How do I get a GitHub Codespaces license?
    • Codespaces is included with GitHub Enterprise Cloud, GitHub Enterprise Server, and GitHub Free. You can check under your billing settings page.
  • I am having trouble activating GitHub Copilot after I load the plugin, what should I do?
    • This could be because you launched your Codespace before you activated GitHub Copilot or accepted the invitation to the trial org. Please try to reload your Codespace and try again.