Resource: aws_datasync_location_fsx_lustre_file_system

Manages an AWS DataSync FSx Lustre Location.

Example Usage

resource "aws_datasync_location_fsx_lustre_file_system" "example" {
  fsx_filesystem_arn  = aws_fsx_lustre_file_system.example.arn
  security_group_arns = [aws_security_group.example.arn]
}

Argument Reference

This resource 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_datasync_location_fsx_lustre_file_system using the DataSync-ARN#FSx-Lustre-ARN. For example:

import {
  to = aws_datasync_location_fsx_lustre_file_system.example
  id = "arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:476956259333:file-system/fs-08e04cd442c1bb94a"
}

Using terraform import, import aws_datasync_location_fsx_lustre_file_system using the DataSync-ARN#FSx-Lustre-ARN. For example:

% terraform import aws_datasync_location_fsx_lustre_file_system.example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:476956259333:file-system/fs-08e04cd442c1bb94a