| 123456789101112131415161718192021 |
- AWSTemplateFormatVersion: '2010-09-09'
- Description: Image Builder Recipe for a custom AMI with Nginx
- Resources:
- MyImageRecipe:
- Type: AWS::ImageBuilder::ImageRecipe
- Properties:
- Name: MyNginxRecipe
- Description: Recipe to build an AMI with Nginx installed
- Components:
- - ComponentArn: arn:aws:imagebuilder:us-east-1:aws:component/amazon-linux-2-nginx-install/x.x.x # Replace x.x.x with a valid version
- - ComponentArn: arn:aws:imagebuilder:us-east-1:aws:component/amazon-linux-2-nginx-configure/x.x.x # Replace x.x.x with a valid version
- ParentImage: arn:aws:imagebuilder:us-east-1:aws:image/amazon-linux-2-x86/x.x.x # Replace x.x.x with a valid version
- BlockDeviceMappings:
- - DeviceName: /dev/xvda
- Ebs:
- VolumeSize: 30
- VolumeType: gp2
- DeleteOnTermination: true
- Tags:
- Project: MyCustomAMI
- Application: NginxWebServer
|