AWS Image Builder Image Recipe

This page shows how to write Terraform and CloudFormation for Image Builder Image Recipe and write them securely.

aws_imagebuilder_image_recipe (Terraform)

The Image Recipe in Image Builder can be configured in Terraform with the resource name aws_imagebuilder_image_recipe. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

recipe.tf#L5
resource "aws_imagebuilder_image_recipe" "py_recipe" {
//  block_device_mapping {
//    device_name = "/dev/sda/"
//
//    ebs {
//      delete_on_termination = true

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Manages an Image Builder Image Recipe.

AWS::ImageBuilder::ImageRecipe (CloudFormation)

The ImageRecipe in ImageBuilder can be configured in CloudFormation with the resource name AWS::ImageBuilder::ImageRecipe. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

Explanation in CloudFormation Registry

An Image Builder image recipe is a document that defines the source image and the components to be applied to the source image to produce the desired configuration for the output image. You can use an image recipe to duplicate builds. Image Builder image recipes can be shared, branched, and edited using the console wizard, the AWS CLI, or the API. You can use image recipes with your version control software to maintain shareable versioned image recipes.

Frequently asked questions

What is AWS Image Builder Image Recipe?

AWS Image Builder Image Recipe is a resource for Image Builder of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Image Builder Image Recipe?

For Terraform, the KonovalovAlexey/terraform-modules source code example is useful. See the Terraform Example section for further details.