Resource: aws_appstream_directory_config

Provides an AppStream Directory Config.

Example Usage

resource "aws_appstream_directory_config" "example" {
  directory_name                          = "NAME OF DIRECTORY"
  organizational_unit_distinguished_names = ["DISTINGUISHED NAME"]

  service_account_credentials {
    account_name     = "NAME OF ACCOUNT"
    account_password = "PASSWORD OF ACCOUNT"
  }
}

Argument Reference

The following arguments are required:

service_account_credentials

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_directory_config using the id. For example:

import {
  to = aws_appstream_directory_config.example
  id = "directoryNameExample"
}

Using terraform import, import aws_appstream_directory_config using the id. For example:

% terraform import aws_appstream_directory_config.example directoryNameExample