CloudFormation
Core Concepts
Best Practices
# Example Stack Template Resources: MyVPC: Type: AWS::EC2::VPC Properties: CidrBlock: !Ref VPCCidrBlock EnableDnsHostnames: true Tags: - Key: Environment Value: !Ref EnvironmentAWSTemplateFormatVersion: '2010-09-09' Resources: # At least one resource requiredDescription: 'Stack description' Parameters: EnvironmentType: Type: String AllowedValues: [dev, prod] Mappings: RegionMap: us-east-1: AMI: ami-12345678 Outputs: VPCId: Description: 'VPC ID' Value: !Ref MyVPC Transform: - AWS::Serverless-2016-10-31
Key Benefits
Template Development
Last updated