- Create a new CloudFormation template file. We'll start by populating it with Parameters that correspond to all the requirements we mentioned before:
AWSTemplateFormatVersion: '2010-09-09' Parameters: FullyQualifiedName: Description: The fully qualified name for the directory (e.g. megacorp.com) Type: String AllowedPattern: '^([a-zA-Z0-9]+[\\.-])+([a-zA-Z0-9])+$' Password: Description: The password for the directory Administrator Type: String NoEcho: true VpcId: Description: The ID of the VPC to deploy to Type: AWS::EC2::VPC::Id SubnetIds: Description: Subnets where the directory will be deployed to (pick at least 2) Type: List<AWS::EC2::Subnet::Id> DirectorySize: Description: The size of the directory to ...