AWS Image Builder Image

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

aws_imagebuilder_image (Terraform)

The Image in Image Builder can be configured in Terraform with the resource name aws_imagebuilder_image. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

resource "aws_imagebuilder_image" "example" {
  distribution_configuration_arn   = aws_imagebuilder_distribution_configuration.dist_config.arn
  image_recipe_arn                 = aws_imagebuilder_image_recipe.py_recipe.arn
  infrastructure_configuration_arn = aws_imagebuilder_infrastructure_configuration.instance.arn

resource "aws_imagebuilder_image" "examplea" {
  distribution_configuration_arn   = aws_imagebuilder_distribution_configuration.examplea.arn
  image_recipe_arn                 = aws_imagebuilder_image_recipe.examplea.arn
  infrastructure_configuration_arn = aws_imagebuilder_infrastructure_configuration.examplea.arn
  tags                             = var.common_tags


Explanation in Terraform Registry

Manages an Image Builder Image.

AWS::ImageBuilder::Image (CloudFormation)

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


Explanation in CloudFormation Registry

An image build version. An image is a customized, secure, and up-to-date “golden” server image that is pre-installed and pre-configured with software and settings to meet specific IT standards.

Frequently asked questions

What is AWS Image Builder Image?

AWS Image Builder Image 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?

For Terraform, the KonovalovAlexey/terraform-modules and JamesWoolfenden/terraform-aws-imagebuilder source code examples are useful. See the Terraform Example section for further details.