JSON and YAML auto-code generation for AWS CloudFormation using Amazon Q Developer
Similar to the previous chapter, let’s assume that a new IaC developer plans to work with JSON and YAML coding to build infrastructure on the AWS cloud using AWS CloudFormation but lacks background knowledge about this service. We will use Amazon Q Developer’s chat-style interface to educate IaC developers. They can simply ask questions in natural language to learn about AWS CloudFormation and its support for JSON and YAML.
AWS CloudFormation basics
Let’s first learn about AWS CloudFormation:
Q: What is AWS CloudFormation and what is it use for?
Figure 9.1 – Prompt – IaC AWS CloudFormation basic
Amazon Q Developer provided an overview of the AWS CloudFormation service: “AWS CloudFormation is a service provided by Amazon Web Services (AWS) that allows you to model and provision a collection of related AWS and third-party resources...