Resource: aws_appstream_image_builder

Provides an AppStream image builder.

Example Usage

resource "aws_appstream_image_builder" "test_fleet" {
  name                           = "Name"
  description                    = "Description of a ImageBuilder"
  display_name                   = "Display name of a ImageBuilder"
  enable_default_internet_access = false
  image_name                     = "AppStream-WinServer2019-10-05-2022"
  instance_type                  = "stream.standard.large"

  vpc_config {
    subnet_ids = [aws_subnet.example.id]
  }

  tags = {
    Name = "Example Image Builder"
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

access_endpoint

The access_endpoint block supports the following arguments:

domain_join_info

The domain_join_info block supports the following arguments:

vpc_config

The vpc_config block supports the following arguments:

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_appstream_image_builder using the name. For example:

import {
  to = aws_appstream_image_builder.example
  id = "imageBuilderExample"
}

Using terraform import, import aws_appstream_image_builder using the name. For example:

% terraform import aws_appstream_image_builder.example imageBuilderExample