Resource: aws_storagegateway_tape_pool

Manages an AWS Storage Gateway Tape Pool.

Example Usage

resource "aws_storagegateway_tape_pool" "example" {
  pool_name     = "example"
  storage_class = "GLACIER"
}

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_storagegateway_tape_pool using the volume Amazon Resource Name (ARN). For example:

import {
  to = aws_storagegateway_tape_pool.example
  id = "arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678"
}

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

% terraform import aws_storagegateway_tape_pool.example arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678