Hands-on Lab
In this lab, you are going to build and deploy a CloudFormation template that deploys a single S3 bucket. You will learn how to use parameters and pseudo-parameters, as well as how to use conditions. Let’s dive in.
You will use the following YAML template as a starting point: AWSTemplateFormatVersion: ‘2010-09-09’
Description: 'A simple CloudFormation template to deploy an S3 bucket' Resources: S3Bucket: Type: AWS::S3::Bucket Properties: BucketName: what-is-a-name
You can now follow the given instructions:
- Open your text editor of choice. It is best to use an IDE such as Visual Studio Code when working with code as it comes with lots of tools to ensure your syntax and whitespace usage are correct. This helps you avoid issues during deployment.
- Either copy the preceding code or write it out into a new document, taking special...