Resource: aws_imagebuilder_image_pipeline

Manages an Image Builder Image Pipeline.

Example Usage

resource "aws_imagebuilder_image_pipeline" "example" {
  image_recipe_arn                 = aws_imagebuilder_image_recipe.example.arn
  infrastructure_configuration_arn = aws_imagebuilder_infrastructure_configuration.example.arn
  name                             = "example"

  schedule {
    schedule_expression = "cron(0 0 * * ? *)"
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

image_scanning_configuration

The following arguments are optional:

ecr_configuration

The following arguments are optional:

image_tests_configuration

The following arguments are optional:

schedule

The following arguments are required:

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import aws_imagebuilder_image_pipeline resources using the Amazon Resource Name (ARN). For example:

import {
  to = aws_imagebuilder_image_pipeline.example
  id = "arn:aws:imagebuilder:us-east-1:123456789012:image-pipeline/example"
}

Using terraform import, import aws_imagebuilder_image_pipeline resources using the Amazon Resource Name (ARN). For example:

% terraform import aws_imagebuilder_image_pipeline.example arn:aws:imagebuilder:us-east-1:123456789012:image-pipeline/example