Summary

Completed

Your organization needed a faster, more consistent way to author and maintain Infrastructure as Code templates and operational scripts. You wanted to reduce the time spent looking up documentation, eliminate common security mistakes, and make IaC accessible to engineers who aren't Bicep specialists.

In this module, you learned how GitHub Copilot changes the IaC authoring workflow. You explored the difference between declarative and imperative approaches to infrastructure, and saw how Copilot shortens every step of the IaC inner loop. From generating resource definitions and reviewing security configurations, to transforming templates and generating documentation.

You applied prompt engineering techniques to generate Bicep templates using zero-shot, few-shot, and role-based prompting. You practiced iterative refinement. Building a template in layers, validating each increment before adding the next. You learned the most common prompting mistakes that lead to insecure or incomplete output.

You also used GitHub Copilot to generate Azure CLI and Azure PowerShell scripts with idempotency checks, error handling, and parameter validation. You applied the translation pattern to convert scripts between tools.

Learn more