Creates an AWS AppStream fleet with specified properties such as instance type, image name, and VPC configuration.

Terraform Template

resource "aws_appstream_fleet" "test_fleet" {

  compute_capacity {
    desired_instances = 1
  }
  description = "test fleet"
  display_name = "test-fleet"
  enable_default_internet_access = false
  fleet_type = "ON_DEMAND"
  idle_disconnect_timeout_in_seconds = 60
  image_name = "Amazon-AppStream2-Sample-Image-03-11-2023"
  instance_type = "stream.standard.large"
  max_user_duration_in_seconds = 600
  name = "test-fleet"

  tags = {
    TagName = "tag-value"
  }

  vpc_config {
    subnet_ids = ["subnet-06e9b13400c225127"]
  }
}