AWS Image Builder Image Pipeline

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

aws_imagebuilder_image_pipeline (Terraform)

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

Example Usage from GitHub
resource "aws_imagebuilder_image_pipeline" "example" {
  image_recipe_arn                 = aws_imagebuilder_image_recipe.py_recipe.arn
  infrastructure_configuration_arn = aws_imagebuilder_infrastructure_configuration.instance.arn
  distribution_configuration_arn   = aws_imagebuilder_distribution_configuration.dist_config.arn
  name                             = "Python-pipeline"
resource "aws_imagebuilder_image_pipeline" "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
  name                             = "examplea"

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).


Explanation in Terraform Registry

Manages an Image Builder Image Pipeline.

AWS::ImageBuilder::ImagePipeline (CloudFormation)

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

Example Usage from GitHub

An example could not be found in GitHub.


Explanation in CloudFormation Registry

An image pipeline is the automation configuration for building secure OS images on AWS. The Image Builder image pipeline is associated with an image recipe that defines the build, validation, and test phases for an image build lifecycle. An image pipeline can be associated with an infrastructure configuration that defines where your image is built. You can define attributes, such as instance type, subnets, security groups, logging, and other infrastructure-related configurations. You can also associate your image pipeline with a distribution configuration to define how you would like to deploy your image.

Frequently asked questions

What is AWS Image Builder Image Pipeline?

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

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